This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Getting MEAN with Mongo, Express, Angular, and Node and have Simon Holmes on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes invoking remote ejb across network Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "invoking remote ejb across network" Watch "invoking remote ejb across network" New topic

invoking remote ejb across network

Yewint Ko
Ranch Hand

Joined: Aug 02, 2009
Posts: 90
HI all
I have a servlet application deployed on , say , server A and EJB app on server B . How do i invoke the ejb from the client web application on server A . Both application are running on Glassfish 3 . Can i use DI to inject remote resources . If not , i guess i have to use JNDI . Any suggestion and tutorial please .

Thanks in advance
Madhan Sundararajan Devaki
Ranch Hand

Joined: Mar 18, 2011
Posts: 312

I believe you need to invoke the EJB through its remote interface.

Not many get the right opportunity !
I agree. Here's the link:
subject: invoking remote ejb across network