February 26, 2008 at 1:16 PM
Difference between jdk 1.4 and jdk1.5
Sun added some more advanced and some new features to new J2SE 1.5 released as compared to J2SE 1.4. Sun have made more additions to make the Collection framework better. They also added more features such as Generics, Annotations any many more. Generics made the collection framework to store the objects of the related type.
Difference between Servlet?s context and config object
In servlet programming, the servlet context is the environment where all the servlet runs. Every variable stored in the servlet context is accessable to all the servlets running in that context. The servlet container creates a ServletContext object that you can use to access
information about the servlet's environment. Every application can have only one context and all the servlets communicates with each other through this context by using the context parameters.
A servlet configuration object used by a servlet container used to pass information to a servlet during initialization. Every servlet can have its servlet config object to use init parameters.