I have downloaded and installed NetBeans 4.1 (90 MB), that has automatically installed bothe Java Application Server 8 2005Q2 and Tomcat server 5.5.x? When to use which server?
Personally, of those two products I would use Tomcat for any and all purposes for which it stretches itself. The main difference between Tomcat and Sun's application server is that, well, Tomcat is a web container while the Sun product is a full application server.