Mark Herschberg, author of The Career Toolkit
https://www.thecareertoolkitbook.com/
Originally posted by Chris Mathews:
Actually my first guess would be JBuilder 8 did something funny with the descriptors. It would be helpful to see the actual ejb-jar.xml and weblogic-ejb-jar.xml that gets generated by JBuilder.
Originally posted by Chris Mathews:
Personally, I don't think you should use JBuilder to deploy your ejbs (and other J2EE components). It makes it very hard to create builds that are exactly reproduceable among all team members. You should look into using ANT to build your components to be deployed. This way all the team members can use the same build process and errors will be easily traceable. You can even use your ANT scripts to kick off Unit Tests. This can also lead itself easily to automation and allow you to take advantage of XP practices such as continous integration. I find continous integration extremely useful at identifying errors early.
Originally posted by Chris Mathews:
As it is, you could merely have a difference in your JBuilder settings compared to your co-worker. This could be what is causing all of your problems.
Your problem could also result from the order of your deployments. Are you deploying separate ejb jars or just a single jar?
Last question, have you tried running ejbc on your jar outside of JBuilder? Does is pass compile correctly?
Mark Herschberg
I'm deploying a single jar. Do you think I should put each bean into its own jar?
Mark Herschberg
What we did find was some JBuilder idosynchrocies.
Mark Herschberg
JBuilder can create the Ant files for us
Originally posted by Mark Herschberg:
Well, we're still not 100% certain of the cause, but it seems to be fixed. All I did was start over, and recreate the first bean. but the settings are all as before. My best guess is some bits didn't get switched when I switched some settings in the bean designer. Lesson learned: deploy one bean at a time. Thanks for your help, Chris.
--Mark
Originally posted by Chris Mathews:
That is why I dislike using tools like JBuilder that hide settings for the sake of simplicity. Things are great and wonderful... until they break.
Roses are red, violets are blue. Some poems rhyme and some don't. And some poems are a tiny ad.
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|