Understanding JPA, Part 2: Relationships the JPA way
Don't let poorly mapped data relationships make a mess of your Java applications: learn how to detangle them with Java 5 annotations and the Java Persistence API.
Aditi Das, January 2008

Understanding JPA, Part 1: The object-oriented paradigm of data persistence
Learn how the Java Persistence API takes the burden of database access off of your shoulders and keeps your code coolly object oriented.
Aditi Das, January 2008

Flexible reporting with JasperReports and iBATIS
These two open source frameworks combine admirably to make one highly flexible reporting solution. Find out how to leverage iBATIS's data-handling capabilities in your Jasper reports.
Scott Monahan, December 2007

Subversion or CVS, Bazaar or Mercurial?
Get a hands-on preview of four leading open source version control systems, then decide which one works best for you.
John Ferguson Smart, September 2007

Relational database pioneer says technology is obsolete
Relational databases are inefficient compared to the new breed of column-oriented databases, says Michael Stonebraker.
Erik Lai, September 2007

Simplify directory access with Spring LDAP
Why spend all your time handling checked exceptions, closing resources, and looping through NamingEnumerations when you don't have to? The Spring LDAP framework puts the 'l' (for lightweight) back into LDAP programming with JNDI.
Sunil D. Patil, June 2007

This week on JavaWorld.com
For the week of June 25th
 , June 2007

Java object queries using JXPath
This article shows how to use the Apache Commons JXPath component to easily query complex Java object trees for data using the XPath expression language. It covers both basic and advanced features to increase your productivity quickly.
Bart van Riel, March 2007

The Op Framework: A better Java database framework
The Op Framework is a lightweight, easy-to-configure JDBC access framework that provides rich tracking and tracing functionality. It decouples your code from your database allowing you to capture and load named sets of data from the file system, enabling data-driven test cases.
Paul Feuer, January 2007

SOA for the real world
This article provides a quick understanding of the state of service-oriented architecture deployments in the real-world, the challenges faced, and the proposed solutions.
Ash Parikh and Murty Gurajada, November 2006

Querying for persistent objects without a query language
This article describes an easy-to-maintain solution for the persistence of form-entry data within Web applications. All queries are compiler checked and implemented in a programmatically object-oriented way, without using a query language. Furthermore, the mapping between user interface and business logic is clearly decoupled from the mapping between business logic and data storage.
Gerald Bachlmayr, March 2006

Bridge the gap between Struts and Hibernate
Hibernate and Struts are currently among the most popular open source libraries on the market. Effectively, they are the default developer selections among competing libraries when building Java enterprise applications. Although they are often used in conjunction with one another, Hibernate was not primarily designed to be used with Struts, and Struts was released years before the birth of Hibernate. To put them to work together, some challenges remain. This article identifies some of the gaps between Struts and Hibernate, particularly related to object-oriented modeling. It also describes a solution for bridging these gaps that involves an extension to the Struts framework. All Web applications built upon Struts and Hibernate can derive benefit from this generic extension.
Ted He, March 2006

A Google Maps mash-up
Google's easy-to-use mapping API has created an explosion of map "mash-ups," applications that add features or data to Google's map interface. Whether the mash-ups display store locations, gasoline prices, or time and weather on a map, ultimately it's the data that makes these mash-ups interesting. This article describes how to access external data via SOAP and integrate that data with the Google Maps API using Direct Web Remoting, outlining one possible framework for map mash-up applications backed by Java on the server side.
Sumit Bando and Darius Kasad, January 2006

All aboard for more efficient Web applications
In this article, author Edward Salatovka introduces a design architecture he calls Train. Train allows the simple grouping of multiple user requests into a single database or network query, thereby boosting application performance and eventually reducing hardware requirements. The paradigm's benefits are proven by a load test against the real implementation.
Edward Salatovka, April 2005

Struts Recipes: Hibernate and Struts
In this excerpt from Struts Recipes, (Manning Publications, December 2004) authors George Franciscus and Danilo Gurovich illustrate how to use Hibernate in a Struts application. They also show how to create a Struts plug-in to improve performance.
George Franciscus and Danilo Gurovich, January 2005

All

Wizard API updated!
Tim Boudreau has released a new version of the Swing Wizard library (version 0.997) that fixes the WizardException bug reported in JavaWorld's recent Open Source Java Project profile. The article's examples have been reworked to test out the new, improved WizardException. Thanks, Tim, for this helpful fix!
Open Source Java Projects: The Wizard API

Newsletter sign-up

Sign up for our technology specific newsletters.

Enterprise Java
View all newsletters

Email Address: