EJB Stateless Session Bean - could not create error?

If this is a local EJB (in the same JVM / EE container as your servlet) you could try declaring your EJB as a LocalBean (under the Stateless annotation). You could also remove the Remote interface (and make your EJB no loger implement it).

If this is a local EJB (in the same JVM / EE container as your servlet) you could try declaring your EJB as a @LocalBean (under the @Stateless annotation). You could also remove the @Remote interface (and make your EJB no loger implement it). So your EJB would become @Stateless @LocalBean public class SDBSStatelessSessionBean { public String say() { return "This seems to be working just fine."; } }.

Thanks! I made the changes and it worked. I had to restart the project from scratch in netbeans and for some reason it worked this time round.

– Insectatorious May 2 at 6:29 No problem, using EJB's was simplified with EE6 (thankfully! ) – Jon May 2 at 12:08.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions