[All]
How can I prevent JBuilder from overwriting changes made to my EJB deployment descriptors?
By: Josh Fletcher
Abstract: How to properly modify your EJB deployment descriptors in JBuilder.
Question:
|
How can I prevent JBuilder from overwriting changes made to my EJB deployment descriptors?
For example, using WebLogic, I have tried to specify the WLQL for my finder-query elements. When I do a make, JBuilder loses the changes.
|
| |
Answer:
|
All vendor-specific descriptor information is kept in the ejb-inprise.xml or ejb-borland.xml file (the file name depends on the version of JBuilder), even if you are not targetting IAS/BAS/BES as yor application server. Your WebLogic descriptors, for example, are re-generated whenever that file or ejb-jar.xml is modified. If you want a change to "stick", do not modify the WebLogic descriptors directly. Instead, modify the ejb-inprise.xml or ejb-borland.xml file.
|
| |