Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
What’s Up with 
Modularity ?!
Paul Bakker 
@pbakker
Observations 
! 
Extremely agile 
(first mover advantage) 
! 
Architecture (and code base) 
should be able to cope with ch...
Modularity 
is the answer
What we lear ned about OO design in university : 
Prevent 
(tight) 
coupling 
Promote 
cohesion 
cohesion 
coupling
Modules Service Lookups
What do we need 
design 
consequences 
High-level 
enterprise APIs 
Architectural 
focus on 
modularity 
Runtime 
dynamic ...
Stop talking… 
and show me code!
Demo
Rooms 
Resource 
AngularJS 
Client 
Rooms Service 
RabbitMQ 
RabbitMQ 
Service 
STOMP 
WhatsUp 
Architecture 
AMQP 
Chat L...
Rooms 
Resource 
AngularJS 
Client 
Rooms Service 
RabbitMQ 
RabbitMQ 
Service 
STOMP 
$$$$$$$$ 
AMQP 
Word Counter 
Chat ...
What about 
deployment?
Provisioning Server
Demo
Wrap up
Shameless self-promotion... 
Our book 
! 
Available NOW! 
! 
Book signing Tue 1.30 pm 
@ O’Reilly Booth (JavaOne Pavilion)...
Takk Grazie 
Thank 
you 
Obrigado 
Mahalo 
Danke Dank U Merci 
Gracias
JDD2014: Introduction to OSGi - Paul Bakker
Upcoming SlideShare
Loading in …5
×

JDD2014: Introduction to OSGi - Paul Bakker

482 views

Published on

OSGi has a name of being hard to use and complex. With today’s tools and frameworks this is far from true! In this presentation you will see an OSGi application being built from scratch and learn about package imports and exports, dynamic services, dependency injection and integration with JAX-RS and MongoDB. This talk is both for developers new to OSGi that want to learn the OSGi basics, and for developers with some OSGi experience looking to optimize their workflow.

Published in: Software
  • Be the first to comment

  • Be the first to like this

JDD2014: Introduction to OSGi - Paul Bakker

  1. 1. What’s Up with Modularity ?!
  2. 2. Paul Bakker @pbakker
  3. 3. Observations ! Extremely agile (first mover advantage) ! Architecture (and code base) should be able to cope with change Trend ! Applications tend to grow bigger and more complex ! Agile development and refactoring have become more common
  4. 4. Modularity is the answer
  5. 5. What we lear ned about OO design in university : Prevent (tight) coupling Promote cohesion cohesion coupling
  6. 6. Modules Service Lookups
  7. 7. What do we need design consequences High-level enterprise APIs Architectural focus on modularity Runtime dynamic module framework Right now, OSGi is the only option let’s not reinvent the wheel for modularity?
  8. 8. Stop talking… and show me code!
  9. 9. Demo
  10. 10. Rooms Resource AngularJS Client Rooms Service RabbitMQ RabbitMQ Service STOMP WhatsUp Architecture AMQP Chat Log JPA SQL database REST
  11. 11. Rooms Resource AngularJS Client Rooms Service RabbitMQ RabbitMQ Service STOMP $$$$$$$$ AMQP Word Counter Chat Log JPA SQL database REST Yeah baby! Personalized Ad Generator $$$$$ Product Service MongoDB $$$$
  12. 12. What about deployment?
  13. 13. Provisioning Server
  14. 14. Demo
  15. 15. Wrap up
  16. 16. Shameless self-promotion... Our book ! Available NOW! ! Book signing Tue 1.30 pm @ O’Reilly Booth (JavaOne Pavilion) ! Free books for the early birds...
  17. 17. Takk Grazie Thank you Obrigado Mahalo Danke Dank U Merci Gracias

×