This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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 .