I am trying to learn how to use Web Services. I have been reading this link, but I don't understand the difference between Implement and Not Implement Web Service as a Stateless Session Bean
Asked
Active
Viewed 2,713 times
1 Answers
5
The @Stateless
annotation turns the POJO into an EJB and it gives all the EJB features.
The big difference is that EJBs runs in a full featured Java EE 5+ Web Application Server like GlassFish or JBoss, making it unusable in a Servlet Container like Tomcat or Jetty.
More info:

Community
- 1
- 1

Luiggi Mendoza
- 85,076
- 16
- 154
- 332