adam bien's blog

NetBeans 7 + TomEE 1.5.2 Integration 📎

NetBeans comes with Tomcat integration already. http://tomee.apache.org is Tomcat On Steroids. TomEE looks and feels like Tomcat.

To integrate TomEE with NetBeans:

  1. Download and extract TomEE
  2. Setup TomEE's roles for deployment in
    tomcat-users.xml:
    
    
    <role rolename="tomee-admin" />
      <user username="tomee" password="tomee" roles="(...),manager-script" />
    
    
  3. Add TomEE to NetBeans: Tab: Services --> Servers --> Add Server, choose Tomcat
  4. Specify the user and password from tomcat-users.xml
  5. "Run" a Java EE 6 application from NetBeans. It works with Maven and Ant projects

Some interesting log statements:


INFO: OpenWebBeans Container has started, it took 5 ms.
INFO: Server startup in 1364 ms

See you at Java EE Workshops at MUC Airport!