Tuesday, August 2, 2011

Setting J2EE Module Dependency in Rad


Using the Java Build path you can only configure the compile time dependencies, and there are various options, such as listing a project as referenced project.

However for J2EE applications you also need to take care that the dependencies are resolved at runtime.

It is best to use a method that resolves both runtime and compile time dependencies with the same settings.

Assuming both projects are associated with the same EAR, then you can simply r-click on the project TestMyWebApp and choose:

RAD 7.5: Java EE Module dependencies
RAD 8: Deployment Assembly

and select the project MyWebApp.

For more information, see the InfoCenters:

https://www-304.ibm.com/support/docview.wss?rs=2042&uid=swg27012580

RAD 7.5 Java EE Module dependencies
http://publib.boulder.ibm.com/infocenter/radhelp/v7r5/index.jsp?topic=/com.ibm.jee5.doc/topics/tjdepend.html

RAD 8 Deployment Assembly
http://publib.boulder.ibm.com/infocenter/radhelp/v8/index.jsp?topic=/com.ibm.javaee.doc/topics/cdeploymentassembly.html

No comments:

Post a Comment