What is container in java? tccicomputercoaching.com A container is responsible to displaying the components according to your layout. In Java Swing, a lot of components can be a container. A Container is a subclass of Component which can contain other components and containers. Frame, Panel and Applet are subclasses of Container. A Container helps to create groupings of objects on the screen.
A web container is responsible for managing the lifecycle of servlets, mapping a URL to a particular servlet and ensuring that the URL requester has the correct access-rights. A web container handles requests to servlets, Java Server Pages (JSP) files, and other types of files that include server-side code. To know more about Programming Language, Advance Java, Object Oriented Concepts, Computer Engineering course, Project Training Call us @ 9825618292 Visit us @ www.tccicomputercoaching.com