This week's giveaway is in the Programmer Certification (OCPJP) forum.
We're giving away four copies of Java Mock Exams (software) and have David Mayer on-line!
See this thread for details.
Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

J2EE deploytool for 1.3 and relationships

 
alzamabar
Ranch Hand
Posts: 379
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, just wanted to highlight that, *yes*, we are supposed to take the exam for J2EE 1.3 but when we try to define relationships (CMR) using the 'deploytool' application, for this version a know bug states that it's not possible to define relationships.

Workaround?

Define a dummy relationship (with CMP fields) in the deploytool, so that the deployment descriptor is written for you, unzip the ear file in a tmp folder, change the deployment descriptor to reflect the CMR fields, re-zip only the ejb-jar (the modified .ear is given as corrupted by deploytool, while it deploys fine on JBoss), open the .jar file from within deploytool (it will ask you to create an application). *DON'T* try to re-edit the relationships, this would mess everything up again.

Cheers,

Marco
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!