J2EE is way obsolete. AFAIK, for JEE (the current incarnation of J2EE), there is no download that does not contain GlassFish.
If this is just about servlets, then any servlet container (like
Tomcat) includes the servlet-api.jar and jsp-api.jar files you'd need for servlet/JSP development.