The j2eeadmin tool is a command-line script that enables you to add and remove these resources: JDBC drivers and data sources, JMS destinations and connection factories, and resource adapter connection factories.
-addConnectorFactory <jndi-name> [<app-name>:] <rar-filename> [<xa-user-name> <xa-password>] [-props (<name>=<value>)+]
|Adds a connection factory with the specified < jndi-name >. The connection factory is contained in the RAR file specified by < rar-filename >. The < rar-filename > must be the base name of the file; it cannot include any prefix ending in / (UNIX) or \ (Windows). If the RAR file is contained in an EAR file, then the name of the J2EE application ...|