All Examples
The examples in this directory accompany the document Introduction to BEA WebLogic Server. The examples include the following:
A servlet that executes SQL statements using a JDBC connection pool.
A JSP page that displays a monthly calendar by calling a JavaBean that returns the current month in HTML format.
A Java client that demonstrates accessing a JDBC connection pool in WebLogic Server. The client creates a table, inserts some data, and then retrieves and displays the data.
An example of an entity EJB that uses the Emp table in the Cloudscape demo database. The EmpQuery JSP page demonstrates how the EJB can be used in an application.
A simplified workflow example that combines JMS, EJB, and a Servlet, using the Emp Enterprise JavaBean. Transactions collected by the EmpTrans Servlet are sent as messages to a JMS Queue. The EmpQueueReader Java client reads accumulated messages from the Quque and asks you to confirm each transaction.