Java Cookbook - Concepts & Examples

Oracle9i Application Server (Oracle9iAS) provides a complete, integrated platform for e-business transactional applications and data publishing be it a web site, a company portal or an Internet application. Its flexible deployment platform supports the latest industry standard technologies and programming languages such as J2EE APIs with Java Servlets, JSP, EJB and XML.

This article will help you learn about Java and how it works in the Oracle9iAS environment. It describes how to build different types of J2EE applications in Oracle9iAS

Several sample applications have been presented to give a context to this article. Each sample uses Java in a different ways to accomplish the same business task: managing data as customers make and cancel room reservations throughout a network of hotels.

The samples range from a stand-alone program running on a single local machine to a Web based multi-tier application with logic distributed among several machines or processes. These samples have been certified on Solaris 5.6, Windows NT 4.0, 2000 platforms and Red Hat Linux Advanced Server 2.1

Servlet Sample [22-Sep-2003]
This sample demonstrates Java Servlets technology using the Hotel Reservation System. This sample models a typical three-tier application. A web browser acts as a client and invokes the servlet that executes in the middle-tier and uses facilities provided by the HotelJDBC class to perform database access to Oracle9i database, which is the server-tier.
Download Now (JAR, 64KB)
Readme
Source

JavaServer Pages Sample [22-Sep-2003]
This sample demonstrates JavaServer Pages technology using the Hotel Reservation System. The JSP's acts as view, which interacts with the user.
Download Now (JAR, 72KB)
Readme
Source

EJB with Bean Managed Persistence [22-Sep-2003]
This sample application implements the Hotel Reservation System using Enterprise JavaBean(EJB) components. The application implements 2 session EJB components (HotelInformation & ReservationAgent), which is used by the client applications, to perform hotel reservation and enquiry on all the hotels in the System.
Download Now (JAR, 94KB)
Readme
Source

Transaction Processing [22-Sep-2003]
This sample aims to show the transaction capabilities of Oracle9iAS containers for J2EE using entity beans and session beans (stateful & stateless).
Download Now (JAR, 123KB)
Readme
Source

JAAS [22-Sep-2003]
This sample shows how to implement security in your web application using Oracle's JAAS Provider. It illustrates how to restrict access to the functionality of application based on the role the user has logged in.
Download Now (JAR, 132KB)
Readme
Source

Oracle9iAS Web Services [22-Sep-2003]
This sample application implements the Car Booking System using Enterprise JavaBean(EJB) components. With the Car Rental system exposed as a web service, the Hotel Reservation System will call this service to book cars for its clients.
Download Now (JAR, 215KB)
Readme
Source

 
Left Curve
More Sample Code
Right Curve
 · Financial Brokerage Service 10g
 · Virtual Shopping Mall

Left Curve
Discussions
Right Curve
 · Sample Code
 · J2EE
 · Web Services

Left Curve
Tutorials
Right Curve
 · About the Applications
 · Overview of Java and J2EE
 · Java in Oracle9iAS
 · Java on the Server
 · Java and Components
 · Transaction Processing
 · Security with JAAS
 · Integration using Enterprise Web Services

Left Curve
How-To Documents
Right Curve
 · JDBC
 · J2EE
 · JavaServer Pages
E-mail this page
Printer View Printer View
Oracle Is The Information Company About Oracle | Oracle RSS Feeds | Careers | Contact Us | Site Maps | Legal Notices | Terms of Use | Privacy