SlideShare ist ein Scribd-Unternehmen logo
1 von 23
INTRODUCTION
     TO
    J2EE


Java Enterprise Edition



                          - Sahil Kukreja
                           (C.S.E – 5th B)
WHAT IS J2EE ?

 Java EE is Oracle’s enterprise Java computing
platform.


 Platform provides an API and runtime environment for
developing and running enterprise software.


 Java EE extends the Java Platform, Standard
Edition (Java SE/J2SE), providing an API for object –
relational mapping, distributed and multi-tier architectures.
WHAT MAKES A PLATFORM?


 J2EE is neither a hardware(it can run on any hardware
with apt JVM) , nor a software exactly (J2EE-compatible
systems available).


 So what sort of a platform is J2EE ?


 In the world of software, a platform is a combination of
hardware and software necessary to run applications.
PLATFORM REQUIREMENTS

 Consistency : Consistency is a basic platform
requirement. Applications depend on platforms to provide a
specific set of well-known services.


 Adoption : Adoption provides established platforms with
enormous momentum and market clout.


 Openness : Some degree of openness is necessary for
software vendors to develop products for a platform.


 Specification : The platform specification defines the
platform, usually in terms of required APIs, policies, and
interfaces.
J2EE – BUILDING BLOCKS

 Servlets : A servlet is a small Java program that runs
within a Web server. Servlets receive and respond to
requests from Web clients, usually across HTTP.


 JSP : With JSP you could write HTML in a JSP file, and
the server would automatically create a servlet from the
page. JSP also allows you to write blocks of Java code
inside the JSP.


  Web Frameworks : The shortcomings of plain servlets
and JSP sparked the creation of many Web
frameworks that intended to make Web application
development easier.
A timeline with the release dates of some Web frameworks.
Most of them are Java frameworks, but some other ones are included.
J2EE HISTORY

The original J2EE specification was developed by Sun
Microsystems.
The year 2000 has seen J2EE compliancy move out of
realm of marketing and into nine shipping products.
 JSR 58 specifies J2EE 1.3 and JSR 151 specifies the
J2EE 1.4 specification.
 The Java EE 5 specification was developed under JSR
244 and the final release was made on May 11 2006.


 In short, the server side java industry has gone
through a whirl wind of change.
Overview of J2EE architecture
JAVA WEB APPLICATION SERVERS

Understanding the differences between a web server, a
servlet container and an application server is important
when learning how a Java Web application is presented to
its end users.


The servlet/application/EJB container terms are a bit
ambiguous, but we will try to come to a workable definition.


Let’s take a look.
1. WEB SERVER


 A Web server handles the HTTP protocol. When the Web
server receives an HTTP request, it responds with an
HTTP response.


The Web server itself does not dynamically generate
responses, it just handles receiving the request and
sending the response.


The  most commonly used Web servers
are Apache, Microsoft IIS and nginx.
2. WEB CONTAINER
A Web container (or servlet container) is a program that
provides an environment for the servlets and JSP to run.


The   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.


 So a Web container provides a runtime environment for
a subset of the Java EE specification, usually only the JSP
and Servlet parts.


   The most common Web container are Tomcat and Jetty.
3. Application Server

An application server is a server that provides support for
the entire Java EE specification.
In addition it provides the capabilities of a Web Container as
well as of a Web Server.
J2EE DEPLOYMENT


How do you present a Web application to the server?
Web applications are packaged in WAR and EAR files.
Web containers (e.g. Tomcat) accept WAR files.
Application servers (e.g. Glassfish) accept WAR files and
EAR files.


A Java EE application is delivered in a Java Archive (JAR)
file, a Web Archive (WAR) file, or an Enterprise Archive
(EAR) file.


 A WAR or EAR file is a standard JAR file with a .war or
.ear extension.
1. JAR : JAVA ARCHIVE



A  JAR is an archive file format typically used to aggregate
many Java class files and associated metadata and
resources into one file to distribute application software or
libraries on the Java platform.


A manifest file is a specific file contained within a JAR
archive. It is used to define information about the JAR.


Application  client modules are packaged as JAR files with
a .jar extension.
2. WAR : Web Application ARchive


 A WAR file is a JAR file used to distribute a Web Module.
 The top-level directory of a web module is the document root of the
 application.
 The structure of a WAR file looks like this:
3. EAR : Enterprise Archive

When a large Web application is deployed, all its .jar and .war files are packaged
as JAR file with .ear extension and deployed into an application server.
Deploying EAR files requires an application server such as Glassfish.
Web containers such as Tomcat can not deploy EAR files, only WAR files.
EAR file structure :
FUTURE OF JAVA TECHNOLOGY

When Java was developed initially , even its developers
were not sure in which direction the technology will grow.
And actually Java has taken an unexpected turn around as
a development technology.


Some people say there is no need of separate Core Java,
which is now known as J2SE. J2SE comprise of core Java
components and libraries like core language library,
utilities, SWT, Swing, Networking, Security etc.


Let us examine possible directions where there are
chances Java will grow as development technology.
NEW TRENDS

People  are always in search of implementing J2EE, a
way that it can be used optimally.
Several new frameworks, practices and design patterns
are developed to make proper utilization of advantages of
J2EE.


Some   of them are discussed here :


 Design Patterns : For enterprise applications , it is very
important that they are well designed prior to start of their
development phase because they are large in scale.
Some   of the design patterns are MVC (Model-View-
Controller), DAO (Data Access Objects) and many more.
Frameworks :

Some organizations have developed their own
frameworks over the top of J2EE.
Also such frameworks implement best J2EE practices to
achieve high performance and other advantages of J2EE.
Some   popular J2EE frameworks are Struts, Spring etc.

J2EE Best Practices :
Ways to utilize J2EE framework that it can perform at its
best with its all advantages like scalability, remote access
etc.
 Such practices are used by many developers and proven
to be useful to achieve such goals in J2EE applications.
and are also known as J2EE best practices.
New Technologies
The Java community which is controlled by Sun keeps
including new features and technologies to J2EE such as
JFS (Java Faces Service), Java.net, Java gaming, Java AI
etc.
Go Mobile
Mobile phone applications are very wide scope area where
Java is being used for its portability and independence.
 Most of mobile phones operate over Java
implementations.
Embedded
Java is gaining more popularity to develop embedded
applications. The reason after such popularity is its
platform independence.
The principle of reusability is gaining more popularity
among embedded applications community and so Java.
SUMMARY

Afterexamining scope, usage and potential of different
areas of Java technology we can summarize that it has still
long way to go.
Java has got a lot of potential to develop and grow in
many areas.
For  existing areas like desktop applications and
enterprise applications there are chances for Java to gain
better role.
 Also it has got to grow in new areas of embedded
applications in future.
SOURCES

   http://encyclopedia2.thefreedictionary.com/J2EE


   http://www.j2eebrain.com/java-J2ee-j2ee-history.html


http://pic.dhe.ibm.com/infocenter/wbihelp/v6rxmx/ind
ex.jsp?topic=%2Fcom.ibm.wics_developer.doc%2Fdoc
%2Faccess_dev_j2ee%2Faccess_dev_j2ee15.htm


 http://www.exforsys.com/tutorials/j2ee/future-of-java-
technology.html
THANKYOU
!

Weitere ähnliche Inhalte

Was ist angesagt?

client server architecture
client server architecture client server architecture
client server architecture Saurabh Soni
 
Lecture 1 Introduction to Web Development.pptx
Lecture 1 Introduction to Web Development.pptxLecture 1 Introduction to Web Development.pptx
Lecture 1 Introduction to Web Development.pptxKevi20
 
virtual hosting and configuration
virtual hosting and configurationvirtual hosting and configuration
virtual hosting and configurationHAMZA AHMED
 
operating system question bank
operating system question bankoperating system question bank
operating system question bankrajatdeep kaur
 
Servlet and Servlet Life Cycle
Servlet and Servlet Life CycleServlet and Servlet Life Cycle
Servlet and Servlet Life CycleDhrumil Panchal
 
Java Server Pages(jsp)
Java Server Pages(jsp)Java Server Pages(jsp)
Java Server Pages(jsp)Manisha Keim
 
Server Side VS Client Side
Server Side VS Client SideServer Side VS Client Side
Server Side VS Client SideCode Boxx
 
ibm websphere admin training | websphere admin course | ibm websphere adminis...
ibm websphere admin training | websphere admin course | ibm websphere adminis...ibm websphere admin training | websphere admin course | ibm websphere adminis...
ibm websphere admin training | websphere admin course | ibm websphere adminis...Nancy Thomas
 
3 Tier Architecture
3  Tier Architecture3  Tier Architecture
3 Tier ArchitectureWebx
 
Presentation about servers
Presentation about serversPresentation about servers
Presentation about serversSasin Prabu
 
Remote Method Invocation (RMI)
Remote Method Invocation (RMI)Remote Method Invocation (RMI)
Remote Method Invocation (RMI)Peter R. Egli
 

Was ist angesagt? (20)

Jsp ppt
Jsp pptJsp ppt
Jsp ppt
 
Restful web services ppt
Restful web services pptRestful web services ppt
Restful web services ppt
 
client server architecture
client server architecture client server architecture
client server architecture
 
Lecture 1 Introduction to Web Development.pptx
Lecture 1 Introduction to Web Development.pptxLecture 1 Introduction to Web Development.pptx
Lecture 1 Introduction to Web Development.pptx
 
virtual hosting and configuration
virtual hosting and configurationvirtual hosting and configuration
virtual hosting and configuration
 
Jdbc ppt
Jdbc pptJdbc ppt
Jdbc ppt
 
operating system question bank
operating system question bankoperating system question bank
operating system question bank
 
Servlet and Servlet Life Cycle
Servlet and Servlet Life CycleServlet and Servlet Life Cycle
Servlet and Servlet Life Cycle
 
Java Server Pages
Java Server PagesJava Server Pages
Java Server Pages
 
Java Server Pages(jsp)
Java Server Pages(jsp)Java Server Pages(jsp)
Java Server Pages(jsp)
 
Server Side VS Client Side
Server Side VS Client SideServer Side VS Client Side
Server Side VS Client Side
 
ibm websphere admin training | websphere admin course | ibm websphere adminis...
ibm websphere admin training | websphere admin course | ibm websphere adminis...ibm websphere admin training | websphere admin course | ibm websphere adminis...
ibm websphere admin training | websphere admin course | ibm websphere adminis...
 
Servlet Filters
Servlet FiltersServlet Filters
Servlet Filters
 
Web server
Web serverWeb server
Web server
 
3 Tier Architecture
3  Tier Architecture3  Tier Architecture
3 Tier Architecture
 
Jdbc ppt
Jdbc pptJdbc ppt
Jdbc ppt
 
Presentation about servers
Presentation about serversPresentation about servers
Presentation about servers
 
Web server
Web serverWeb server
Web server
 
Remote Method Invocation (RMI)
Remote Method Invocation (RMI)Remote Method Invocation (RMI)
Remote Method Invocation (RMI)
 
Django In The Real World
Django In The Real WorldDjango In The Real World
Django In The Real World
 

Andere mochten auch

Town Hall with Congressman Patrick McHenry 2012
Town Hall with Congressman Patrick McHenry 2012Town Hall with Congressman Patrick McHenry 2012
Town Hall with Congressman Patrick McHenry 2012CongressmanPatrickMcHenry
 
Jazz Tyrril-Smart 2012 Visual Resume
Jazz Tyrril-Smart 2012 Visual ResumeJazz Tyrril-Smart 2012 Visual Resume
Jazz Tyrril-Smart 2012 Visual ResumeJazzTyrrilSmart
 
Ashok Hall Jr.ppt on saving environment
Ashok Hall Jr.ppt on saving environmentAshok Hall Jr.ppt on saving environment
Ashok Hall Jr.ppt on saving environmentmadhumitaguha12
 
แนวทางการจัดค่ายอาเซียน
แนวทางการจัดค่ายอาเซียนแนวทางการจัดค่ายอาเซียน
แนวทางการจัดค่ายอาเซียนJeerapong Saotong
 
Nghiên cứu bảo đảm an toàn thông tin bằng kiếm soát lỗ hổng trong dịch vụ web
Nghiên cứu bảo đảm an toàn thông tin bằng kiếm soát lỗ hổng trong dịch vụ webNghiên cứu bảo đảm an toàn thông tin bằng kiếm soát lỗ hổng trong dịch vụ web
Nghiên cứu bảo đảm an toàn thông tin bằng kiếm soát lỗ hổng trong dịch vụ webVan Tri
 
47532471 100-najboljih-blues-albuma
47532471 100-najboljih-blues-albuma47532471 100-najboljih-blues-albuma
47532471 100-najboljih-blues-albumaruzinaante
 
Pengenalan Visual Basic 6.0
Pengenalan Visual Basic 6.0Pengenalan Visual Basic 6.0
Pengenalan Visual Basic 6.0Ahmadi Edy
 
Marketing communications for start ups - anthony de kerf - marketing camp
Marketing communications for start ups - anthony de kerf - marketing campMarketing communications for start ups - anthony de kerf - marketing camp
Marketing communications for start ups - anthony de kerf - marketing campPaul Wcislo
 
Современные материалы для пассивного дома
Современные материалы для пассивного домаСовременные материалы для пассивного дома
Современные материалы для пассивного домаIngvar Lav
 
English 120 online orientation new fall 2012 dunkle
English 120 online orientation new fall 2012   dunkleEnglish 120 online orientation new fall 2012   dunkle
English 120 online orientation new fall 2012 dunkleidunkle
 
Cong nghe fpga bao cao
Cong nghe fpga   bao caoCong nghe fpga   bao cao
Cong nghe fpga bao caoTuanutehy
 

Andere mochten auch (20)

J2ee
J2eeJ2ee
J2ee
 
งานPbl 2
งานPbl 2งานPbl 2
งานPbl 2
 
Bunono Chilldren
Bunono ChilldrenBunono Chilldren
Bunono Chilldren
 
Town Hall with Congressman Patrick McHenry 2012
Town Hall with Congressman Patrick McHenry 2012Town Hall with Congressman Patrick McHenry 2012
Town Hall with Congressman Patrick McHenry 2012
 
Jazz Tyrril-Smart 2012 Visual Resume
Jazz Tyrril-Smart 2012 Visual ResumeJazz Tyrril-Smart 2012 Visual Resume
Jazz Tyrril-Smart 2012 Visual Resume
 
Ashok Hall Jr.ppt on saving environment
Ashok Hall Jr.ppt on saving environmentAshok Hall Jr.ppt on saving environment
Ashok Hall Jr.ppt on saving environment
 
Regulatory alert
Regulatory alertRegulatory alert
Regulatory alert
 
แนวทางการจัดค่ายอาเซียน
แนวทางการจัดค่ายอาเซียนแนวทางการจัดค่ายอาเซียน
แนวทางการจัดค่ายอาเซียน
 
Nghiên cứu bảo đảm an toàn thông tin bằng kiếm soát lỗ hổng trong dịch vụ web
Nghiên cứu bảo đảm an toàn thông tin bằng kiếm soát lỗ hổng trong dịch vụ webNghiên cứu bảo đảm an toàn thông tin bằng kiếm soát lỗ hổng trong dịch vụ web
Nghiên cứu bảo đảm an toàn thông tin bằng kiếm soát lỗ hổng trong dịch vụ web
 
47532471 100-najboljih-blues-albuma
47532471 100-najboljih-blues-albuma47532471 100-najboljih-blues-albuma
47532471 100-najboljih-blues-albuma
 
งาน Pbl 1
งาน Pbl 1งาน Pbl 1
งาน Pbl 1
 
Koira animointi
Koira animointiKoira animointi
Koira animointi
 
Pengenalan Visual Basic 6.0
Pengenalan Visual Basic 6.0Pengenalan Visual Basic 6.0
Pengenalan Visual Basic 6.0
 
Marketing communications for start ups - anthony de kerf - marketing camp
Marketing communications for start ups - anthony de kerf - marketing campMarketing communications for start ups - anthony de kerf - marketing camp
Marketing communications for start ups - anthony de kerf - marketing camp
 
Spyware
Spyware Spyware
Spyware
 
Australia animals
Australia animalsAustralia animals
Australia animals
 
Современные материалы для пассивного дома
Современные материалы для пассивного домаСовременные материалы для пассивного дома
Современные материалы для пассивного дома
 
Deferred Action Elegibility
Deferred Action ElegibilityDeferred Action Elegibility
Deferred Action Elegibility
 
English 120 online orientation new fall 2012 dunkle
English 120 online orientation new fall 2012   dunkleEnglish 120 online orientation new fall 2012   dunkle
English 120 online orientation new fall 2012 dunkle
 
Cong nghe fpga bao cao
Cong nghe fpga   bao caoCong nghe fpga   bao cao
Cong nghe fpga bao cao
 

Ähnlich wie J2ee seminar

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 beginnersShubham Gupta
 
Project report for final year project
Project report for final year projectProject report for final year project
Project report for final year projectsuneel 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
 
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
 
Enterprise java unit-1_chapter-1
Enterprise java unit-1_chapter-1Enterprise java unit-1_chapter-1
Enterprise java unit-1_chapter-1sandeep54552
 
Jdev handbook-ch01-130992
Jdev handbook-ch01-130992Jdev handbook-ch01-130992
Jdev handbook-ch01-130992psriapps
 
Introduction to java ee
Introduction to java eeIntroduction to java ee
Introduction to java eeRanjan Kumar
 
JAVA J2EE Training in Coimbatore - Fundamentals of Java J2EE
JAVA J2EE Training in Coimbatore - Fundamentals of Java J2EE JAVA J2EE Training in Coimbatore - Fundamentals of Java J2EE
JAVA J2EE Training in Coimbatore - Fundamentals of Java J2EE abile technologies
 
Lecture 19 dynamic web - java - part 1
Lecture 19   dynamic web - java - part 1Lecture 19   dynamic web - java - part 1
Lecture 19 dynamic web - java - part 1Д. Ганаа
 
Java programming(unit 1)
Java programming(unit 1)Java programming(unit 1)
Java programming(unit 1)SURBHI SAROHA
 
Spring Framework Tutorial | VirtualNuggets
Spring Framework Tutorial | VirtualNuggetsSpring Framework Tutorial | VirtualNuggets
Spring Framework Tutorial | VirtualNuggetsVirtual Nuggets
 

Ähnlich wie J2ee seminar (20)

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
 
Project report for final year project
Project report for final year projectProject report for final year project
Project report for final year project
 
Java course in Chandigarh.pdf
Java course in Chandigarh.pdfJava course in Chandigarh.pdf
Java course in Chandigarh.pdf
 
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.
 
Spring ppt
Spring pptSpring ppt
Spring ppt
 
Java J2EE
Java J2EEJava J2EE
Java J2EE
 
J2EE day 1
J2EE day 1J2EE day 1
J2EE day 1
 
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 ...
 
Enterprise java unit-1_chapter-1
Enterprise java unit-1_chapter-1Enterprise java unit-1_chapter-1
Enterprise java unit-1_chapter-1
 
Jdev handbook-ch01-130992
Jdev handbook-ch01-130992Jdev handbook-ch01-130992
Jdev handbook-ch01-130992
 
Jboss
JbossJboss
Jboss
 
Java Interview Questions
Java Interview QuestionsJava Interview Questions
Java Interview Questions
 
Introduction to java ee
Introduction to java eeIntroduction to java ee
Introduction to java ee
 
JAVA J2EE Training in Coimbatore - Fundamentals of Java J2EE
JAVA J2EE Training in Coimbatore - Fundamentals of Java J2EE JAVA J2EE Training in Coimbatore - Fundamentals of Java J2EE
JAVA J2EE Training in Coimbatore - Fundamentals of Java J2EE
 
Lecture 19 dynamic web - java - part 1
Lecture 19   dynamic web - java - part 1Lecture 19   dynamic web - java - part 1
Lecture 19 dynamic web - java - part 1
 
Java programming(unit 1)
Java programming(unit 1)Java programming(unit 1)
Java programming(unit 1)
 
Spring Framework Tutorial | VirtualNuggets
Spring Framework Tutorial | VirtualNuggetsSpring Framework Tutorial | VirtualNuggets
Spring Framework Tutorial | VirtualNuggets
 
4. J2EE.pptx
4. J2EE.pptx4. J2EE.pptx
4. J2EE.pptx
 
Devjyotippt
DevjyotipptDevjyotippt
Devjyotippt
 
Java EE 7 introduction
Java EE 7  introductionJava EE 7  introduction
Java EE 7 introduction
 

Kürzlich hochgeladen

GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024The Digital Insurer
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Principled Technologies
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 

Kürzlich hochgeladen (20)

GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

J2ee seminar

  • 1. INTRODUCTION TO J2EE Java Enterprise Edition - Sahil Kukreja (C.S.E – 5th B)
  • 2. WHAT IS J2EE ?  Java EE is Oracle’s enterprise Java computing platform.  Platform provides an API and runtime environment for developing and running enterprise software.  Java EE extends the Java Platform, Standard Edition (Java SE/J2SE), providing an API for object – relational mapping, distributed and multi-tier architectures.
  • 3. WHAT MAKES A PLATFORM?  J2EE is neither a hardware(it can run on any hardware with apt JVM) , nor a software exactly (J2EE-compatible systems available).  So what sort of a platform is J2EE ?  In the world of software, a platform is a combination of hardware and software necessary to run applications.
  • 4. PLATFORM REQUIREMENTS  Consistency : Consistency is a basic platform requirement. Applications depend on platforms to provide a specific set of well-known services.  Adoption : Adoption provides established platforms with enormous momentum and market clout.  Openness : Some degree of openness is necessary for software vendors to develop products for a platform.  Specification : The platform specification defines the platform, usually in terms of required APIs, policies, and interfaces.
  • 5. J2EE – BUILDING BLOCKS  Servlets : A servlet is a small Java program that runs within a Web server. Servlets receive and respond to requests from Web clients, usually across HTTP.  JSP : With JSP you could write HTML in a JSP file, and the server would automatically create a servlet from the page. JSP also allows you to write blocks of Java code inside the JSP.  Web Frameworks : The shortcomings of plain servlets and JSP sparked the creation of many Web frameworks that intended to make Web application development easier.
  • 6. A timeline with the release dates of some Web frameworks. Most of them are Java frameworks, but some other ones are included.
  • 7. J2EE HISTORY The original J2EE specification was developed by Sun Microsystems. The year 2000 has seen J2EE compliancy move out of realm of marketing and into nine shipping products.  JSR 58 specifies J2EE 1.3 and JSR 151 specifies the J2EE 1.4 specification.  The Java EE 5 specification was developed under JSR 244 and the final release was made on May 11 2006.  In short, the server side java industry has gone through a whirl wind of change.
  • 8. Overview of J2EE architecture
  • 9. JAVA WEB APPLICATION SERVERS Understanding the differences between a web server, a servlet container and an application server is important when learning how a Java Web application is presented to its end users. The servlet/application/EJB container terms are a bit ambiguous, but we will try to come to a workable definition. Let’s take a look.
  • 10. 1. WEB SERVER  A Web server handles the HTTP protocol. When the Web server receives an HTTP request, it responds with an HTTP response. The Web server itself does not dynamically generate responses, it just handles receiving the request and sending the response. The most commonly used Web servers are Apache, Microsoft IIS and nginx.
  • 11. 2. WEB CONTAINER A Web container (or servlet container) is a program that provides an environment for the servlets and JSP to run. The 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.  So a Web container provides a runtime environment for a subset of the Java EE specification, usually only the JSP and Servlet parts.  The most common Web container are Tomcat and Jetty.
  • 12. 3. Application Server An application server is a server that provides support for the entire Java EE specification. In addition it provides the capabilities of a Web Container as well as of a Web Server.
  • 13. J2EE DEPLOYMENT How do you present a Web application to the server? Web applications are packaged in WAR and EAR files. Web containers (e.g. Tomcat) accept WAR files. Application servers (e.g. Glassfish) accept WAR files and EAR files. A Java EE application is delivered in a Java Archive (JAR) file, a Web Archive (WAR) file, or an Enterprise Archive (EAR) file. A WAR or EAR file is a standard JAR file with a .war or .ear extension.
  • 14. 1. JAR : JAVA ARCHIVE A JAR is an archive file format typically used to aggregate many Java class files and associated metadata and resources into one file to distribute application software or libraries on the Java platform. A manifest file is a specific file contained within a JAR archive. It is used to define information about the JAR. Application client modules are packaged as JAR files with a .jar extension.
  • 15. 2. WAR : Web Application ARchive A WAR file is a JAR file used to distribute a Web Module. The top-level directory of a web module is the document root of the application. The structure of a WAR file looks like this:
  • 16. 3. EAR : Enterprise Archive When a large Web application is deployed, all its .jar and .war files are packaged as JAR file with .ear extension and deployed into an application server. Deploying EAR files requires an application server such as Glassfish. Web containers such as Tomcat can not deploy EAR files, only WAR files. EAR file structure :
  • 17. FUTURE OF JAVA TECHNOLOGY When Java was developed initially , even its developers were not sure in which direction the technology will grow. And actually Java has taken an unexpected turn around as a development technology. Some people say there is no need of separate Core Java, which is now known as J2SE. J2SE comprise of core Java components and libraries like core language library, utilities, SWT, Swing, Networking, Security etc. Let us examine possible directions where there are chances Java will grow as development technology.
  • 18. NEW TRENDS People are always in search of implementing J2EE, a way that it can be used optimally. Several new frameworks, practices and design patterns are developed to make proper utilization of advantages of J2EE. Some of them are discussed here :  Design Patterns : For enterprise applications , it is very important that they are well designed prior to start of their development phase because they are large in scale. Some of the design patterns are MVC (Model-View- Controller), DAO (Data Access Objects) and many more.
  • 19. Frameworks : Some organizations have developed their own frameworks over the top of J2EE. Also such frameworks implement best J2EE practices to achieve high performance and other advantages of J2EE. Some popular J2EE frameworks are Struts, Spring etc. J2EE Best Practices : Ways to utilize J2EE framework that it can perform at its best with its all advantages like scalability, remote access etc. Such practices are used by many developers and proven to be useful to achieve such goals in J2EE applications. and are also known as J2EE best practices.
  • 20. New Technologies The Java community which is controlled by Sun keeps including new features and technologies to J2EE such as JFS (Java Faces Service), Java.net, Java gaming, Java AI etc. Go Mobile Mobile phone applications are very wide scope area where Java is being used for its portability and independence. Most of mobile phones operate over Java implementations. Embedded Java is gaining more popularity to develop embedded applications. The reason after such popularity is its platform independence. The principle of reusability is gaining more popularity among embedded applications community and so Java.
  • 21. SUMMARY Afterexamining scope, usage and potential of different areas of Java technology we can summarize that it has still long way to go. Java has got a lot of potential to develop and grow in many areas. For existing areas like desktop applications and enterprise applications there are chances for Java to gain better role.  Also it has got to grow in new areas of embedded applications in future.
  • 22. SOURCES  http://encyclopedia2.thefreedictionary.com/J2EE  http://www.j2eebrain.com/java-J2ee-j2ee-history.html http://pic.dhe.ibm.com/infocenter/wbihelp/v6rxmx/ind ex.jsp?topic=%2Fcom.ibm.wics_developer.doc%2Fdoc %2Faccess_dev_j2ee%2Faccess_dev_j2ee15.htm  http://www.exforsys.com/tutorials/j2ee/future-of-java- technology.html