Professional Java Server Programming - J2EE 1.3 Samples

These samples are taken from one of the well-known J2EE reference books, "Professional Java Server Programming J2EE 1.3 Edition" from Wrox Publications and have been certified to work with Oracle9i Application Server.

Java Naming and Directory Interface

Chapter 02 Samples [08-May-2002]
These samples demonstrate how to use the basic JNDI classes to access different directory services.
Download Now (ZIP, 11KB)

Chapter 04 Samples [08-May-2002]
These samples demonstrate how to develop and deploy JDBC applications. In addition, these samples also demonstrate loading JDBC drivers, table creation, data insertion and the usage of JDBC advanced features like scrollable result set.
Download Now (ZIP, 9KB)

Java Servlets

Chapter 05 Samples [08-May-2002]
This sample demonstrates how to build a simple servlet application that collects data from users and provides a response.
Download Now (ZIP, 10KB)

Chapter 06 Samples [08-May-2002]
These samples demonstrate states involved in the life cycle of a servlet instance, and how to access database using servlets.
Download Now (ZIP, 24KB)

Chapter 07 Samples [08-May-2002]
These samples deal with session tracking, servlet contexts and conditional flow between servlets.
Download Now (ZIP, 55KB)

Chapter 08 Samples [08-May-2002]
These samples explain how to use filters to control the requests and responses for servlets or JSPs.
Download Now (ZIP, 29KB)

Chapter 09 Samples [08-May-2002]
These samples demonstrate how to define and configure deployment roles in a web application.
Download Now (ZIP, 17KB)

Java Server Pages

Chapter 10 Samples [08-May-2002]
These samples demonstrate the basics of JSP constructs and semantics, the use of directives, standard actions, scriptlets and session JavaBeans. In addition, these samples also demonstrate the MVC architecture and FrontController design pattern.
Download Now (ZIP, 37KB)

Chapter 11 Samples [08-May-2002]
These samples demonstrate how to write and use tag libraries in a JSP application.
Download Now (ZIP, 17KB)

Chapter 12 Samples [08-May-2002]
These samples are implemented as generic Registration and Authentication applications to demonstrate the usage of JSP Tag Libraries.
Download Now (ZIP, 67KB)

Java Mail

Chapter 13 Samples [08-May-2002]
These samples demonstrate how to use the Java Mail API to read, send and delete emails. In addition, the sample programs demonstrate how to save and retrieve emails to and from the database.
Download Now (ZIP, 11KB)

Enterprise JavaBeans

Chapter 14 Samples [08-May-2002]
This sample demonstrates the following EJB features

  • EJB component location and instantiation.
  • How to invoke EJB methods from a java application.
Download Now (ZIP, 7KB)

Chapter 15 Samples [08-May-2002]
These samples demonstrate the life cycle of stateless and stateful session beans. The FinancialNeedCalculator sample is implemented as

  • Stateful Session Bean
  • Stateless Session Bean
Download Now (ZIP, 22KB)

Chapter 16 Samples [08-May-2002]
These samples demonstrate how to develop and deploy Entity Beans. In addition they also demonstrate use of local interfaces, database query language and relationships among EJBs.
Download Now (ZIP, 33KB)

Chapter 17 Samples [08-May-2002]
These samples demonstrate the usage of transactions. The sample shows how transactions help in maintaining data integrity through transaction management.
Download Now (ZIP, 7KB)

Chapter 18 Samples [08-May-2002]
These samples demonstrates how to specify and use different application level roles in EJBs. This is demonstrated using a simple bank application, which makes use of five distinct J2EE roles.
Download Now (ZIP, 16KB)

Chapter 19 Samples [08-May-2002]
These samples demonstrates how to work with the JMS reference implementations, create, send and receive messages. In addition the samples show how to develop and deploy message-driven beans.
Download Now (ZIP, 12KB)

Java Connector Architecture

Chapter 19 Samples [08-May-2002]
This sample demonstrates the features of J2EE Connector architecture, which enables J2EE components such as enterprise beans to interact with Enterprise Information Systems.
Download Now (ZIP, 11KB)

Web Services

Chapter 22 Samples [08-May-2002]
This sample demonstrates how to develop, deploy and invoke a simple webservice application, which will fetch the data from the database and supply the stock quotes to the remote client based on the request.
Download Now (ZIP, 11KB)

J2EE Packaging and Deployment

Chapter 24 Samples [08-May-2002]
This sample demonstrates the various classloaders in action when an EAR file (two web applications and two ejb jars) deployed and accessed.
Download Now (ZIP, 22KB)

 
Left Curve
More Sample Code
Right Curve
 · Enterprise JavaBeans
 · J2EE
 · JDBC
 · JavaServer Pages
 · Servlets
 · Web Services

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

Left Curve
Tutorials
Right Curve
 · J2EE & EJB 2.0 Techniques
 · Java Servlet Technology
 · Web Services Tutorial

Left Curve
How-To Documents
Right Curve
 · JDBC
 · J2EE
 · Web Services


Copyright and Authorship Notice
These chapters are written by Ramesh Nagappan et al and taken from "Professional Java Server Programming J2EE, 1.3 Edition" published by Wrox Press Limited in September 2001; ISBN 1861005377; copyright Wrox Press Limited 2001; All rights reserved.
No part of these chapters may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, electrostatic, mechanical, photocopying, recording or otherwise without the prior written permission of the publisher, except in the case of brief quotations embodied in critical articles or reviews.

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