title: To EJB3 or not?
body: <p>I have an architecture scenario and I would like to discuss to get your opinion. </p>
  
  <p>I can choose between these two (this is a constraint imposed on me)</p>
  
  <ol>
  <li>Use EJB3+JPA - no Spring/Hibernate</li>
  <li>POJO + JDBC - again no Spring/Hibernate</li>
  </ol>
  
  <p>I have series of web applications (only intranet) that all need to be integrated. At database level, there will be 3 to 4 oracle databases (and about 40 to 50 tables per database). Some applications may interact with more than one database for some queries. Number of concurrent user(s) will be less than 100. User/audience per application will range from 10 to 6000 (max).</p>
  
  <p>All applications will be deployed on one server, and it's very likely that database and server could be on the same machine.</p>
  
  <p>Most of the use cases will be CRUD based (some can offer a good domain model for an ORM while others may not), with some business process, automated jobs etc There may be a future need to integrate with SAP for some applications.</p>
  
  <p>Do you think EJB3 in this case will make the application more scalable or just add complexity? If I design with POJO, will an application of this I don't want to add complexity for no good reason. I tried to lobby for Spring and Hibernate but no success.</p>
  
  <p>let me know if you need more details.</p>
  
  <p>EDIT: I forgot to mention the application server. it's WAS 7.</p>