Show TOC Start of Content Area

Procedure documentationGetting Started with JDO  Locate the document in its SAP Library structure

Use

In this section you will learn how to work with Java Data Objects in the SAP NetWeaver environment. The simple example included in the guide introduces the basic features of JDO, such as creating and reading persistent objects. A Web interface is used to pass the parameters to the underlying business logic and to visualize the result for the user. The persistent layer is represented by a relational database. The Web application accesses two tables in which data about the employees and the departments in a company is stored.

Note

The JDO tools are still not integrated in the SAP NetWeaver Developer Studio; therefore, you will have to create some of the XML files for the example manually. You will find detailed instructions about how to do that in the guide.

Procedure

To get started with JDO, you have to learn how to:

·        Define the database tables

·        Create a Web project and configure the build path

·        Create the persistence capable classes

·        Create the object identity classes

·        Define the persistent properties of the JDO

·        Define the object/relational mapping for the persistent capable classes

·        Enhance the JDO classes and check the consistency of the tool

·        Implement the business logic

·        Develop the Web front end

·        Assemble the application

·        Deploy and run the application

 

 

End of Content Area