IBM Support

Purpose and use of JPA_WEB_DEV web-jpa-dev.jar

Question & Answer


Question

What is the purpose of the web-jpa-dev.jar added as classpath variable JPA_WEB_DEV when invoking the JPA Manager Bean wizard on a JPA project in IBM Rational Application Developer for WebSphere Software v7.5?

Answer

The JPA Manager Bean wizard is a Rational Application Developer (RAD) v7.5 addition to the JPA tools based on the Eclipse Dali Plugin. When you create a JPA Manager Bean for a Java JPA project, it adds to the Build Path of the Java JPA project a library Classpath Variable.

For example, in a Java Build Path (.classpath file) you will see:

<classpathentry kind="var" path="JPA_WEB_DEV">

where:

JPA_WEB_DEV = {RAD_Install_Dir}/SDP70Shared/plugins/com.ibm.etools.webtools.customtag.lib_7.0.400.v20080722-0430/jars/jpa/web-jpa-dev.jar


Note: The shared plug-in version can vary with the RAD v7.5.x/v8.x update version in use. Search on "com.ibm.etools.webtools.customtag.lib_" in the
{RAD Install dir}\configuration\org.eclipse.update\platform.xml file, to see the version in use by your RAD version.


Specifics about this jar:
  • web-jpa-dev.jar is development/build time jar used only by RAD, so its not needed on a Java EE server, such as WebSphere Application Server v7.0/v8.x. It is just referenced in the build path for development time purposes.
  • The JAR stores development time annotations that are not needed or used at runtime, meaning that jar is not deployed to the server.

[{"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"J2EE Tooling","Platform":[{"code":"PF033","label":"Windows"},{"code":"PF016","label":"Linux"}],"Version":"7.5;7.5.1;7.5.2;7.5.3;7.5.4;7.5.5;7.5.5.1;7.5.5.2;7.5.5.3;7.5.5.4;7.5.5.5;8.0;8.0.1;8.0.2;8.0.3;8.0.4;8.0.4.1;8.0.4.2;8.5;8.5.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21384933