Few versions ago TomEE was integrated to Intellij Idea. Here are some screenshots showing you how it looks like.
The first thing to keep in mind is even if Idea manages advanced deployment (ear) it is basically the Tomcat adapter which was copied (so some options can look weird when seen for the first time).
When you launch Idea (Ultimate) the first time don’t forget to select “Tomcat and TomEE”:
Then once Idea is started and you created/opened a project just create a new run configuration selecting TomEE server:
Once that’s done you can configure TomEE:
And finally you can start it as any server simply clicking on the little green arrow:
It starts, logs are redirected in the Idea console (and the famous red button appeared ;):
Here we are, you have all is needed to develop with Apache TomEE under Intellij Idea :).
Have a good coding time!