6.6.0.15.2: Meet-in-the-middle mapping support

By default, the ejbdeploy command automatically generates top-down mapping. However, after completion of the top-down operation, you can modify the resulting map and schema to fit your existing data or models (meet-in-the-middle). Follow the steps below if you want to modify the default schema and/or map.

To start this process, you need a standard EJB-1.0 or 1.1 JAR file.

  1. Run the ejbdeploy utility using the -codegen argument.
  2. Modify the database schema.
  3. Modify the map.
  4. Generate deployment code for your enterprise beans by running the ejbdeploy utility again. This produces a deployed JAR that can be installed directly into WebSphere Application Server 4.0.
Go to previous article: Generating EJB deployment code from the command line Go to next article: Modifying the schema document

 

 
Go to previous article: Generating EJB deployment code from the command line Go to next article: Modifying the schema document