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.