Setting up a Persistence Manager Resource on the Sun Java System Application Server

See Also

A Persistence Manager Resource is required so that applications with container-managed persistence (CMP) beans that were developed to run on Sun Java System Application Server 7 can run on Sun Java System Application Server 8.

To create a persistence manager resource:

  1. Make sure the Java System Application Server is running.
  2. Go to File > New File (Ctrl-N).
  3. In the Project drop-down list, choose either your EJB module or Web module.
  4. Select Sun Resources in the Categories pane, Persistence Resource in the File Types pane, and click Next.
  5. Select an existing JDBC resource or create a new one.
  6. (required) Enter a JNDI name for the resource.
  7. Leave the Factory Class as it is. This property is optional and has been deprecated.
  8. Enable or disable the resource by choosing true or false.
  9. Enter a description and click Next.
  10. Leave the resource properties empty.
  11. Click Finish.

Once you have created the resource in your project, the resouce needs to be registered with the server. For more, see Registering a Resource with the Server

See Also
Registering a Resource with the Sun Java System Application Server

Legal Notices