title: Should I use EJB3 or Spring for my business layer?
body: <p>My team is developing a new service oriented product with a web front-end.  In discussions about what technologies we will use we have settled on running a JBoss application server, and Flex frontend (with possible desktop deployment using Adobe AIR), and web services to interface the client and server.</p>
  
  <p>We've reached an impasse when it comes to which server technology to use for our business logic.  The big argument is between EJB3 and Spring, with our biggest concerns being scalability and performance, and also maintainability of the code base.</p>
  
  <p>Here are my questions:</p>
  
  <ol>
  <li>What are the arguments for or against EJB3 vs Spring? 
  
  <ul>
  <li>What pitfalls can I expect with each?</li>
  <li>Where can I find good benchmark information?</li>
  </ul></li>
  </ol>