« March 2007 | Main | June 2007 »

April 2007 Archives

April 5, 2007

Speed up your Web-App development with the EJB 3.0 and JPA

In this interesting Pinaki Poddar's blog you can learn how the EJB 3.0 and JPA programming model can reduce and simplify some tasks in the development of Web Applications.

April 15, 2007

JEE Developers have to learn Java EE Class Loading architecture of their AppServer

Ernie Svehla Chief Architect of IntelliObjects gives us through this presentation by infoQ some views of Java EE Class Loading Architectures and makes the difference between architectures Class Loading in some AppServers like JBoss AS 4.0.2, Sun's Appserver 9, BEA WebLogic 9.1. I found this presentation useful and interesting.

April 30, 2007

Make the different between TopLink Essentials JPA and Oracle TopLink product (10.1.3)

Because some peoples ask me frequently about the different about TopLink Essentials and Oracle TopLink product, I decided to give through this blog a minimal answer.

TopLink Essentials are the reference implementation (RI) of JPA, is an open source effort that is licensed under the Common Development and Distribution License (CDDL) v1.0. It can be freely downloaded and used under the terms of this license agreement. This means, you can only use it for the management of persistence and orm with Java EE and Java SE. The binary distribution of TopLink consist of 2 jars:

  • toplink-essentials-agent.jar: contains Java Persistence API; XML Schemas and TopLink essentials implementation
  • toplink-essentials.jar: contains java agent class requires in a standolane Java SE application

In addition to TopLink Essentials that makes the JPA implementation alive, Oracle offers its Oracle TopLink product (10.1.3) that contains an earlier preview binary of JPA and also offers developers additional object-relational capabilities, object-XML mapping (JAXB), non-relational mapping using Java 2.0 Connector Architecture (JCA).

XMLType with TopLink-essentials JPA

TopLink-essentials is only a reference implementation of JPA at sun and does not support XMLType of oracle. for more informations about how to support XMLType with TopLink-essentials Tom Ware Principal Software Engineer for Oracle gave this solutions:
Prior to the time we implemented XMLType support in Oracle TopLink it was possible to get some basic XMLType support working using a custom Converter in TopLink. Here is a link with a brief description of what a converter is:
http://www.oracle.com/technology/products/ias/toplink/doc/10131/main/_html/relmapun002.htm#sthref3777
It should be possible to build an converter in TopLink Essentials that can handle at least basic reading and writing (more complex queries will still require using native SQL). Configuring a mapping to use a converter is an extension of the actual JPA specification and would require using a descriptor Customizer. There is a description in the
link below.
http://www.oracle.com/technology/products/ias/toplink/jpa/resources/toplink-jpa-extensions.html#TopLinkCustomizationValidation
Hopefully, this can help you.

About April 2007

This page contains all entries posted to Serge Pagop's Weblog in April 2007. They are listed from oldest to newest.

March 2007 is the previous archive.

June 2007 is the next archive.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.31