title: How do you unit test Java EE code?
body: <p>I want to ask for your prefered way to test Java EE code?</p>
  
  <p>I found only three project, that are trying to help to code unit tests in Java EE environment:</p>
  
  <ul>
  <li><a href="http://jakarta.apache.org/cactus/" rel="noreferrer">http://jakarta.apache.org/cactus/</a> : Last Published: 2009-01-18</li>
  <li><a href="http://www.junitee.org/" rel="noreferrer">http://www.junitee.org/</a> : Last Release: 2004-12-11</li>
  <li><a href="http://ejb3unit.sourceforge.net/" rel="noreferrer">http://ejb3unit.sourceforge.net/</a> : Last Release: 2008-05-17</li>
  </ul>
  
  <p>So I wonder,</p>
  
  <ul>
  <li>is there any framework helping to write (j) unit test for Java EE code?</li>
  <li>do you use embedded Java EE servers like jboss or glassfish v3?</li>
  <li>do you mockup and inject by yourself?</li>
  </ul>
  
  <p>Thanks a lot...</p>