Using JPA in OSGi
Mike Keith (Oracle ), Tim Ward
Making For Eclipse · Standard (25 mins)
Tags: Java , OSGi DevCon , Runtime
Tuesday, 16:15, 25 minutes | Stevens Creek
The OSGi Alliance Enterprise Specifications release defines how enterprise technologies, such as web containers, JTA transactions and JMX management can be used in OSGi frameworks. A key ingredient in enterprise applications, not overlooked in the release, is the ability to persist entities to a relational database. A standard set of services for the provision and consumption of JPA is defined and included in the Enterprise Specifications.
We will describe the OSGi services that are defined by this standard and show how to install, configure and interact with the bundles that provide these services. We will illustrate how applications can be written to make use of the standard, and go on to discuss some of the boundaries and limitations that developers may encounter in the process.
Mike Keith has been a distributed systems and persistence expert for almost 20 years, and has teaching, research and development experience in these and other areas. He co-lead the expert group that produced the first release of JPA and co-authored the premier JPA reference book, Pro EJB 3: Java Persistence API, recently followed up with Pro JPA 2: Mastering the Java Persistence API. He represented Oracle on numerous expert groups and specifications, including JSR 316 working on Java EE 6 and JSR 317 working on JPA 2.0. He currently works at Oracle as an architect for Java and persistence strategies and participates in the OSGi Enterprise Expert Group helping to create specifications to allow enterprise applications to be created on top of OSGi frameworks.
Tim Ward is a design and development lead for IBM’s OSGi Applications Feature Pack for WebSphere Application Server. He participates in the OSGi Enterprise Expert Group (EEG), which creates specifications describing the use of enterprise technologies in an OSGi framework. As an EEG member he co-authored the RFC and draft specification for using JPA in an OSGi environment. He is also an active committer in the Apache Aries project, which provides an application container based on implementations and extensions of the application-focused specifications defined by the EEG.