How to run the above(EJB Hello world example) application?
I am using Eclipse IDE with WebSphere server. I had created all the three above mentioned files.
What is SessionBeanLocal here ?
Why you have used main function to demostrate EJB ?
It is ridiculous to use main for this, someone can ask you "and what is the diference between SE java Bean and EJB?". You have not explained it.
Some error lies in the above code.
1)SessionBeanBean implements SessionBeanLocal which has not defined in whole programme.
2)In Main Class we should instantiate the object sessionBeanBean otherwise it gives us null pointer exception:
it should be like that, in main function
sessionBeanBean=new SessionBeanBean();
then we have to call the methods.
EJBSubhash July 29, 2011 at 12:38 PM
How to run the above(EJB Hello world example) application? I am using Eclipse IDE with WebSphere server. I had created all the three above mentioned files.
xxxJosh October 20, 2011 at 2:14 PM
SessionBeanLocal - does not exist.
deploygabriele November 29, 2011 at 7:22 PM
Hi, I have created the ejb, but how can I deploy it on JBOSS AS?
error tester March 19, 2012 at 12:08 PM
What is SessionBeanLocal here ? Why you have used main function to demostrate EJB ? It is ridiculous to use main for this, someone can ask you "and what is the diference between SE java Bean and EJB?". You have not explained it.
Improper demoMustafa January 8, 2013 at 6:19 PM
Some error lies in the above code. 1)SessionBeanBean implements SessionBeanLocal which has not defined in whole programme. 2)In Main Class we should instantiate the object sessionBeanBean otherwise it gives us null pointer exception: it should be like that, in main function sessionBeanBean=new SessionBeanBean(); then we have to call the methods.
Post your Comment