Which one do you perfer to use?

For me I am using glassfish becuase netbeans installed it for me.
Also I heard glassfish support newer java api while tomcat doesnt

Glassfish is a full fledged application server while Tomcat is just a servlet container. The choice of which to use depends on your purpose of using the same.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.