Professional Documents
Culture Documents
Unit-I: Introduction To J2EE
Unit-I: Introduction To J2EE
Introduction to J2EE
J2EE Overview
- J2SE , J2EE , J2ME are open and standard based platform for
developing and deploying and managing applications.
Why J2EE
Why ? →“ J2EE simplifies the creation of an enterprise-wide
applications, because functionality is encapsulated in
components of J2EE “.
The collaboration of industry leaders in the JCP (Java
Community Program) results in J2EE became the industry
standard enterprise environment.
J2EE based application components communicated using
HTTP, XML, HTML, CORBA,
RMI(Remote method Invocation),
IIOP (Internet inter-ORB Protocol),
SSL (Secured Socket layer)
All J2EE programs are implemented in Java, so the corporation
can utilize the for developing J2EE applications. existing Java
programmers
Why J2EE - contd
• Java Beans, Servlets and JSP are three major components of J2EE.
In addition to that, Seven J2EE standards are,
1. CORBA Compliance
• Java IDL & RMI-IIOP for interfacing java programs to any enterprise system
2. JAVA mail API
• Efficient exchange information (customer ↔ e-commerce sites)
3. Java Message Services (JMS)
• Link between java components (fault-tolerant msgs, asynch mode)
4. Java Naming & Directory Interface (JNDI) API
• Look-up objects → Locating objects in various servers
5. Java Transaction API (JTA)
• Managing transactions- One transaction may involve multiple components
6. JDBC API
• Interact with DBMS
7. XML Deployment Description
• This defines the environment and functionality of components when they deployed
in J2EE container.
J2EE APIs and Technologies
Software Objects
A software object is a software service that is written in
OO language and can be used by a program.
Two protocols developed to access software objects.
- CORBA (Common Object Request Broker Architecture)
- DCOM (Distributed Common Object Model)
• Web services
• Web services is a web of services where services are
software building blocks that are available on a
network from which programmers can efficiently
create large-scale distributive systems.
• Extends Keyword:
- extends is the keyword used in Java for
inheritance.
•
`
The Best Practice is to identify functionalities that is
common among real world objects that are used by an
application.