I may be being naive here, but my assumption was that with EJB 3, just marking a class as @Stateful is now all that is required to make it a stateful session bean.

My question: can I deploy it as is, and if so how? Or do I still need to package it up in an EAR. I would like to think that the annotation is sufficient, but I may be being over-optimistic.

Thanks in advance for any help.