The Java EE 5 Tutorial  Using Two Application Servers for the
sendremote Example      If you are using NetBeans IDE, you need
to add the remote server in order to deploy the message-driven
bean there. To do so, perform these steps:    1. In NetBeans
IDE, click the Services tab.    2. Right-click the Servers node
and choose Add Server. In the Add Server Instance dialog,
perform these steps:      1. Select Sun Java System Application
Server (the default) from the Server list.      2. In the Name
field, specify a name slightly different from that of the local
server, such as Sun Java System Application Server (1).      3.
Click Next.      4. For the Platform Folder location, you can
either browse to the location of the Application Server on the
remote system or, if that location is not visible from the local
system, use the default location on the local system.      5.
Select the Register Remote Domain radio button.      6. Click
Next.      7. Type the system name of the host in the Host
field.      8. Click Nex