Chapter 9: Importing and Exporting Application Components
The J2EE connector architecture enables you to write portable Java applications that can access multiple transactional enterprise information systems. The EAServer connector implementation defines the relationship between the application server and a resource adapter, also known as a connector. A connector is a specialized connection factory that provides connections for EJBs, Java servlets, JSPs, and CORBA-Java components.
Importing a connector
From EAServer Manager, you can import a connector from either an EAServer JAR file, or a J2EE resource archive (RAR) file.
Choose File | Deploy | [EAServer JAR | J2EE RAR]. For a JAR file, this displays the Specify JAR File dialog box. For an RAR file, it starts the Deploy wizard.
Enter the name of the JAR or RAR file, or click Browse and select the file.
In the Deploy wizard, select whether to have EAServer prompt you before it overwrites existing objects.
In the Specify JAR File dialog box, click OK. A message box informs you whether the file is successfully deployed.
In the Deploy wizard, click Next. The deploy wizard displays the deployment status.
Exporting a connector
You can export a connector to either an EAServer JAR file or a J2EE RAR file.
Expand the Connectors folder, then highlight the connector you want to export.
Choose File | Export | [EAServer JAR | J2EE RAR]. For an EAServer JAR file, this displays the Export dialog box. For a J2EE RAR file, this displays the Export wizard.
Enter the location where you want EAServer to export the file, or click Browse and select the location. For an EAServer JAR file, click Export. A message box informs you whether the export is successful. For a J2EE RAR file, click Next. The Export wizard displays the export status.
|Copyright © 2005. Sybase Inc. All rights reserved.|