-
Calling an EJB from another one in different EAR (2 messages)
- Posted by: Simo Cussonet
- Posted on: July 10 2008 07:40 EDT
Hello, We have two projects in our enterprise that use the same EJB. In order to mutualize the EJB we placed this EJB in its own enterprise application. So, each project team delivers its enterprise application and the EJB inside it have to connect to the common EJB. My question is: how can I access it ? Can I use ejb-external-ref or do I have to connect as if it was a Java Client (giving naming directory iiop URL). Thanks in advance for your help, don't hesitate to ask if you don't understand something. PierreThreaded Messages (2)
- Re: Calling an EJB from another one in different EAR by Dipak Sodani on July 11 2008 02:08 EDT
- Re: Calling an EJB from another one in different EAR by Simo Cussonet on July 11 2008 02:47 EDT
-
Re: Calling an EJB from another one in different EAR[ Go to top ]
- Posted by: Dipak Sodani
- Posted on: July 11 2008 02:08 EDT
- in response to Simo Cussonet
the best option would be to connect as if it was a Java Client (giving naming directory iiop URL). this gives you the flexible option also if there is a change in service.. you just need to edit your property file. cheers. -
Re: Calling an EJB from another one in different EAR[ Go to top ]
- Posted by: Simo Cussonet
- Posted on: July 11 2008 02:47 EDT
- in response to Dipak Sodani
the best option would be to connect as if it was a Java Client (giving naming directory iiop URL). this gives you the flexible option also if there is a change in service.. you just need to edit your property file.
Thanks for the answer, I'll do this.
cheers.