We usually get servlet-api.jar along with web/app server. So does it mean each one have it's own implementation of servlet JSR or will they use SUN provided api. Does this applicable to all other J2ee API's like EJB JMS MAIL
Thanks, Student
We usually get servlet-api.jar along with web/app server. So does it mean each one have it's own implementation of servlet JSR or will they use SUN provided api. Does this applicable to all other J2ee API's like EJB JMS MAIL
Thanks, Student
Like as the remnant of the whole Java EE API, the Servlet API is abstract. Sun Oracle doesn't provide any code. The contract is definied on paper (API specification, javadocs, etc). The implementors have to provide the concrete API and implementation themselves which comply the specs/javadocs. But there's usually a so called "reference implementation" whose code may be shared/reused/forked for other implementations. Until with Servlet 2.5, this used to be Apache Tomcat. For Servlet 3.0 this is Glassfish.