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 want to access a session bean distributed environment i.e. I have a EJB Component say Session bean deployed on one machine , a Web client say Servlet deployed on another machine which is using the deployed Session bean from first machine and running the Servlet from the third machine. Is it possible ? I am using Glassfish as the application server and Netbeans 6.1 as the IDE.
Yes this is possible. On Machine A you can deploy the beans. On Machine B deploy the servlet and the servlet will do a JNDI lookup, passing the jndi properties to point to the bean on Machine A. Then on Machine C you can open a browser and access the servlet deployed on Machine B. All you have to do is install Glassfish on A and B and deploy the servlet and EJB.