J2EE

What is J2EE?.
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.





Why do you need a J2EE server? What services does a J2EE server provide?

A J2EE server provides system level support services such us security, transaction management, JNDI (Java
Naming and Directory Interface) lookups, remote access etc. J2EE architecture provides configurable and nonconfigurable services. The configurable service enables the J2EE components within the same J2EE application to behave differently based on where they are deployed. For example the security settings can be different for the same J2EE application in two different production environments. The non-configurable services include enterprise bean (EJB) and servlet life cycle management, resource pooling etc.
Server supports various protocols. Protocols are used for access to Internet services. J2EE platform supports
HTTP (HyperText Transfer Protocol), TCP/IP (Transmission Control Protocol / Internet Protocol), RMI (Remote Method Invocation), SOAP (Simple Object Access Protocol) and SSL (Secured Socket Layer) protocol.