Book Image

JDBC 4.0 and Oracle JDeveloper for J2EE Development

Book Image

JDBC 4.0 and Oracle JDeveloper for J2EE Development

Overview of this book

Table of Contents (20 chapters)
JDBC 4.0 and Oracle JDeveloper for J2EE Development
Credits
About the Author
About the Reviewer
Preface

Developing a BC4J Web Application


In this section a web application is created in the ViewController project of the Model-ViewController application. A web application JSP will invoke the business components in the Model project. Add the Model project business components to the classpath of the ViewController project. Select the ViewController project in the Applications Navigator. Select Tools | Project Properties in the JDeveloper IDE. In the Project Properties window, select the Common | Dependencies node. In the Project Dependencies window, click in the Model.jpr checkbox. Click on the OK button. The Model project gets added to the classpath of the View project.

The JSP application will be integrated with the BC4J components in the Model project. To create a JSP right-click on the ViewController project and select New. In the New Gallery window, select Web Tier | Java Server Pages. Select JSP Page in the Items listed. In the Create JSP page, specify TestClient as the File Name and...