Sun Java Solaris Communities My SDN Account Join SDN
 
Tutorials & Code Camps

Chapter 1 Continued: Choosing the Software

 
Training Index

[<<BACK] [CONTENTS] [NEXT>>]

With the application modeled and the project requirements defined, it is time to think about which Java APIs to use. The application is clearly client and server based because you will want to accommodate 1 to n buyers, sellers, and viewers at any one time. Because registration and auction item data must be stored and retrieved from somewhere, you will need an API for database access.

Java APIs

The core application can be created in a number of ways using any of the following APIs:

  1. Sockets, multithreading, and JDBC APIs.
  2. Remote Method Invocation (RMI) and JDBC APIs.
  3. Enterprise JavaBeans platform.

Enterprise JavaBeans provides an easy way to create thin-client multitiered applications because it handles transaction and state management, multithreading, resource pooling, and other complex low-level details. The simplest way to code the auction application is with the Enterprise JavaBeans platform.

Chapter 2 explains the core application code and how to set up and run the example.

With the application modeled and the project requirements defined, it is time to think about which Java APIs to use. The application is clearly client and server based because you will want to accommodate 1 to n buyers, sellers, and viewers at any one time. Because registration and auction item data must be stored and retrieved from somewhere, you will need an API for database access.

[TOP]