Deploying Java Service Interfaces

When you deploy a Java service interface, this produces an EJB or Java bean and several accompanying files that are copied to the appropriate enterprise server.

Once a Java service is ready for use in a production environment, you should deploy it to an enterprise server using the .car file generated during the last deployment. You can either use the mfdepinst command to deploy the .car file, or you can deploy it manually.

  • If the service has been mapped as an EJB interface, you might need to perform one or both of the following tasks in addition to deploying the .car file:
    • Deploy the EJB to a Java application server
    • Deploy a resource adapter
  • If you generate a client for your Java service, the .car file is deleted from the deployment folder. When setting up your service in a production environment, be sure to deploy this file before generating a client.