aspose file tools*
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
Author

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
yewint
Madhan Sundararajan Devaki
Ranch Hand

Joined: Mar 18, 2011
Posts: 312

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


S.D. MADHAN
Not many get the right opportunity !
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: invoking remote ejb across network