It's just my opinion but if you really want to learn how the things works, then use your IDE just for code editing and do the rest from the console, you will see how things works under the hoods.
I am going to describe how to run things under Linux but it's pretty similar to do it on Windows.
For instance, download JBoss from here, unzip it, go
in the console to the folder where you have unzipped it and run sh bin/standalone.sh
- whoa, your server is running now and you didn't need any hardcore setup in your IDE:-)
Then, it's always nice to have some application to get you started. If you are going to build an enterprise application you will definitely need some kind of tool which will manage your dependencies and libraries you will need for your project. In Java world, this tool is most commonly Maven. So install it to your machine (you will find some tutorial for this) and then just issue from command line this command
mvn -DarchetypeGroupId=org.codehaus.mojo.archetypes -DarchetypeArtifactId=webapp-javaee6 -DarchetypeVersion=1.5 -DarchetypeRepository=http://repo.maven.apache.org/maven2 -DgroupId=org.yourProject -DartifactId=hello-javaee7 -Dversion=1.0-SNAPSHOT -Dpackage=org.yourProject.hellojavaee7 -Darchetype.interactive=false --batch-mode archetype:generate
Then edit your pom.xml
which contains dependencies for your project, you see there is just a single one - javaee-web-api
which will give you everything you need for Java Web development, nice, isn't it?:-)But you have said that you need full Java EE stack, so change this dependency into
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
<version>7.0</version>
</dependency>
And you've got even EJB, JTA and other technologies supported in your project. Ok, I now suppose you would like to see your app running, add another plugin to your pom.xml
<plugin>
<groupId>org.jboss.as.plugins</groupId>
<artifactId>jboss-as-maven-plugin</artifactId>
<version>7.3.Final</version>
</plugin>
And then just issue this command from your project home directory
mvn jboss:deploy
And that's it, your starter app is available on http://localhost:8080/hello-javaee7-1.0-SNAPSHOT/
I guess it's little bit overwhelming for the start but it's not so hard, you don't have to be expert on Maven, JBoss, EJB or any other technology to build enterprise application:-)
P.S. I am not against any IDE but I think it's great to learn these things outside IDE because it will help you understand how things actually works, bonus of this approach is also that you can import this project to any IDE you want and continue development there.