Rahul Jha, from patana, Kankad bag, 9730477149
[object Object]
An object made by a human being.
[object Object]
What is object-oriented systems development
ServletContext Defines a set of methods that a servlet uses to communicate with its servlet container.ServletConfig is a servlet configuration object used by a servlet container used to pass information to a servlet during initialization. All of its initialization parameters can ONLY be set in deployment descriptor.The ServletContext object is contained within the ServletConfig object, which the Web server provides the servlet when the servlet is initialized.You can specify param-value pairs for ServletContext object in tags in web.xml file.The ServletConfig parameters are specified for a particular servlet and are unknown to other servlets. The ServletContext parameters are specified for an entire application outside of any particular servlet and are available to all the servlets within that application.By Santanu
You can get the ServletContext instance in a servlet by using the getServletContext() method provided by the HttpServlet class, which is the base class for servlets. This method returns the ServletContext object associated with the servlet. For example: ServletContext context = getServletContext();
servletcontext
EJB generally is used for the following reasons - 1. To extract the business logic from web tier and implement the buginess logic in ejb. 2. EJB can also run on different system. So for big application to reduce load buniness logic implementation code can be executed in different system. 3. Since to run the EJB, develop needs an EJB container. So these are following activities are managed by the EJB container - i. To handle resouce polling. Basically EJB container create EJB instance and place in poll to ready when require it provides the instance. ii. Transaction management using @ContainerBeabManaged annotation iii. Threading iv. concurency handleing Thanks aswini.de@gmail.com
dd
3.1
i am a 38k 36N
ServletContext is an interface for communication with the servlet container while PageContext is an object for managing data related to a JSP page. ServletContext is used for application-wide resources while PageContext is specific to a single JSP page.
38 000.00
RMI simply offers remote access to an object running in another process. But EJB offers far more services than RMI. EJB leverages this remote-object feature of RMI, but also provides other services such as persistence, transaction management, security, and resource management. The EJB server provides all of these complex services which allows EJB developers to worry about business logic instead. For a complete understanding of EJB i suggest Http://edocs.bea.com/wle/rmi/sampejb.htm
No.
Rahul Jha, from patana, Kankad bag, 9730477149