Show TOC Start of Content Area

Procedure documentation Creating the Web Project  Locate the document in its SAP Library structure

Use

The presentation layer of our application is a simple Web application with a Servlet and a static HTML page. You are going to access the database directly from the Web application.

The Web Project that you create here is the framework for developing the application.

Prerequisites

You must have created the database tables in the GettingStartedPersistenceDic project.

Procedure

...

       1.      Go to File New Project… Choose J2EE in the left-hand tab, and Web Module Project in the right-hand tab.

       2.      Choose Next.

       3.      Enter a name for the project – for example, GettingStartedOpenSQLWeb.

       4.      Choose Finish.

       5.      In the J2EE Development perspective open the context menu of the GettingStartedOpenSQLWeb project, and choose Properties.

       6.      In the left-hand pane choose Java Build Path.

       7.      Choose Projects and select GettingStartedPersistenceDic from the list.

       8.      Choose OK.

Result

You have created the Web project to hold all Java and HTML sources. Now you can develop the EmployeeData class.

 

 

End of Content Area