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.

VJUG - Building Modular Java Applications in the Cloud Age

793 views

Published on

Modularity is an architectural theme that you'll hear about more and more. Being able to deal with change in a codebase is not something trivial and requires some serious thought. In this talk I will show you that it is actually pretty easy to achieve a modular architecture using OSGi, and the right set of tools. Of course everything will be demonstrated using live coding!

In this presentation you will learn how to create modular, robust, and durable enterprise Java applications fit for the Cloud Age. Using a modular development approach with Java, OSGi, and a wealth of open source components, you will be shown how to combine these into coherent applications without locking into one of the existing PaaS providers. Finally, we will focus on deployment, introducing Apache ACE, that allows to centrally manage and distribute software components to target systems in the cloud or on premise. The presenter of this talk authored the book 'Building Modular Cloud Apps with OSGi' and is using these techniques in high profile production applications on a daily basis.

Published in: Software
  • Be the first to comment

  • Be the first to like this

VJUG - Building Modular Java Applications in the Cloud Age

  1. 1. Building Modular Java Applications in the Cloud Age vJUG, March 2015
  2. 2. Bert Ertman Fellow at Luminis (Netherlands) former JUG Leader for NLJUG Java Champion @BertErtman About me bert.ertman@luminis.eu
  3. 3. Observations Extremely agile 
 (first mover advantage) Architecture (and code base) should be able to cope with change
  4. 4. The case for modularity Modularity is the 
 ultimate agile tool! Small, disposable, components Prevents code rot on the architectural level Isolate problems, focus work
  5. 5. Prevent (tight) coupling What we learned about OO design in university : Promote cohesion coupling cohesion
  6. 6. Modules Service Lookups
  7. 7. Whatdoweneed 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 formodularity?
  8. 8. Auth Blob stores MongoDB JPA Multi-tenancy OpenSocial Search Remote Services REST Template Web ... Components
  9. 9. Stop talking… and show me code!
  10. 10. Products Rest Products API Products Service MongoDB Orders Rest Orders API Orders Service MongoDB Customers API Customers Service MongoDB ... Rest ... API ... Service modularity in action...
  11. 11. What about deployment?
  12. 12. Provisioning Server
  13. 13. Provisioning servers Node AWS Auto Scaling 1. Start Load Balancer Apache ACE 2. register 3. register 4. provision deployment package
  14. 14. Provisioning servers Nodes are completely disposable Automated cluster recovery Nodes do not require maintenance No “big” container
  15. 15. Wrap up
  16. 16. Takk Grazie Thank you Obrigado Mahalo Danke Dank U Merci Gracias

×