File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Spring in Action this week in the Spring forum!
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 !
Don't get me started about those stupid light bulbs.
subject: invoking remote ejb across network