| View: | [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 ] |
| Articles Weblogs |
- Adopting a Java Persistence Framework: Which, When, and What? by Sharad Acharya - [Clicks: 167]
Java programmers have a number of persistence frameworks to choose from, and far from being redundant, each is based on significantly different beliefs, assumptions, and ideal use-cases. In this article, Sharad Acharya takes a comparative look at JPA, Entity EJBs, Hibernate, and TopLink, to help you understand which is right for your needs.
http://today.java.net/pub/a/today/2007/12/18/adopting-java-persistence-framework.html - Dec, 2007 - Defining Your Object Model with JPA by Chris Maki - [Clicks: 101]
Chris Maki walks through a blog's object model with JPA, using mapped superclasses and entity listeners to provide functionality that you might not have thought of.
http://www.theserverside.com/tt/articles/article.tss?l=JPAObjectModel - Sep, 2007 - Migrating legacy Hibernate applications to OpenJPA and EJB 3.0 by Donald Vines, Kevin Sutter - [Clicks: 109]
Learn how to migrate Hibernate application source code, object-relational mappings, and configuration parameters to OpenJPA by comparing the features and functions in Hibernate applications using EJB 2.1 with equivalent capabilities in OpenJPA and EJB 3.0.
http://www.ibm.com/developerworks/websphere/techjournal/0708_vines/0708_vines.html - Aug, 2007 - Using the Persistence API in Desktop Applications by John O'Conner - [Clicks: 114]
The Java Persistence API simplifies persistence in your projects by allowing you to use POJOs. Although the API is part of the EJB 3.0 specification, you can also use it in desktop applications. This article shows you how.
[Includes sample code]
http://java.sun.com/developer/technicalArticles/J2SE/Desktop/persistenceapi/ - May, 2007 - How to Get the Best Performance Out of a Java Persistence Implementation - [Clicks: 66]
This tip discusses how to tune the Java Persistence implementation in GlassFish called Toplink Essentials. The example included in this tip is based on the customer-cmp sample bundled with GlassFish. You can download the samples from the GlassFish Samples page. The tip covers performance tuning for a Java Persistence implementation used in different modes: in-container and out-of container. The tip also uses the Faban framework to demonstrate different performance tuning parameters.
http://java.sun.com/mailers/techtips/enterprise/2007/TechTips_May07.html#2 - May, 2007 - Using Generics With Java Persistence by Sean Brydon, Inderjeet Singh - [Clicks: 88]
The Java Persistence API (or simply Java Persistence) provides a POJO-based domain model for Java EE 5 applications. It handles all of the details of how relational data is mapped to Java objects, and it standardizes object-relational mapping. Often applications that use Java Persistence execute queries that return a collection of objects. Java Platform, Standard Edition (Java SE) 5 introduced a new feature called generics that lets you specify the type of objects in collections. If you use Java Persistence in your applications, you can take advantage of generics to gain some extra benefits for your code such as type safety. In this tip you'll learn how to refactor applications to use generics.
http://java.sun.com/mailers/techtips/enterprise/2007/TechTips_April07.html#1 - Apr, 2007 - Persistence Pays Offs: Advanced Mapping with JPA by Antonio Goncalves - [Clicks: 104]
In this follow-up to an earlier article on the Java Persistence API, learn how to use JPA to map inheritance, one-to-many, and many-to-many relationships. And learn to use the query language (JPQL) to query concrete and abstract classes.
[Includes source code]
http://www.devx.com/Java/Article/33906 - Mar, 2007 - Master the New Persistence Paradigm with JPA by Antonio Goncalves - [Clicks: 113]
In this article you will learn how to persist objects using the Java Persistence API (JPA), customize their mapping with annotations, and create a one-to-one relationship. Using the entity lifecycle you will control persistency and use the query language (JPQL) to query your objects.
[Includes source code]
http://www.devx.com/Java/Article/33650 - Feb, 2007 - A standardized object-relational mapping mechanism for the Java platform by S. Sangeetha, Anupama Nithyanand, S.V. Subrahmanya - [Clicks: 76]
Prior to the introduction of the Java Persistence API, no single persistence standard was available for both the Java SE and Java EE environments. Introduced as a part of Java EE 5, the Java Persistence API is a much awaited mechanism for persisting Java objects in the relational database by mapping Java objects to relational database tables.
http://www.javaworld.com/javaworld/jw-01-2007/jw-01-aop.html - Jan, 2007 - Stand-alone Persistence in a Java SE Project by John Jullion-Ceccarelli, Lukas Jungmann - [Clicks: 154]
This document takes you through the basics of developing a Java application with stand-alone persistence using Java EE 5 technology. This document uses the NetBeans 5.5 release and the Sun Java System Application Server 9.0, Platform Edition.
http://www.netbeans.org/kb/55/persistence-j2se.html - Jan, 2007
- Sample Application using JSF, Seam, and Java Persistence APIs on Glassfish by Carol McDonald - [Clicks: 191]
This Sample Store Catalog app demonstrates the usage of JavaServer Faces, a Catalog Stateful Session Bean, the Java Persistence APIs, and Seam to implement pagination of data sets.
[Includes sample code]
http://weblogs.java.net/blog/caroljmcdonald/archive/2007/07/sample_applicat_1.html - Jul, 2007 - Sample Application using JSF, Spring 2.0, and Java Persistence APIs by Carol McDonald - [Clicks: 299]
This Sample Store Catalog app demonstrates the usage of JavaServer Faces, the new Java Persistence APIs, and Spring 2.0 to implement pagination.
[Includes sample code]
http://weblogs.java.net/blog/caroljmcdonald/archive/2007/06/sample_applicat.html - Jun, 2007