title: When should I use POJO (instead of EJB) in a Java EE application?
body: <p>I am currently learning JAVA EE. I use an oracle Java EE 7 tutorial for that. According to this tutorial, section 34.1.4, they used some non-EJB helper classes for the tutorial example. <a href="http://docs.oracle.com/javaee/7/tutorial/doc/ejb-basicexamples001.htm" rel="nofollow">http://docs.oracle.com/javaee/7/tutorial/doc/ejb-basicexamples001.htm</a></p>
  
  <p>I'm wondering in what cases I should make a class EJB, and in what cases I should use a usual helper class. I have read what the benefits of using EJB are. But are there cases when it's better to use POJOs?</p>