A presentation on the use of EclipseLink as a JPA, JAXB, or SDO persistence provider in OSGi. Equinox specific extensions for JPA byte code weaving are also described.
3. Java Persistence: The Problem Space Customer id: int name: String creditRating: int CUST ID NAME C_RATING <customer id=“…”> <name>…</name> … </contact-info> </customer> Relational XML Java
4.
5. EclipseLink Architecture DBWS SDO EIS MOXy JPA XML Data Legacy Systems Databases Java SE Java EE OSGi Spring
One of the core needs of any enterprise application is persistence. To compete in this space, OSGi applications need access to relational, XML, and web service data sources using Java standard APIs like the Java Persistence API (JPA), Java Architecture for XML (JAXB), and Service Data Objects (SDO). But most commercial and open source persistence frameworks do not work out of the box in OSGi. Fortunately EclipseLink, the Eclipse Persistence Services Project, provides high performance native OSGi implementations of JPA, JAXB, and SDO.
Java Applications need to either access existing data sources like relational database or interact with other systems via XML—or BOTH. The example is a trivial one but it can get very complicated to map between an Java object model and a relational or XML schema.