Hello,
I am new to EJB can anybody tell me how to write the ejb-jar.xml file and what are the necessary configuration file needed for this example? I am using Jboss-4.2.3.GA when I am running the application and click on submit button it is throwing "Error:$Proxy81 cannot be cast <class>"
I'd like to ask the article author to update links, if possible, please. We can see: "Make a directory structure. You can Click here to extract the readymade", but "Click here" doesn't work :(
Kind regards,
MP.
you need explain paragraph :
calculator = (CalculatorRemote) ic
.lookup("example/CalculatorBean/remote");
in jboss 7.1 we need string
.lookup("ejb:APP-name/app-module/distince-name/BeanClass!full-class-Remote")
I tried to deploy the application in weblogic. I get an error while looking up the EJB. If i remove the @Remote annotation from CalculatorRemote interface, then i'm able to look up. Is it conflicting with @Remote(CalculatorRemote.class) defined in CalculatorBean class ?
Error:$Proxy81 cannot be castArat July 28, 2011 at 3:42 PM
Hello, I am new to EJB can anybody tell me how to write the ejb-jar.xml file and what are the necessary configuration file needed for this example? I am using Jboss-4.2.3.GA when I am running the application and click on submit button it is throwing "Error:$Proxy81 cannot be cast <class>"
Please update clickable source packagesMarcin Poniedzielski June 18, 2012 at 3:49 PM
I'd like to ask the article author to update links, if possible, please. We can see: "Make a directory structure. You can Click here to extract the readymade", but "Click here" doesn't work :( Kind regards, MP.
dont understand at allhải nam July 3, 2012 at 3:36 PM
you need explain paragraph : calculator = (CalculatorRemote) ic .lookup("example/CalculatorBean/remote"); in jboss 7.1 we need string .lookup("ejb:APP-name/app-module/distince-name/BeanClass!full-class-Remote")
Stateless EJB Seetesh October 25, 2012 at 10:18 PM
JNDI name and its configuration is missing in the code for lookup by the JSP. Cos of this code doesnt work on JBoss 7
@Remotedude January 1, 2013 at 8:28 PM
I tried to deploy the application in weblogic. I get an error while looking up the EJB. If i remove the @Remote annotation from CalculatorRemote interface, then i'm able to look up. Is it conflicting with @Remote(CalculatorRemote.class) defined in CalculatorBean class ?
Post your Comment