EJB: Why do I get this error in JNDI lookup?

Well, it looks like either: The class implementing StatelessInterogareRemote is not serializable or Some method in the interface StatelessInterogareRemote has (recursively) a parameter or a return type which is not serializable Just to be clear: a serializable object is one that implements the Serializable interface; and by recursively I mean to say that the object, its attributes, its attributes' attributes and so on - all they must be serializable, too Since you're indicating that the EJB is stateless, it should be clear that it must not have attributes, but just in case: all the attributes in the EJB must also be serializable, or transient in case they can't be serialized.

Well, it looks like either: The class implementing StatelessInterogareRemote is not serializable or Some method in the interface StatelessInterogareRemote has (recursively) a parameter or a return type which is not serializable Just to be clear: a serializable object is one that implements the Serializable interface; and by recursively I mean to say that the object, its attributes, its attributes' attributes and so on - all they must be serializable, too. Since you're indicating that the EJB is stateless, it should be clear that it must not have attributes, but just in case: all the attributes in the EJB must also be serializable, or transient in case they can't be serialized.

Seems that the serialization is the problem. There is a Statefull bean witn 2 attributes: private transient HashMap qty; si private ArrayList products; The class implements Serializable, but still not working. – Emanuel Nov 1 at 8:04 Check if ProdusDTO is Serializable, and if its attributes are Serializable, and so on – Óscar López Nov 1 at 13:28.

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