Get Started with the TomEE Maven Archetype

I know you’ve been thinking about TomEE for some time. It’s on your list of “things to check out”, but maybe you haven’t had the time to set aside a half day to dive into the details of running TomEE? Maybe you think it’s going to take too long to get started? It won’t, give me two minutes. Here’s a video that demonstrates the process of getting started with TomEE in just that time. If you want to get started with TomEE and you have two minutes to spare, watch this:

All you need to do to start using TomEE right now is:

Install Apache Maven 3.1.1

Run “mvn archetype:generate” passing in the arguments shown below

Run “mvn package tomee:run”

Fire up a web browser and go to http://localhost:8080/

Enjoy.

To create a sample application with the pom.xml configuration for the Maven TomEE plugin just run the following command. It will automatically use the latest version of the TomEE archetype, and you can use this as a start point for your evaluation.