Subscribe to Newsletter

Print

OSGi with dm Server Training Course


(This course is offered only on-demand to a private batch and can be customized as per the business requirements)

Overview

This two-day course provides a comprehensive overview of OSGi and the techniques and tools you need to build applications for the dm Server. The course contains many practical exercises that will give you immediate hands-on experience in developing dm Server applications and will teach you to avoid many common pitfalls and use best practices in your own projects.

Objectives

At the end of OSGi with dm Server training course, the participants will be able to:

  • Understand the basics of OSGi and the Spring Dynamic Modules framework
  • Start using basic operational aspects of the dm Server
  • Design and implement dynamic, modular applications that make use of the unique features offered by the dm Server
  • Utilize Web support in the dm Server
  • Use support for packaging your applications as PAR files for easy deployment
  • Implement enterprise techniques that are traditionally hard or impossible to use in an OSGi environment

Suggested Audience - This course is designed for developers interested in developing applications with Spring framework.

Duration - 2 Days [16 Hours]

Prerequisites - Experience with developing applications using Java and understanding of JEE concepts.

Syllabus

Day 1: Introduction to OSGi, Spring-DM and dm Server
  • Introduction to OSGi
  • Developing a bundle with Eclipse's PDE
  • OSGi architecture: lifecycle, classloading and visibility
  • Introduction to Spring Dynamic Modules
  • Spring-DM's model of a Spring ApplicationContext per bundle
  • Exposing and consuming OSGi services using Spring-DM
  • Introduction to the dm Server
  • Stopping and starting the server, reading log and trace files
  • Deploying applications and the deployment pipeline
  • The provisioning repository
Day 2: Programming for the dm Server
  • Developing bundles for the dm Server
    • dm Server's additional Import headers
    • Using the dm Server Eclipse Tooling
    • Logging and tracing
    • Working with DataSources
  • The web support in dm Server
    • shared libraries WAR files
    • shared services WAR files
    • Web Modules
  • The PAR format for defining multi-bundle applications
    • scoped visibility of types and services
    • Load-time weaving and Import-Scope
  • Best practices for designing and implementing dm Server applications
    • Modularizing your application
    • Applying versioning
    • Build and dependency management
    • Operational aspects
  • A roadmap for upcoming dm Server releases: what to expect from future developments