Setting the environment
We need to install Oracle Fusion Middleware 11g (http://www.oracle.com/technology/software/products/middleware/index.html), which includes WebLogic Server 11g and JDeveloper 11g. Also install Oracle database 10g XE Edition (http://www.oracle.com/technology/software/products/database/xe/index.html) including the sample schemas. In this chapter, we won't be using the standalone WebLogic Server, but shall test the application in the WebLogic server that is integrated in JDeveloper 11g. However, an EAR file may be created and deployed to the standalone version using a build script, which is discussed in some of the other chapters. If the application is deployed to the standalone version, a data source is required to be configured in WebLogic Server with Oracle database, which is also explained in some of the other chapters, such as Chapter 8, EJB 3.0 Database Persistence with Ajax in the UI.
Creating database tables
We shall be creating EJB 3.0 entity beans from database...