I tried your Stateless session bean example in the path http://www.roseindia.net/ejb/examples-of-StatelessBean.shtml. I got the below exception can you plese guide to rectify the issue.
$Proxy65 cannot be cast to com.javajazzup.examples.ejb3.stateless.CalculatorRemote1
An interface CalculatorRemote is created in that example which is stored in com.javajazzup.examples.ejb3.stateless. com.javajazzup.examples.ejb3.stateless is an user defined package. So you need to create that interface and stored in a package and call that package in jsp.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.