14:45-17:15 OSGi enRoute: a Blog Application (Part2)
14:45-17:15 OSGi enRoute: a Blog Application (Part2)
Track:
Time:
Friday, 4:15pm - 5:05pm
Abstract:
Advance registration for the tutorials is required to secure your space. Please register here.
14:45 - 17:15 - Level intermediate
OSGi enRoute is an OSGi application framework that makes OSGi (and Java) as easy to use as more dynamic web languages, while still providing the benefits of strong modularity. In this tutorial we start from an empty web page up to a simple but complete blog application that uses JPA on a combination of Hibernate, EclipseLink, H2 and MySQL.
The tutorial will use bnd(tools) and has a number of stages:
- We first start with handling web resources using the OSGi enRoute support. This will show bootstrap and a bit of Javascript code using Angular JS.
- The Javascript code is connected to the server using restful services.
- We create a blog service to separate usage and implementation, creating a simple memory based blog database.
- The blog service is tested with OSGi Unit tests
- An alternative implementation is created using JPA
- The application is packaged and deployed in the cloud
This tutorial will teach you what makes OSGi so unique, and so easy to use if you use it in the intended way. Along the way you may learn a number of good techniques to use in rich internet applications.
Peter Kriens is an independent consultant since 1990.He currently works for the OSGi Alliance and Paremus. 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. @pkriens