http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/GettingStarted.htmlGetting Started Dale Green This chapter shows how to develop, deploy, and run a simple client-server application that consists of a currency conversion enterprise bean and two clients: a J2EE application client and a Web client that consists of a JSP page. In This Chapter Setting Up Getting the Example Code Getting the Build Tool (ant) Checking the Environment Variables Starting the J2EE Server Starting the deploytool Creating the J2EE Application Creating the Enterprise Bean Coding the Enterprise Bean Compiling the Source Files Packaging the Enterprise Bean Creating the J2EE Application Client Coding the J2EE Application Client Compiling the Application Client Packaging the J2EE Application Client Specifying the Application Client's Enterprise Bean Reference Creating the Web Client Coding the Web Client Compiling the Web Client Packaging the Web Client Specifying the Web Client's Enterprise Bean Reference Specifying the JNDI Names Deploying the J2EE Application Running the J2EE Application Client Running the Web Client Modifying the J2EE Application Modifying a Class File Adding a File Modifying a Deployment Setting Common Problems and Their Solutions Cannot Start the J2EE Server Compilation Errors Deployment Errors J2EE Application Client Runtime Errors Web Client Runtime Errors Detecting Problems With the Verifier Tool Comparing Your EAR Files with Ours When All Else Fails
Dale Green This chapter shows how to develop, deploy, and run a simple client-server application that consists of a currency conversion enterprise bean and two clients: a J2EE application client and a Web client that consists of a JSP page. In This Chapter
Setting Up
Getting the Example Code
Getting the Build Tool (ant)
Checking the Environment Variables
Starting the J2EE Server
Starting the deploytool
Creating the J2EE Application
Creating the Enterprise Bean
Coding the Enterprise Bean
Compiling the Source Files
Packaging the Enterprise Bean
Creating the J2EE Application Client
Coding the J2EE Application Client
Compiling the Application Client
Packaging the J2EE Application Client
Specifying the Application Client's Enterprise Bean Reference
Creating the Web Client
Coding the Web Client
Compiling the Web Client
Packaging the Web Client
Specifying the Web Client's Enterprise Bean Reference
Specifying the JNDI Names
Deploying the J2EE Application
Running the J2EE Application Client
Running the Web Client
Modifying the J2EE Application
Modifying a Class File
Adding a File
Modifying a Deployment Setting
Common Problems and Their Solutions
Cannot Start the J2EE Server
Compilation Errors
Deployment Errors
J2EE Application Client Runtime Errors
Web Client Runtime Errors
Detecting Problems With the Verifier Tool
Comparing Your EAR Files with Ours
When All Else Fails