I am new to the world of remotes and homes. I am stuck in this problem for a while... Please help me out.
I am using EJB 2.1 , Jboss 4.0.2, JDK 1.6 and JRE 5.0. I can able to invoke the session bean from a java application. But when i tried to invoke from the servlet (in my case JSF servlet,... also i tried with the Http Servlet ...i got the same result), it is giving the communication exception error. just like the call from main method, i am using Eclipse RCP as a front end and can be able to invoke the session beans.
1. What is the configuration need to be done in Jboss AS for EJB. Please explain it.
2. What is the exact difference between when a user making a call from a main method and call from a servlet.
3. Do i have to use the concept of Mbean? if it is so, could you please brief it. Or giveme some links to explore it.
Here is the class which is invoking the (Proxy) EJB,
This is the Error Message i am getting when i tried to invoke the EJB session bean ..... I understood that the root exception is because of the jboss-client.jar and jbossall-client.jar. But i am using the same jar files which comes along with the jboss 4.0.2.Zip. I am getting the same error. Is there any other thing causing this error? So what is the solution for this problem.