Prev | Next

TOC | Index

J2EETM Developer's Guide
Getting Started


Deploying the J2EE Application

Now that the J2EE application contains an enterprise bean, it is ready for deployment.

1. Specify the JNDI name of the enterprise bean.

a. In the Application Deployment Tool, select ConverterApp in the tree view.
b. Select the JNDI Names tab.
c. In the JNDI Names field, enter MyConverter and press Return. The client will use this name to locate the home interface. (See a later section, "Locate the Home Interface".)
2. Deploy the J2EE application.

a. From the Tools menu, choose Deploy Application.
b. In the first dialog box, verify that the Target Server selection is either "localhost" or the name of the host running the J2EE server.
c. Select the checkbox labelled "Return Client Jar."
d. In the text field that appears, enter the full path name for the file ConverterAppClient.jar. This file will reside in the doc/guides/ejb/examples/converter subdirectory of your J2EE SDK installation.
e. Click Next.
f. In the second dialog box, verify that the JNDI name for the ConverterBean is MyConverter.
g. Click Next.
h. In the third dialog box, click Finish.
i. In the Deployment Progress dialog box, click OK when the deployment completes.


Prev | Next

TOC | Index


Copyright © 2000 Sun Microsystems, Inc. All rights reserved.