(Web) Applications Made Simple with OSGi - Peter Kriens

  • 1,710 views
Uploaded on

OSGi Community Event 2013 (http://www.osgi.org/CommunityEvent2013/Schedule) …

OSGi Community Event 2013 (http://www.osgi.org/CommunityEvent2013/Schedule)

ABSTRACT
OSGi is renowned for its advanced modularity but it is not often called simple. I actually believe that OSGi is simple but that most reported problems are caused by trying to push a square through a round hole. Problems are invariably caused by trying to apply incumbent non-modular technology through a modular framework. However, today the average developer has not much choice, most of the free and available components use hacks that are not compatible with strong modularity, nor do they leverage OSGi's features like µservices and central dynamic config admin as they were intended.

Spending a sabbatical year developing a web application the 'OSGi Way' it was clear that a lot of components and documentations is missing to quickly build a web application the 'OSGi Way'. To leverage OSGi to the hilt I had to develop too many base components. Though I proved to myself that OSGi was really working as advocated if you go with the flow, it was clear that other developers have neither the time, OSGi experience, nor the inclination to do what I could do. Discussing these experiences with the OSGi Alliance we therefore decided to turn this into a project!

This presentation will show you my experiences with developing a truly OSGi Web App and an overview of the OSGi Alliance's plans to simplify development of OSGi (web) applications.

SPEAKER BIO
Peter Kriens is an independent consultant since 1990.He currently works for the OSGi Alliance and jpm4j. During the eighties he developed advanced distributed systems for newspapers based on microcomputers based on, at the time very novel, object oriented technologies. For this experience in Objects he was hired by a number of international companies, including Adobe, Intel, Ericsson, IBM, and many others. During his work at Ericsson Research in 1998 he got involved with the OSGi specification; Later he became the primary editor for these specifications. In 2005 he was awarded the OSGi Fellows title. After taking a sabbatical in 2012 to develop jpm4j he returned to the OSGi Alliance to help increasing adoption. He is Dutch but decided to live in France.

More in: Technology , Education
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
1,710
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
47
Comments
0
Likes
3

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. (Web) Applications Made Simple with OSGi Peter Kriens OSGi Alliance dinsdag 29 oktober 13 1
  • 2. Content • Sabbatical • OSGi en Route • Demo • Questions dinsdag 29 oktober 13 2
  • 3. Sabbatical ... OpenBlend 2013 dinsdag 29 oktober 13 3
  • 4. jpm4J Ludwigsburg OSGi DevCon 2013 dinsdag 29 oktober 13 4
  • 5. jpm4J Indexed 480,756 JARs from 50,522 programs (most from Maven Central, almost doubled in the last year) Ludwigsburg OSGi DevCon 2013 dinsdag 29 oktober 13 4
  • 6. OpenBlend 2013 dinsdag 29 oktober 13 5
  • 7. OpenBlend 2013 dinsdag 29 oktober 13 6
  • 8. OSGi Works! dinsdag 29 oktober 13 7
  • 9. OSGi Works! But too few good components. dinsdag 29 oktober 13 7
  • 10. OSGi Works! But too few good components. Why? dinsdag 29 oktober 13 7
  • 11. What do we Need? • High Cohesion • Low Coupling • Expliciti • Requirements • Capabilities dinsdag 29 oktober 13 8
  • 12. What do we Need? • High Cohesion • Low Coupling • Expliciti • Requirements • Capabilities dinsdag 29 oktober 13 8
  • 13. OSGi enRoute dinsdag 29 oktober 13 9
  • 14. OSGi enRoute … as OSGi was meant to be dinsdag 29 oktober 13 9
  • 15. OSGi enRoute dinsdag 29 oktober 13 10
  • 16. OSGi enRoute dinsdag 29 oktober 13 10
  • 17. OSGi enRoute The Component Framework dinsdag 29 oktober 13 10
  • 18. Great Stuff! dinsdag 29 oktober 13 11
  • 19. Great Stuff! But how do you put it together? dinsdag 29 oktober 13 11
  • 20. dinsdag 29 oktober 13 12
  • 21. The whole solution dinsdag 29 oktober 13 12
  • 22. OSGi enRoute • • • • • • • dinsdag 29 oktober 13 Demonstrator chain User Documentation, Tutorials Providing missing pieces • • Specifications Implementations (through open source collaboration) Repository Community Pluggability Vendors 13
  • 23. First Baby Steps ... OSGi enRoute Blog Tutorial https://github.com/osgi/osgi.enroute.blog dinsdag 29 oktober 13 14
  • 24. dinsdag 29 oktober 13 15
  • 25. dinsdag 29 oktober 13 16
  • 26. Twitter Bootstrap Config Admin Angular blog.test Configuration Admin ` Webserver Configurer ` REST blog.appl ` blog.jpa provider Entity Manager 0 Servlet Apache Felix Http ` Resource Manager ` Blog Manager blog.memory provider Data Source Factory jta filter Transaction Manager ` Jonas Transaction dinsdag 29 oktober 13 H2 jdbc managed jpa managed Persistence Provider XA Data Source ` Eclipse Persistence ` Hibernate 17
  • 27. Demo dinsdag 29 oktober 13 18
  • 28. Q&A dinsdag 29 oktober 13 19