Using JDO withJSP2
This tutorial will introduce the development process of a web based database application conforming to the J2EE standard.
I’ve posted an article on how to develop a JDO based database application on www.CSDN.net, however, it was a sim
Tutorial Details:
2.2 JDO specification and JDO Genie Implementation
JDO is the data object wrapper layer of our web application, and this is the core of the tutorial. To setup the JDO environment as quickly and simply as possible, we choose JDO Genie product as the implementation, provided by Hemisphere Technologies (whose headquarters are in South Africa). JDO Genie has some extra features that will improve and accelerate our development:
1. an integrated powerful workbench which can complete almost all of the configuration tasks for JDO development
2. support for many optional JDO features such as persistence capability of java.util.List, which is useful in this tutorial
3. automatic managed bi-directional relations. This is a key feature that may appear in JDO2.0 specification, and so far JDO Genie is the only implementation with this support
4. capability of integrating Ant. This enables the user to do Ant compilation and enhancement in the workbench without switching to the DOS window
5. support for semantically correct Collection.size() result for query result collections. Furthermore, it can be dynamically specified to use a “select count(*) …” in counting the total count for the qualified objects in a query without any performance penalty.
Let’s go to www.jdogenie.com and download the latest release: 2.2.0, a simple ZIP package. We simply unpack it into a directory, say C:\\, and we get a C:\\JDO Genie-2.2.0\\ directory. We’ll call this directory .
Since JDO Genie is not a free implementation, we need to get an evaluation license for our tutorial. Follow the instructions on the download webpage, and you will receive a JDO Genie.license” file in your mailbox. Note: you should save this file using an email client program, not a web based email application, because the browser will change some bytes in this file when saving it from the webpage. Many users have encountered such problems using web based email client like www.163.com .
Read
Tutorial at: Click here to view the tutorial
Rate Tutorial: Using JDO withJSP2
View Tutorial: Using JDO withJSP2
Related
Tutorials:
Good
introduction to JDO
Good
introduction to JDO |
Comparison between the two major JDO architectures
Comparison between the two major JDO architectures |
Smart Value Object goes
one step further
Smart Value Object goes one step further
The Smart Value Object allows server components to track client-side modification of business objects in a rich client/J2EE server environment, by using the latest features offered by bytecode processing tools.
|
Interesting
...
Interesting
... |
Object-relation mapping without the container
If you follow the latest developer buzz then you\\\\\'ve likely heard of IOC (Inversion of Control) containers and AOP (aspect-oriented programming). |
Creating EL-Aware Taglibs Using XDoclet
Creating EL-Aware Taglibs Using XDoclet
When the JSP Tag Extensions (also known as taglibs) first came out, the only option to pass dynamic values as tag attributes was using Request Time (RT) expressions. With the advent of JSTL 1.0, another option ha |
Developing Swing Components Using Simulators
Developing Swing Components Using Simulators
In this article, you'll learn about a technique for developing encapsulated components. You'll also learn about how to test graphical parts of your application that JUnit can't, such as layouts and other visua |
JPOX Java Persistent Objects JDO
Presenting JPOX
With a versatile and high performance implementation, JPOX is on the cutting edge of the available Java Data Objects (JDO) implementations, offering a free and full compliant JDO implementation released under an open source license.
|
Euler proof mechanism
Euler is an inference engine supporting logic based proofs of test cases (*). |
Using the ASM Toolkit for Bytecode Manipulation
Using the ASM Toolkit for Bytecode Manipulation
Sometimes Java developers need to generate or change Java bytecode in the runtime. Is can be necessary for AOP or debugging, or even for performance optimization. There are several frameworks available that |
Using Timers in J2EE Applications
Using Timers in J2EE Applications
Job scheduling is nothing new--most enterprise applications require the scheduling of tasks and activities. For example, your application may need a timer service to run a business process once a day, or to clean up a te |
The power of table-oriented programming
The power of table-oriented programming
When object-oriented programming languages began to be used in enterprise applications, designers had problems fitting the object-oriented model with the relational model. In the object-oriented model, data is enca |
Core Java Data Objects Excerpt
This book excerpt is from Core Java Data Objects, |
JTwain
JTwain will implement a Java interface to the the Win32 C DLL TWAIN acquire methods. |
Accessing Databases Using Java and JDBC
This article will show how a Java Application, Applet or Servlet can access data stored in relational databases using the JDBC API. |
Jeff Schmitt's JDBC Page
This tutorial assumes you are using the MySQL database and the GWE JDBC drivers. The host computer is triton.towson.edu. |
Hibernate simplifies inheritance mapping.
Learn three easy-to-implement strategies to map class hierarchies. Hibernate is an object-relational mapping and persistence framework that provides a lot of advanced features, ranging from introspection to polymorphism and inheritance mapping. |
Using Lucene With OJB
Brian McCallister looks at the Lucene search engine and shows us how to index and retrieve objects from a sample Student application. |
What is Persistence Framework?
What is Persistence Framework?
What is Persistence Framework?
A persistence framework moves the program data in its most natural form (in memory objects) to and from a permanent data store the database. The persistence framework manages the |
Urchin RSS Aggregator
Urchin is a Web based, customisable, RSS aggregator and filter. It\'s primary purpose is to allow the generation of new RSS feeds by running queries against the collection of items in the Urchin database. |
|
|
|