Hi all,
Two questions here.
1) Let's say I have an
EJB (CommonJAR) which perform operations all my application will have to do (say.... a specific mathematic computation with DB updates).
If I do not want to deploy my EJB in each applications, in order to have only 1 version to maintain in production, how can I do that with WAS ?
Can I deploy my EJB in a CommonEAR application and have refs to this EJB in each applications ?
EAR1 --> CommonEAR (contains CommonJAR)
EAR2 --> CommonEAR (contains CommonJAR)
...
Is there a specific visibility to set up for that ? I tried with server visibility and I obtained JNDI lookup errors
2) Personnaly,my feeling is that an EAR file should be self-contained. Each EAR has its own version of the EJB. (that's my workaround for question 1
)
What about you ? [ December 11, 2002: Message edited by: Bill Bailey ]
/ JeanLouis<br /><i>"software development has been, is, and will remain fundamentally hard" (Grady Booch)</i><br /> <br />Take a look at <a href="http://www.epfwiki.net/wikis/openup/" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community