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:
- 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/
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.
mvn archetype:generate -DarchetypeGroupId=org.apache.openejb.maven -DarchetypeArtifactId=tomee-webapp-archetype -DarchetypeVersion=1.7.0
Note: Always use the latest release version for production