<p>I know something about Java but completely new to Enterprise Java. I'm trying my hand with NetBeans 6.1 and GlassFish Application Server. 
Please guide me to some resources which tell me actually what java enterprise applications are, how they are different from normal java classes etc. </p>

<p>Also which is the best application server to use (on Linux)?</p>

[{'answer_id': 75126, 'author': 'Kristian', 'author_id': 11429, 'author_profile': 'https://Stackoverflow.com/users/11429', 'pm_score': 3, 'selected': False, 'text': '<p><a href="http://java.sun.com/javaee/5/docs/tutorial/doc/" rel="noreferrer">The Java EE 5 Tutorial</a> - read online or as pdf</p>\n\n<p><a href="http://www.manning.com/panda/" rel="noreferrer">EJB 3 in Action</a> - great book that covers everything you need to know</p>\n\n<p>I have also recently started with Java EE and I have only used Glassfish/Sun Application Server so far, but from what I understad from my colleagues at work and what I have seen so far Glassfish seems to be the the best choice at the moment.</p>\n'}, {'answer_id': 75222, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 1, 'selected': False, 'text': '<p>Glassfish on Linux is an excellent choice.</p>\n'}, {'answer_id': 95084, 'author': 'Zombies', 'author_id': 17675, 'author_profile': 'https://Stackoverflow.com/users/17675', 'pm_score': 5, 'selected': True, 'text': '<p>"what java enterprise applications are, how they are different from normal java classes etc"</p>\n\n<p>Well they are normal classes. They are ran by an application server. The "application server" is often <em>just a JVM</em>, but sometimes enhanced or modified or extended by the vendor. But that shouldn\'t be any concern to you. The application server (ie: JVM) uses a class loader (probably customized by vendor) to load your servlet (any class that implements the HttpServlet interface). Any other classes (not just J2EE classes, but all classes) will be loaded by the class loader. From there on it is your same java code. I hope this gives you the kind of answer you want. Reading J2EE documents (even aimed towards developers) usually entails meaningless buzzwords.</p>\n\n<p>I would recommend that you look over the J2EE Tutorial from Sun. It\'s free, and goes over the basics that you should know before moving onto a framework (Struts for example). And of course must need to know if you are just going to use just straight J2EE.</p>\n\n<p>You may wish to familiarize yourself with some of this:</p>\n\n<ul>\n<li><a href="http://java.sun.com/j2ee/1.4/docs/api/" rel="noreferrer">http://java.sun.com/j2ee/1.4/docs/api/</a></li>\n<li>You may also wish to go over HTTP specification (RFC or elsewhere) as well in case you don\'t understand how http requests and responses are processed by a standalone webserver.</li>\n<li><a href="http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Overview3.html" rel="noreferrer">http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Overview3.html</a> (web containers in particular)</li>\n</ul>\n\n<p>A couple of helpful facts:</p>\n\n<ul>\n<li>A JSP is compiled into a servlet. These were created so that your Servlets wouldn\'t have to be developed using an Output Writer to handle every write to page content (the JSP will be compiled into that for you). ie: out.println("&lt;html&gt;etcetc...")</li>\n<li>the request (HttpServletRequest) object represents the request.</li>\n<li>the response (HttpServletRespone) object will build the response. (both the http headers and content).</li>\n<li>Session and Context objects are also important. The former is for carrying session scoped objects (managed by the app server) and mapped to a jsessionid cookie on the client side (so it knows what client (ie: request) has what objects on the server side). The context object is used for initial settings.</li>\n<li>You will want to go over web containers to fit it all together.</li>\n</ul>\n'}, {'answer_id': 6365910, 'author': 'Caffeinated', 'author_id': 763029, 'author_profile': 'https://Stackoverflow.com/users/763029', 'pm_score': 1, 'selected': False, 'text': '<p>I always like to start with wikipedia: <a href="http://en.wikipedia.org/wiki/Java_Platform,_Enterprise_Edition" rel="nofollow">http://en.wikipedia.org/wiki/Java_Platform,_Enterprise_Edition</a></p>\n\n<p>Mastering a good IDE like Eclipse is worthwhile. </p>\n\n<p>Last but not least, YouTube has nice how-to vids:</p>\n\n<p><a href="http://www.youtube.com/watch?v=_-IDpzC0n9Y" rel="nofollow">http://www.youtube.com/watch?v=_-IDpzC0n9Y</a></p>\n'}]
['https://Stackoverflow.com/questions/75064', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/13198/']