SlideShare a Scribd company logo
J2EE Tutorial
                 ( Day-1 )




authored by
                              Biswabrata Banerjee
Introduction to
...few words about JAVA
    Over the last few years, the Java language has been significantly improved. While
the core architecture of Java remained the same, the language has been enhanced in
terms of security, usability of APIs, etc. Today, there are three major editions of Java
technologies, as follows:

         1. Java 2 Standard Edition (J2SE): Also referred to as Java Development Kit
         (JDK). J2SE is a software development kit that includes a set of APIs, tools, and
          a runtime for developing general-purpose applications.

         2. Java 2 Enterprise Edition (J2EE): J2EE is the basis for Java-based enterprise
         applications . J2EE specifies a standard for developing multi-tier distributed
         component-based applications. J2EE provides an integrated technical framework
         for developing Internet-enabled enterprise, and e-commerce applications.

         3. Java 2 Micro Edition (J2ME): J2ME provides a lightweight and optimized
         Java environment for applications and consumer and mobile devices.
area of Interest                 J2EE
What we are going to learn in this session(1) ?

             -   The J2EE technology components

             -   J2EE architecture overview

             -   J2EE containers
About J2EE Technology

          J2EE is essentially a specification that stipulates how the various
J2EE technologies work together . According to use, The collection of J2EE
technologies can be divided into the following three :

The component technologies:
                       Used to hold business logic. There are three type of
                       components: Servlets, JSP pages and EJBs.
The service technologies:
                       Used to provide the application components with
                       supported services to function efficiently.
The communication technologies:
                       Used to communicate among the different parts of
                       the application ,whether they are local or remote.
COMPONENT TECHNOLOGIES

               With any application, the most important element is modeling the
necessary business logic through components or application level reusable units.
The J2EE platform provides the following technologies for developing
components:

WEB Components:
          Servlets :
                        -server-side programs that allow application logic to
                        be embedded in HTTP request-response process.
                        -enable dynamic content in HTML,XML.
              Java Server Pages (JSP Pages):
                        -Text-based documents that separates the application
              logic from presentation logic.

Enterprise Java Bean Components(EJBs):
             Used for developing distributed components.
SERVICE TECHNOLOGIES

          J2EE is essentially a specification that stipulates how the various
J2EE technologies work together. J2EE service technologies include:

Java Naming and Directory Interface (JNDI):
                        Used for naming and directory
Java Message Service (JMS):
                        Used for asynchronous messaging
Java Transaction API (JTA):
                        Used for distributed transactions
Java Database Connectivity (JDBC) :
                        Used for enterprise-level database access
Java API for XML Parsing (JAXP):
                        Used for parsing XML documents
Java Connector Architecture (JCA):
               Using for a variety of legacy application

Java Authentication and Authorization Services (JAAS):
                Used for providing a means to grant permissions
                based on who is executing the code.
Java Mail:
                Used for sending and receiving electronic mail
COMMUNICATION TECHNOLOGIES


              This group holds those technologies that ‘glue’ together the
application and let the various components and services to communicate
with each-other .It includes : Internet Protocols ( HTTP,TCP/IP, SSL) ,
Remote Object protocols (RMI, RMI-IIOP).
J2EE architecture
J2EE Server and Containers

                                J2EE server
     Browser
   Applet container

                             JSP page     servlet

                                Web container       database

    app. client



    app. client                Enterprise Bean
    container

   Client Machine               EJB container




                                                    Continue…
Q. What is a container anyway ?!
A: A J2EE container is a runtime to manage application components developed
    according to the API specification and to provide access to the J2EE APIs.
The container architecture shown in the previous slide has four containers:

                   A web container for hosting Java servlets and JSP pages.
                   A EJB container for hosting Enterprise Java Bean Components.
                   An applet container for hosting java applets.
                   An Application client container for hosting standard Java application
Next class
             JSP and MVC

More Related Content

What's hot

J2EE Introduction
J2EE IntroductionJ2EE Introduction
J2EE Introduction
Patroklos Papapetrou (Pat)
 
J2ee seminar
J2ee seminarJ2ee seminar
J2ee seminar
Sahil Kukreja
 
Java Interview Questions
Java Interview QuestionsJava Interview Questions
Java Interview Questions
anil_kumar132001
 
J2 ee architecture
J2 ee architectureJ2 ee architecture
J2 ee architecture
Krishna Mer
 
Spring
SpringSpring
Spring
Suman Behara
 
Enterprice java
Enterprice javaEnterprice java
Enterprice java
GowriLatha1
 
J2ee architecture
J2ee architectureJ2ee architecture
J2ee architecture
Erencan Özkan
 
Project report for final year project
Project report for final year projectProject report for final year project
Project report for final year project
suneel singh
 
Introduction Java Web Framework and Web Server.
Introduction Java Web Framework and Web Server.Introduction Java Web Framework and Web Server.
Introduction Java Web Framework and Web Server.
suranisaunak
 
Introduction to java ee
Introduction to java eeIntroduction to java ee
Introduction to java ee
Ranjan Kumar
 
BalakrishnamaRajuOmkaram
BalakrishnamaRajuOmkaramBalakrishnamaRajuOmkaram
BalakrishnamaRajuOmkaram
krishna_18
 
J2EE and Servlet
J2EE and Servlet J2EE and Servlet
J2EE and Servlet
Rishikesh .
 
Summer training java
Summer training javaSummer training java
Summer training java
Arshit Rai
 
Summer training java
Summer training javaSummer training java
Summer training java
Arshit Rai
 
Java ee introduction
Java ee introductionJava ee introduction
Java ee introduction
Moumie Soulemane
 
7) packaging and deployment
7) packaging and deployment7) packaging and deployment
7) packaging and deployment
techbed
 
Java programming(unit 1)
Java programming(unit 1)Java programming(unit 1)
Java programming(unit 1)
SURBHI SAROHA
 
Java EE EJB Applications
Java EE EJB ApplicationsJava EE EJB Applications
Java EE EJB Applications
DevelopIntelligence
 
Topic4 Application Servers
Topic4 Application ServersTopic4 Application Servers
Topic4 Application Servers
sanjoysanyal
 
EJB3 Basics
EJB3 BasicsEJB3 Basics
EJB3 Basics
Emprovise
 

What's hot (20)

J2EE Introduction
J2EE IntroductionJ2EE Introduction
J2EE Introduction
 
J2ee seminar
J2ee seminarJ2ee seminar
J2ee seminar
 
Java Interview Questions
Java Interview QuestionsJava Interview Questions
Java Interview Questions
 
J2 ee architecture
J2 ee architectureJ2 ee architecture
J2 ee architecture
 
Spring
SpringSpring
Spring
 
Enterprice java
Enterprice javaEnterprice java
Enterprice java
 
J2ee architecture
J2ee architectureJ2ee architecture
J2ee architecture
 
Project report for final year project
Project report for final year projectProject report for final year project
Project report for final year project
 
Introduction Java Web Framework and Web Server.
Introduction Java Web Framework and Web Server.Introduction Java Web Framework and Web Server.
Introduction Java Web Framework and Web Server.
 
Introduction to java ee
Introduction to java eeIntroduction to java ee
Introduction to java ee
 
BalakrishnamaRajuOmkaram
BalakrishnamaRajuOmkaramBalakrishnamaRajuOmkaram
BalakrishnamaRajuOmkaram
 
J2EE and Servlet
J2EE and Servlet J2EE and Servlet
J2EE and Servlet
 
Summer training java
Summer training javaSummer training java
Summer training java
 
Summer training java
Summer training javaSummer training java
Summer training java
 
Java ee introduction
Java ee introductionJava ee introduction
Java ee introduction
 
7) packaging and deployment
7) packaging and deployment7) packaging and deployment
7) packaging and deployment
 
Java programming(unit 1)
Java programming(unit 1)Java programming(unit 1)
Java programming(unit 1)
 
Java EE EJB Applications
Java EE EJB ApplicationsJava EE EJB Applications
Java EE EJB Applications
 
Topic4 Application Servers
Topic4 Application ServersTopic4 Application Servers
Topic4 Application Servers
 
EJB3 Basics
EJB3 BasicsEJB3 Basics
EJB3 Basics
 

Similar to J2EE day 1

J2 EEE SIDES
J2 EEE  SIDESJ2 EEE  SIDES
J2 EEE SIDES
bputhal
 
Intorduction to struts
Intorduction to strutsIntorduction to struts
Intorduction to struts
Anup72
 
Enterprise application developement
Enterprise application developementEnterprise application developement
Enterprise application developement
Archana Jha
 
J2ee connector architecture
J2ee connector architectureJ2ee connector architecture
J2ee connector architecture
Subhasis Nayak
 
J2 ee architecture
J2 ee architectureJ2 ee architecture
J2 ee architecture
saurabhshertukde
 
C,c++,java,php,.net training institute in delhi, best training institute for ...
C,c++,java,php,.net training institute in delhi, best training institute for ...C,c++,java,php,.net training institute in delhi, best training institute for ...
C,c++,java,php,.net training institute in delhi, best training institute for ...
MCM COmpetitive Classes
 
Jboss
JbossJboss
Introduction to ejb and struts framework
Introduction to ejb and struts frameworkIntroduction to ejb and struts framework
Introduction to ejb and struts framework
s4al_com
 
Spring ppt
Spring pptSpring ppt
Spring ppt
Mumbai Academisc
 
Ejb notes
Ejb notesEjb notes
Ejb notes
Mumbai Academisc
 
Web programming and development - Introduction
Web programming and development - IntroductionWeb programming and development - Introduction
Web programming and development - Introduction
Joel Briza
 
JEE Course - JEE Overview
JEE Course - JEE  OverviewJEE Course - JEE  Overview
JEE Course - JEE Overview
odedns
 
Session 1 Tp1
Session 1 Tp1Session 1 Tp1
Session 1 Tp1
phanleson
 
מתפ
מתפמתפ
מתפ
Liran Zelkha
 
Java for Recruiters
Java for RecruitersJava for Recruiters
Java for Recruiters
ph7 -
 
Java EE 7 introduction
Java EE 7  introductionJava EE 7  introduction
Java EE 7 introduction
Moumie Soulemane
 
R0701116121
R0701116121R0701116121
R0701116121
IJERD Editor
 
Introduction to java_ee
Introduction to java_eeIntroduction to java_ee
Introduction to java_ee
Yogesh Bindwal
 
IBM Websphere introduction and installation for beginners
IBM Websphere introduction and installation for beginnersIBM Websphere introduction and installation for beginners
IBM Websphere introduction and installation for beginners
Shubham Gupta
 
EJBW
EJBWEJBW

Similar to J2EE day 1 (20)

J2 EEE SIDES
J2 EEE  SIDESJ2 EEE  SIDES
J2 EEE SIDES
 
Intorduction to struts
Intorduction to strutsIntorduction to struts
Intorduction to struts
 
Enterprise application developement
Enterprise application developementEnterprise application developement
Enterprise application developement
 
J2ee connector architecture
J2ee connector architectureJ2ee connector architecture
J2ee connector architecture
 
J2 ee architecture
J2 ee architectureJ2 ee architecture
J2 ee architecture
 
C,c++,java,php,.net training institute in delhi, best training institute for ...
C,c++,java,php,.net training institute in delhi, best training institute for ...C,c++,java,php,.net training institute in delhi, best training institute for ...
C,c++,java,php,.net training institute in delhi, best training institute for ...
 
Jboss
JbossJboss
Jboss
 
Introduction to ejb and struts framework
Introduction to ejb and struts frameworkIntroduction to ejb and struts framework
Introduction to ejb and struts framework
 
Spring ppt
Spring pptSpring ppt
Spring ppt
 
Ejb notes
Ejb notesEjb notes
Ejb notes
 
Web programming and development - Introduction
Web programming and development - IntroductionWeb programming and development - Introduction
Web programming and development - Introduction
 
JEE Course - JEE Overview
JEE Course - JEE  OverviewJEE Course - JEE  Overview
JEE Course - JEE Overview
 
Session 1 Tp1
Session 1 Tp1Session 1 Tp1
Session 1 Tp1
 
מתפ
מתפמתפ
מתפ
 
Java for Recruiters
Java for RecruitersJava for Recruiters
Java for Recruiters
 
Java EE 7 introduction
Java EE 7  introductionJava EE 7  introduction
Java EE 7 introduction
 
R0701116121
R0701116121R0701116121
R0701116121
 
Introduction to java_ee
Introduction to java_eeIntroduction to java_ee
Introduction to java_ee
 
IBM Websphere introduction and installation for beginners
IBM Websphere introduction and installation for beginnersIBM Websphere introduction and installation for beginners
IBM Websphere introduction and installation for beginners
 
EJBW
EJBWEJBW
EJBW
 

J2EE day 1

  • 1. J2EE Tutorial ( Day-1 ) authored by Biswabrata Banerjee
  • 3. ...few words about JAVA Over the last few years, the Java language has been significantly improved. While the core architecture of Java remained the same, the language has been enhanced in terms of security, usability of APIs, etc. Today, there are three major editions of Java technologies, as follows: 1. Java 2 Standard Edition (J2SE): Also referred to as Java Development Kit (JDK). J2SE is a software development kit that includes a set of APIs, tools, and a runtime for developing general-purpose applications. 2. Java 2 Enterprise Edition (J2EE): J2EE is the basis for Java-based enterprise applications . J2EE specifies a standard for developing multi-tier distributed component-based applications. J2EE provides an integrated technical framework for developing Internet-enabled enterprise, and e-commerce applications. 3. Java 2 Micro Edition (J2ME): J2ME provides a lightweight and optimized Java environment for applications and consumer and mobile devices.
  • 4. area of Interest J2EE What we are going to learn in this session(1) ? - The J2EE technology components - J2EE architecture overview - J2EE containers
  • 5. About J2EE Technology J2EE is essentially a specification that stipulates how the various J2EE technologies work together . According to use, The collection of J2EE technologies can be divided into the following three : The component technologies: Used to hold business logic. There are three type of components: Servlets, JSP pages and EJBs. The service technologies: Used to provide the application components with supported services to function efficiently. The communication technologies: Used to communicate among the different parts of the application ,whether they are local or remote.
  • 6. COMPONENT TECHNOLOGIES With any application, the most important element is modeling the necessary business logic through components or application level reusable units. The J2EE platform provides the following technologies for developing components: WEB Components: Servlets : -server-side programs that allow application logic to be embedded in HTTP request-response process. -enable dynamic content in HTML,XML. Java Server Pages (JSP Pages): -Text-based documents that separates the application logic from presentation logic. Enterprise Java Bean Components(EJBs): Used for developing distributed components.
  • 7. SERVICE TECHNOLOGIES J2EE is essentially a specification that stipulates how the various J2EE technologies work together. J2EE service technologies include: Java Naming and Directory Interface (JNDI): Used for naming and directory Java Message Service (JMS): Used for asynchronous messaging Java Transaction API (JTA): Used for distributed transactions Java Database Connectivity (JDBC) : Used for enterprise-level database access Java API for XML Parsing (JAXP): Used for parsing XML documents
  • 8. Java Connector Architecture (JCA): Using for a variety of legacy application Java Authentication and Authorization Services (JAAS): Used for providing a means to grant permissions based on who is executing the code. Java Mail: Used for sending and receiving electronic mail
  • 9. COMMUNICATION TECHNOLOGIES This group holds those technologies that ‘glue’ together the application and let the various components and services to communicate with each-other .It includes : Internet Protocols ( HTTP,TCP/IP, SSL) , Remote Object protocols (RMI, RMI-IIOP).
  • 10. J2EE architecture J2EE Server and Containers J2EE server Browser Applet container JSP page servlet Web container database app. client app. client Enterprise Bean container Client Machine EJB container Continue…
  • 11. Q. What is a container anyway ?! A: A J2EE container is a runtime to manage application components developed according to the API specification and to provide access to the J2EE APIs. The container architecture shown in the previous slide has four containers: A web container for hosting Java servlets and JSP pages. A EJB container for hosting Enterprise Java Bean Components. An applet container for hosting java applets. An Application client container for hosting standard Java application
  • 12. Next class JSP and MVC