Using Spring-OSGi in Swing applications

OSGi is a mature and powerful dynamic module system for Java which recently has gained a lot of interest in the Java community.

OSGi offers real modularization within a Java Virtual Machine, including dynamic updates of modules (or “bundles” in OSGi jargon), as well as a service oriented API for communication between the modules. A well known example of a rich client application based on OSGi is the Eclipse IDE.

The Spring-OSGi project aims to make it easy to build Spring applications that run in an OSGi framework. Spring-OSGi achieves this by letting services, used for inter-bundle communication, be exported and referenced with methods familiar to Spring developers.

This talk gives a brief introduction to OSGi and then continues on to show how Spring-OSGi may be used in order to modularize a rich client application written in Swing. The talk will include lessons learned from OSGi development, and solutions to problems typically encountered.

The presentation will also show some practical steps you will need to go through in order to start using Spring-OSGi.



Presentasjon

PDF
Foredragsholder Nils Hofseth Andersen
Nivå
Outline: 

 - Introduction to OSGi and Spring-OSGi (10 minutes)

 - Modularizing a Swing application using Spring-OSGi (30 minutes)

 - Lessons learned (10 minutes)

 - Q & A (10 minutes) 

Required Experience: 

Knowledge of J2SE, class loaders, Swing, the Spring container 

Expected Audience:

Anyone considering OSGi as a platform for rich client development. Attendees will learn what OSGi is and how it may be applied in such a scenario.