A tier is an abstract concept that defines a group of technologies that provides one or more services to its clients. In multi-tier architecture each tier contains services that include software object or DBMS. Multi-tier architecture is composed of clients, resources, components (service), and containers. Clients, Resources and Components A client...

Read More

J2EE (Java 2 Enterprise Edition) is an environment for developing and deploying enterprise applications. The J2EE platform consists of J2EE components, services, Application Programming Interfaces (APIs) and protocols that provide the functionality for developing multi-tiered and distributed Web based applications. Before reading further it is reco...

Read More

A component is an application level software unit as shown in the table above. All the J2EE components depend on the container for the system level support like transactions, security, pooling, life cycle management, threading etc. A service is a component that can be used remotely through a remote interface either synchronously or asynchronously (...

Read More

Containers (Web & EJB containers) are the interface between a J2EE component and the low level platform specific functionality that supports J2EE components. Before a Web, enterprise bean (EJB), or application client component can be executed, it must be assembled into a J2EE module (jar, war, and/or ear) and deployed into its container. To read ab...

Read More

This is a very commonly asked J2EE interview question. Be prepared to draw some diagrams on the board. The J2EE platform is a multi-tiered system. A tier is a logical or functional partitioning of a system.  To read more about tier  click here. All J2EE applications are broadly divided into two types. These are 2 tier or 3 tier architecture. Basica...

Read More

We already discussed about J2EE Multi-tier architecture and difference between 1-tier and 2-tier architecture. Now let us understand N-Tier architecture for J2EE. N tier architecture means splitting up the system into N tiers, where N is a number from 1 and up. A 1 tier architecture is the same as a single process architecture. A 2 tier architectur...

Read More

This is also a very popular interview question. MVC stands for Model-View-Controller architecture. MVC is a software design pattern. It divides the functionality of displaying and maintaining of the data to minimize the degree of coupling (loose coupling) between components. This is a typical multi-tier structure designing ideas. There are three ca...

Read More

A Servlet is a class that you will use to receive HTTP requests as methods and reply back with the response (usually HTML). A Servlet container is a program running in server which provides mechanism for processing client request and respond back to the client (an example is a web browser). The basic responsibilities of a Servlet container are open...

Read More

A Servlet is a Java class that runs within a web container in an application server, servicing multiple client requests concurrently forwarded through the server and the web container. The web browser establishes a socket connection to the host server in the URL , and sends the HTTP request. Servlets can forward requests to other servers and servle...

Read More

The Web container is responsible for managing the servlet’s life cycle. The following figure is explaining the life cycle of a Servlet. The Web container creates an instance of the Servlet and then the container calls the init() method. At the completion of the init() method the Servlet is in ready state to service requests from clients. The contai...

Read More

FOLLOW US ON LinkedIn



Explore Tutu'rself