Where can I find demos
or examples?
Examples and how-to's of using TopLink Essentials
are available her on OTN through the TopLink
Essentials site as well as those published on the GlassFish
entity-persistence
page.
Is there a TopLink Essentials
user forum?
There is an OTN's
TopLink forum as well as a GlassFish
forum.
Within GlassFish there is a persistence mailing list persistence@glassfish.dev.java.net.
The archives of this mailing list are available here.
What mapping tool support
is there available for using TopLink Essentials?
There is no mapping tool support directly within
TopLink Essentials or GlassFish. Developers can use any development
environment that supports JDK 1.5 or higher allowing the use of
annotations and some of the new features leveraged in the API.
There are currently efforts going on in most leading
IDE's to deliver better support for using JPA. Oracle is leading
the way with the early support for JPA in JDeveloper
10.1.3 as well as leading the Eclipse
Dali JPA Tools project as part of the Web Tools Platform (WTP).
Does TopLink Essentials
require JDK 5?
Yes, the persistence API leverages new capabilities
of the Java language as well as usage of annotations enabling mapping
configuration directly within the entity classes.
Oracle
TopLink 10.1.3 offers a JDK 1.4 persistence API that is similar
to the specification. For customers wanting to prepare for a smooth
migration to JPA but are not yet able to develop
or deploy their application within a JDK 5 environment this is an
excellent choice. It leverages the existing metadata formats and
graphical mapping editors of TopLink while allowing the application
code to minimize its coupling.
Can I use TopLink Essentials
outside of an EJB 3.0 container?
Yes, TopLink Essentials offers support for deployment
within an EJB 3.0 container or outside the container. This includes
using the persistence API in Web Containers, other non-EJB 3.0 Java
EE containers, or in Java SE. This allows the persistence API to
be used anywhere Java is used.
Can I use TopLink Essentials
in any EJB 3.0 container?
Yes, TopLink Essentials through the pluggable
persistence capabilities will function as the persistence provider
in an compliant EJB 3.0 container.
How does TopLink Essentials
compare with Oracle TopLink?
TopLink Essentials is a subset of the functionality
available in Oracle TopLink. The initial goal of TopLink Essentials
is to provide a commercial quality reference implementation of JPA.
They share the same core Object-Relational Mapping capabilities
that have been key infrastructure of many enterprise Java application
for over a decade.
Oracle TopLink offers additional functionality
beyond TopLink Essentials and the JPA specification. Some of the
key features include:
- Advanced ORM Capabilities
- Coordinated caching to support clustered
application deployments
- Additional non-intrusive optimistic locking
policies
- Oracle DB features
- Virtual Private Database (VPD)
- XMLType mapping and SQLX query generation
- Hints
- Hierarchical querying
- Object-Relational mappings Arrays, Structures,
Object references, and nested tables
- Custom LOB, TIMESTAMP*, and double-byte
data types
- Platform independent stored procedure and
function support
- Historical mapping and point-in-time querying
- JMX MBeans allowing management and monitoring
of TopLink sessions and their caches
- Object-XML mapping implementing JAXB 1.0 and
early support for JAXB 2.0 functionality
- Support for mapping to EIS using JCA resource
adapters
While these features are valuable to many enterprise
applications the core ORM functionality provided in TopLink Essentials
is comprehensive and goes beyond the specification to deliver sometimes
necessary functionality. Applications developed against TopLink
Essentials using JPA will run on Oracle TopLink when its JPA implementation
is certified as compliant.
Why should TopLink Essentials
be used instead of JBoss(TM) Hibernate?
TopLink Essentials, like JBoss's Hibernate product, is an open
source object-relational persistence framework or layer used in
Java applications. While both products strive to deliver a non-intrusive
highly flexible and performant solution there are some key differences.
- TopLink Essentials, derived from Oracle TopLink has been in
production Java applications scaling to large deployments and
high transaction volumes for over a decade. This reliability in
conjunction with a feature set evolved through close partnerships
with customers have lead to it being an excellent performing and
scaling persistence solution as well as offering rich flexibility
to configure the mappings and customize the runtime behavior in
support of a wide variety of database and application deployments.
Customers with any degree of complexity in the domain model or
relational schemas, most notably where changing the schema is
not an option, will benefit from the flexibility and proven nature
of TopLink.
- TopLink's caching solution is based on caching the mapped entity
instead of decomposing the data into raw structures. This storage
in the format needed by the application provides huge benefits
in most usage scenarios. Additionally the TopLink cache is very
flexible in its configuration and control by entity type.
- The TopLink community is open a friendly with unrestricted forums
serviced by the experienced development and management staff that
has been with the product throughout its existence. The Oracle
support and services offerings backing TopLink are skilled and
offer global coverage.
- As the reference implementation of JPA TopLink
offers the first certified implementation of this new standard.
as well as providing some useful value-add
functionality. Going forward this open source project will
continue to innovate based on contributions from Oracle, Sun,
and others.
- Using TopLink Essentials will provide you a rich ORM solution
based on the JPA standard. It will also allow
you to seamlessly upgrade to Oracle's TopLink offering and benefit
from many of the advanced ORM capabilities.