Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

invoking remote ejb across network

 
Yewint Ko
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 312
Java MS IE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe you need to invoke the EJB through its remote interface.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic