Sample Program

The book shopping application that you developed using a JavaServer Page can be further enhanced by adding an order-placing feature. You will add the ability to persist the order data to the PointBase database table transaction_details that you created yesterday. The WebLogic Server has been configured to create a connection pool for the PointBase database. The sample program allows you to use the JDBC concepts that you learned yesterday and today as well as the important interfaces in the JDBC API including the Statement, PreparedStatement, ResultSet, and ResultSetMetaData interfaces.

You will also be writing a utility class, namely, the DBConnection class, which will retrieve the database connection from the WebLogic Server's ...

Get Sams Teach Yourself BEA WebLogic Server 7.0™ in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.