Entering content frame

Procedure documentation Getting Started with Relational Persistence Locate the document in its SAP Library structure

Use

In this section you will learn how to work with Open SQL/JDBC and Open SQL/SQLJ in the SAP NetWeaver environment. The simple example demonstrates how you can store data in database tables and use a simple Web interface to insert data into the tables and to retrieve data using queries. The Web application accesses two tables in which data about the employees and the departments in a company is stored.

Procedure

The development of the example includes the following steps:

·        Creating the Database Tables

·        Creating the Web Project

·        Developing the EmployeeData Class

·        Developing a Data Access Interface

·        Creating an SQLJ Connection Context

·        Creating an SQLJ ResultSet Iterator

·        Implementing the Data Access Interface with SQLJ

·        Implementing the Data Access Interface with JDBC

·        Developing the Web Front End

·        Assembling the Application

·        Deploying and Running the Application

Leaving content frame