SlideShare a Scribd company logo
JAVA EE 7 Enterprise
What is
?
About me
 Soulemane Moumie
 Programmer
Blogger
Open source advocate
 www.moumie.org
Seite 1
Seite 2
Introduction
In the world of information technology, enterprise applications must be
designed, built, and produced for less money, with greater speed, and with
fewer resources.
In this regard, Java EE platform aims at providing developers with a powerful
set of APIs while shortening development time, reducing application
complexity, and improving application performance.
Seite 3
Java EE 7 Platform
A platform is a group of technologies that are used as a base upon
which other applications, processes or technologies are developed.
The most important goal of the Java EE 7 platform is to simplify
development by providing a common foundation for the various kinds
of components in the Java EE platform. This platform is regularly
update through the addition of new technologies or new features to
existing technologies.
Java EE Application Model
Application model is a notation and rules for expressing the conceptual and
implementation architectures of an application.
The Java EE application model begins with the Java programming language
and the Java virtual machine. This model defines an architecture for
implementing services as multitier applications divided into the following
parts:
- The business and presentation logic to be implemented by the developer.
- The standard system services provided by the Java EE platform.
The developer can rely on the platform to provide solutions for the hard systems-level problems of
developing a multitier service.
Seite 4
Distributed Multitiered
Applications
Seite 5
Java EE multitiered applications are generally considered to be three-tiered applications
because they are distributed over three locations
Security
• The Java EE platform provides standard declarative access control rules that are defined by
the developer and interpreted when the application is deployed on the server.
• Java EE also provides standard login mechanisms so that application developers do not have to
implement these mechanisms in their applications.
• All these features make the Java EE platform applications portable to a wide variety of
security implementations
Seite 6
Java EE Components
• A Java EE component is a self-contained functional software unit that is assembled into a Java
EE application with its related classes and files and that communicates with other components.
• The Java EE specification defines the following Java EE components:
- Application clients and applets are components that run on the client.
- Java Servlet, Java Server Faces, and Java Server Pages (JSP) technology components
are web components that run on the server.
- EJB components (enterprise beans) are business components that run on the server.
Java EE Clients
• Web Clients
- Dynamic web pages containing various types of markup language (HTML, XML,
…), which are generated by web components running in the web tier. This web page
can include an applet . An applet is a small client application written in java that
executes in the Java virtual machine installed in the web browser.
- Web browser, which renders the pages received from the server.
• Application Clients
An application client runs on a client machine and provides a way for users to
handle tasks that require a richer user interface than can be provided by a markup
language. The GUI created from the Swing API or the Abstract Window Toolkit
(AWT) API, but a command-line interface is certainly possible.
Seite 7
Data flow
• The JavaBeans Component Architecture
JavaBeans components have properties and have get and set methods for accessing
those properties. They are used to manage the data flow between the following:
- An application client or applet and components running on the Java EE server
- Server components and a database
• Java EE Server Communications
- The client communicates with the business tier running on the Java EE server either
directly.
- or, as in the case of a client running in a browser, by going through web pages or
Servlets running in the web tier.
Seite 8
Web Components
• Servlets are Java programming language classes that dynamically process requests
and construct responses.
• JSP pages are text-based documents that execute as Servlets but allow a more
natural approach to creating static content.
• Java Server Faces technology builds on servlets and JSP technology and provides a
user interface component framework for web applications.
Important:
Static HTML pages ,applets, Server-side utility classes are bundled with web
components during application assembly but are not considered web components by
the Java EE specification.
Seite 9
Business Components
Business code, which is logic that solves or meets the needs of a particular
business domain such as banking, retail, or finance is handled by enterprise
beans running in either the business tier or the web tier. These enterprises
bean also retrieves/sends data from/to storage, processes it (if necessary),
and sends it back to the client program.
Enterprise Information System Tier
The enterprise information system tier handles EIS software and includes
enterprise infrastructure systems, such as ERP, mainframe ,transaction
processing, database systems
Seite 10
Java EE Containers
Containers are the interface between a component and the low-level, platform-specific
functionality that supports the component. The deployment process installs Java EE
application components in the Java EE containers, the server and containers are as
follows:
- Java EE Server: The runtime portion of a Java EE product. A Java EE server
provides EJB and web containers
- EJB Container: Manages the execution of enterprise beans for Java EE applications.
- Web Container: Manages the execution of web pages, servlets, and some EJB
components for Java EE applications.
- Web Application client container: Manages the execution of application client
components . Application clients and their container run on the client.
- Applet Container: Manages the execution of applets. Consists of a web browser
and a Java Plug-in running on the client together.
Seite 11
Java EE Containers Services
.
- The Java EE security model
- The Java EE transaction model
- The Java EE remote connectivity model
- Web JNDI lookup services provide a unified interface to multiple naming and
directory services in the enterprise so that application components can access these
services.
Seite 12
Web Services Support
Web Services are web-based enterprise applications that use open, XML-based
standards and transport protocols to exchange data with calling clients. These XML-
based standards and protocols are:
- XML: Extensible Markup Language (XML) is a cross-platform, extensible, text-based
standard for representing data.
- SOAP Transport Protocol: SOAP is an XML-based protocol that follows the HTTP
request-and-response model. Client requests and web service responses are
transmitted as Simple Object Access Protocol (SOAP) messages over HTTP.
- WSDL Standard Format: The Web Services Description Language (WSDL) is a
standardized XML format for describing network services (name, location,
communication ways). WSDL service descriptions can be published on the Web.
It can be generated using Glassfish server.
Seite 13
Java EE Application Assembly and
Deployment
A Java EE application is packaged into one or more standard units for deployment to any
Java EE platform-compliant system.
Deployment typically involves using a platform's deployment tool to specify location-
specific information, such as a list of local users who can access it and the name of
the local database. For deployment purpose, J2EE applications are delivered and
reside in Archive files (or unit).
Seite 14
J2EE Archive Type File
Extension
Module Type
Enterprise archive EAR All modules together
Java Archive JAR Enterprise Bean Module,
Application Client module
Web Archive WAR Web module
Resource Adapter RAR Resource adapter module
Java EE 7 APIs
 Enterprise JavaBeans Technology.
 Java Servlet Technology
 JavaServer Faces Technology
 JavaServer Pages Technology
 JavaServer Pages Standard Tag Library
 Java Persistence API
 Java Transaction API
 Java API for RESTful Web Services
 Managed Beans
 Contexts and Dependency Injection for
Java EE
 Dependency Injection for Java
 Bean Validation
 Java Message Service API
 Java EE Connector Architecture
 JavaMail API
 Java Authorization Contract for
Containers
 Java Authentication Service Provider
Interface for Containers
 Java API for WebSocket
 Java API for JSON Processing
 Concurrency Utilities for Java EE
 Batch Applications for the Java Platform
Seite 15
Java EE 7 APIs in the Java Platform,
Standard Edition 7
Several APIs that are required by the Java EE 7 platform are included in the Java
Platform, Standard Edition 7 (Java SE 7) and are thus available to Java EE
applications.
 Java Database Connectivity API.
 Java Naming and Directory Interface API
 JavaBeans Activation Framework
 Java API for XML Processing
 Java Architecture for XML Binding
 Java API for XML Web Services
 SOAP with Attachments API for Java
 Java Authentication and Authorization Service
 Common Annotations for the Java Platform
Seite 16
GlassFish Server Tools
GlassFish Server is a compliant implementation of the Java EE 7 platform. In addition to
supporting all the APIs described in the previous sections.
 Administration Console: web-based GUI GlassFish Server administration utility.
 asadmin: command-line administration utility is used to start and stop GlassFish
Server and to manage users, resources, and applications.
 appclient: launches the application client container and invokes the client application
 capture-schema: extract schema information from a database, producing a schema
file that GlassFish Server can use for container-managed persistence.
 package-appclient: package the application client container libraries and JAR files.
 Java DB database: a copy of the Java DB server.
 xjc: transform, or bind, a source XML schema to a set of JAXB content classes in java
 schemagen: create a schema file for each namespace referenced in your Java
classes.
 wsimport: generate JAX-WS portable artifacts for a given WSDL file.
 wsgen: read a web service endpoint class and generate all the required JAX-WS
Seite 17
Value to Developers
• Secure Solutions
• Concentrate on business logic/solution,
yielding
• better productivity
• Choice of databases and components
• Use of existing investments
Seite 18
References
https://docs.oracle.com/javaee/7/tutorial/
Seite 19
Thank
You ! Seite 20

More Related Content

What's hot

MULTICAST BY SAIKIRAN PANJALA
MULTICAST BY SAIKIRAN PANJALAMULTICAST BY SAIKIRAN PANJALA
MULTICAST BY SAIKIRAN PANJALA
Saikiran Panjala
 
IoT-A ARM
IoT-A ARMIoT-A ARM
IoT-A ARM
Yu-Ting Chen
 
Zigbee with home automation
Zigbee with home automationZigbee with home automation
Zigbee with home automation
Thangaraj Murugananthan
 
Smart Vehicle using IoT
Smart Vehicle using IoTSmart Vehicle using IoT
Smart Vehicle using IoT
Mithileysh Sathiyanarayanan
 
Ip Addressing
Ip AddressingIp Addressing
Ip Addressing
vssnsarma
 
Corba
CorbaCorba
Subnet Masks
Subnet MasksSubnet Masks
Subnet Masksswascher
 
Mobile Ad hoc Networks
Mobile Ad hoc NetworksMobile Ad hoc Networks
Mobile Ad hoc NetworksJagdeep Singh
 
Ipv4 & ipv6
Ipv4 & ipv6Ipv4 & ipv6
Ipv4 & ipv6
Amit Kundu
 
3.pillars of embedded io t and physical devices
3.pillars of embedded io t and physical devices3.pillars of embedded io t and physical devices
3.pillars of embedded io t and physical devices
Raghavendra Maggavi
 
IoT Security Elements
IoT Security ElementsIoT Security Elements
IoT Security Elements
Eurotech
 
IEEE 2023 - 2024 EMBEDDED SYSTEM TITLES
IEEE 2023 - 2024 EMBEDDED SYSTEM TITLESIEEE 2023 - 2024 EMBEDDED SYSTEM TITLES
IEEE 2023 - 2024 EMBEDDED SYSTEM TITLES
Arudhra Innovations
 
Iot unit i
Iot unit iIot unit i
Iot unit i
VenkatRaoJ
 
Packet sniffing
Packet sniffingPacket sniffing
Packet sniffing
Shyama Bhuvanendran
 
Internet of Things: A Hands-On Approach
Internet of Things: A Hands-On ApproachInternet of Things: A Hands-On Approach
Internet of Things: A Hands-On Approach
Arshdeep Bahga
 
.NET Core, ASP.NET Core Course, Session 1
.NET Core, ASP.NET Core Course, Session 1.NET Core, ASP.NET Core Course, Session 1
.NET Core, ASP.NET Core Course, Session 1
aminmesbahi
 
IOT15_Unit6.pptx
IOT15_Unit6.pptxIOT15_Unit6.pptx
IOT15_Unit6.pptx
suptel
 

What's hot (20)

MULTICAST BY SAIKIRAN PANJALA
MULTICAST BY SAIKIRAN PANJALAMULTICAST BY SAIKIRAN PANJALA
MULTICAST BY SAIKIRAN PANJALA
 
IoT-A ARM
IoT-A ARMIoT-A ARM
IoT-A ARM
 
Zigbee with home automation
Zigbee with home automationZigbee with home automation
Zigbee with home automation
 
Smart Vehicle using IoT
Smart Vehicle using IoTSmart Vehicle using IoT
Smart Vehicle using IoT
 
Ppt of routing protocols
Ppt of routing protocolsPpt of routing protocols
Ppt of routing protocols
 
Api presentation
Api presentationApi presentation
Api presentation
 
Ip Addressing
Ip AddressingIp Addressing
Ip Addressing
 
Corba
CorbaCorba
Corba
 
Subnet Masks
Subnet MasksSubnet Masks
Subnet Masks
 
Mobile Ad hoc Networks
Mobile Ad hoc NetworksMobile Ad hoc Networks
Mobile Ad hoc Networks
 
Ipv4 & ipv6
Ipv4 & ipv6Ipv4 & ipv6
Ipv4 & ipv6
 
3.pillars of embedded io t and physical devices
3.pillars of embedded io t and physical devices3.pillars of embedded io t and physical devices
3.pillars of embedded io t and physical devices
 
IoT Security Elements
IoT Security ElementsIoT Security Elements
IoT Security Elements
 
IEEE 2023 - 2024 EMBEDDED SYSTEM TITLES
IEEE 2023 - 2024 EMBEDDED SYSTEM TITLESIEEE 2023 - 2024 EMBEDDED SYSTEM TITLES
IEEE 2023 - 2024 EMBEDDED SYSTEM TITLES
 
Iot unit i
Iot unit iIot unit i
Iot unit i
 
Packet sniffing
Packet sniffingPacket sniffing
Packet sniffing
 
Internet of Things: A Hands-On Approach
Internet of Things: A Hands-On ApproachInternet of Things: A Hands-On Approach
Internet of Things: A Hands-On Approach
 
ipv6 ppt
ipv6 pptipv6 ppt
ipv6 ppt
 
.NET Core, ASP.NET Core Course, Session 1
.NET Core, ASP.NET Core Course, Session 1.NET Core, ASP.NET Core Course, Session 1
.NET Core, ASP.NET Core Course, Session 1
 
IOT15_Unit6.pptx
IOT15_Unit6.pptxIOT15_Unit6.pptx
IOT15_Unit6.pptx
 

Viewers also liked

Ettore Reginaldo Tedeschi indica: visite Veneza
Ettore Reginaldo Tedeschi indica: visite VenezaEttore Reginaldo Tedeschi indica: visite Veneza
Ettore Reginaldo Tedeschi indica: visite Veneza
EttoreTedeschi
 
Las profesiones del futuro
Las profesiones del futuroLas profesiones del futuro
Las profesiones del futuro
Alex Arias
 
Plano de negocios Bitorpedo
Plano de negocios  BitorpedoPlano de negocios  Bitorpedo
Plano de negocios Bitorpedo
Nuno Santos
 
Voley
VoleyVoley
Gamão nos bares de Buenos Aires
Gamão nos bares de Buenos AiresGamão nos bares de Buenos Aires
Gamão nos bares de Buenos Aires
EttoreTedeschi
 
Lecture 1: Introduction to JEE
Lecture 1:  Introduction to JEELecture 1:  Introduction to JEE
Lecture 1: Introduction to JEE
Fahad Golra
 
Plate tectonics
Plate tectonicsPlate tectonics
Plate tectonics
zeeshan Ahmad
 

Viewers also liked (13)

Fabulas
FabulasFabulas
Fabulas
 
Ettore Reginaldo Tedeschi indica: visite Veneza
Ettore Reginaldo Tedeschi indica: visite VenezaEttore Reginaldo Tedeschi indica: visite Veneza
Ettore Reginaldo Tedeschi indica: visite Veneza
 
1
11
1
 
Missão cumprida!
Missão cumprida!Missão cumprida!
Missão cumprida!
 
Danissa
DanissaDanissa
Danissa
 
Las profesiones del futuro
Las profesiones del futuroLas profesiones del futuro
Las profesiones del futuro
 
Plano de negocios Bitorpedo
Plano de negocios  BitorpedoPlano de negocios  Bitorpedo
Plano de negocios Bitorpedo
 
Voley
VoleyVoley
Voley
 
digital stega slides
digital stega slidesdigital stega slides
digital stega slides
 
Gamão nos bares de Buenos Aires
Gamão nos bares de Buenos AiresGamão nos bares de Buenos Aires
Gamão nos bares de Buenos Aires
 
Lecture 1: Introduction to JEE
Lecture 1:  Introduction to JEELecture 1:  Introduction to JEE
Lecture 1: Introduction to JEE
 
Usted sabe lo que hacen los ediles
Usted sabe lo que hacen los edilesUsted sabe lo que hacen los ediles
Usted sabe lo que hacen los ediles
 
Plate tectonics
Plate tectonicsPlate tectonics
Plate tectonics
 

Similar to Java EE 7 introduction

Web programming and development - Introduction
Web programming and development - IntroductionWeb programming and development - Introduction
Web programming and development - Introduction
Joel Briza
 
J2EE Architecture Explained
J2EE  Architecture ExplainedJ2EE  Architecture Explained
J2EE Architecture Explained
Adarsh Kr Sinha
 
Introduction to java ee
Introduction to java eeIntroduction to java ee
Introduction to java eeRanjan Kumar
 
EJ NOV-18 (Sol) (E-next.in).pdf
EJ NOV-18 (Sol) (E-next.in).pdfEJ NOV-18 (Sol) (E-next.in).pdf
EJ NOV-18 (Sol) (E-next.in).pdf
SPAMVEDANT
 
Enterprice java
Enterprice javaEnterprice java
Enterprice java
GowriLatha1
 
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
 
Java J2EE
Java J2EEJava J2EE
Java J2EE
Sandeep Rawat
 
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
 
Enterprise java unit-1_chapter-1
Enterprise java unit-1_chapter-1Enterprise java unit-1_chapter-1
Enterprise java unit-1_chapter-1
sandeep54552
 
4. J2EE.pptx
4. J2EE.pptx4. J2EE.pptx
4. J2EE.pptx
HariChandruduM
 
Intorduction to struts
Intorduction to strutsIntorduction to struts
Intorduction to struts
Anup72
 
Lecture 19 - Dynamic Web - JAVA - Part 1.ppt
Lecture 19 - Dynamic Web - JAVA - Part 1.pptLecture 19 - Dynamic Web - JAVA - Part 1.ppt
Lecture 19 - Dynamic Web - JAVA - Part 1.ppt
KalsoomTahir2
 
Ppt for Online music store
Ppt for Online music storePpt for Online music store
Ppt for Online music store
ADEEBANADEEM
 
Lec2 ecom fall16
Lec2 ecom fall16Lec2 ecom fall16
Lec2 ecom fall16
Zainab Khallouf
 
Enterprise application developement
Enterprise application developementEnterprise application developement
Enterprise application developement
Archana Jha
 
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Д. Ганаа
 
Introduction to java_ee
Introduction to java_eeIntroduction to java_ee
Introduction to java_eeYogesh Bindwal
 
Websphereinterview 100725022705-phpapp02
Websphereinterview 100725022705-phpapp02Websphereinterview 100725022705-phpapp02
Websphereinterview 100725022705-phpapp02kishore2526
 
JEE Programming - 02 The Containers
JEE Programming - 02 The ContainersJEE Programming - 02 The Containers
JEE Programming - 02 The Containers
Danairat Thanabodithammachari
 
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
 

Similar to Java EE 7 introduction (20)

Web programming and development - Introduction
Web programming and development - IntroductionWeb programming and development - Introduction
Web programming and development - Introduction
 
J2EE Architecture Explained
J2EE  Architecture ExplainedJ2EE  Architecture Explained
J2EE Architecture Explained
 
Introduction to java ee
Introduction to java eeIntroduction to java ee
Introduction to java ee
 
EJ NOV-18 (Sol) (E-next.in).pdf
EJ NOV-18 (Sol) (E-next.in).pdfEJ NOV-18 (Sol) (E-next.in).pdf
EJ NOV-18 (Sol) (E-next.in).pdf
 
Enterprice java
Enterprice javaEnterprice java
Enterprice java
 
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
 
Java J2EE
Java J2EEJava J2EE
Java J2EE
 
Project report for final year project
Project report for final year projectProject report for final year project
Project report for final year project
 
Enterprise java unit-1_chapter-1
Enterprise java unit-1_chapter-1Enterprise java unit-1_chapter-1
Enterprise java unit-1_chapter-1
 
4. J2EE.pptx
4. J2EE.pptx4. J2EE.pptx
4. J2EE.pptx
 
Intorduction to struts
Intorduction to strutsIntorduction to struts
Intorduction to struts
 
Lecture 19 - Dynamic Web - JAVA - Part 1.ppt
Lecture 19 - Dynamic Web - JAVA - Part 1.pptLecture 19 - Dynamic Web - JAVA - Part 1.ppt
Lecture 19 - Dynamic Web - JAVA - Part 1.ppt
 
Ppt for Online music store
Ppt for Online music storePpt for Online music store
Ppt for Online music store
 
Lec2 ecom fall16
Lec2 ecom fall16Lec2 ecom fall16
Lec2 ecom fall16
 
Enterprise application developement
Enterprise application developementEnterprise application developement
Enterprise application developement
 
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
 
Introduction to java_ee
Introduction to java_eeIntroduction to java_ee
Introduction to java_ee
 
Websphereinterview 100725022705-phpapp02
Websphereinterview 100725022705-phpapp02Websphereinterview 100725022705-phpapp02
Websphereinterview 100725022705-phpapp02
 
JEE Programming - 02 The Containers
JEE Programming - 02 The ContainersJEE Programming - 02 The Containers
JEE Programming - 02 The Containers
 
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.
 

More from Moumie Soulemane

Graph based data models
Graph based data modelsGraph based data models
Graph based data models
Moumie Soulemane
 
Developing a real time application on the cloud using node js , socket.io and...
Developing a real time application on the cloud using node js , socket.io and...Developing a real time application on the cloud using node js , socket.io and...
Developing a real time application on the cloud using node js , socket.io and...
Moumie Soulemane
 
Mobile web development
Mobile web development Mobile web development
Mobile web development
Moumie Soulemane
 
Java ee introduction
Java ee introductionJava ee introduction
Java ee introduction
Moumie Soulemane
 
Kids Psychology: how they learn
Kids Psychology: how they learnKids Psychology: how they learn
Kids Psychology: how they learn
Moumie Soulemane
 
Performance evaluation of an app for kids learning using BPMN
Performance evaluation of an app for kids learning using BPMNPerformance evaluation of an app for kids learning using BPMN
Performance evaluation of an app for kids learning using BPMN
Moumie Soulemane
 
Wealth creation through software
Wealth creation through software Wealth creation through software
Wealth creation through software
Moumie Soulemane
 
Software engineering in the context of production economic
Software engineering in the context of production economicSoftware engineering in the context of production economic
Software engineering in the context of production economic
Moumie Soulemane
 
Software engineering in the context of production economics
Software engineering in the context of production economicsSoftware engineering in the context of production economics
Software engineering in the context of production economics
Moumie Soulemane
 
University Cafeteria Operations using Business Process Model and Notation (B...
University Cafeteria Operations  using Business Process Model and Notation (B...University Cafeteria Operations  using Business Process Model and Notation (B...
University Cafeteria Operations using Business Process Model and Notation (B...
Moumie Soulemane
 

More from Moumie Soulemane (10)

Graph based data models
Graph based data modelsGraph based data models
Graph based data models
 
Developing a real time application on the cloud using node js , socket.io and...
Developing a real time application on the cloud using node js , socket.io and...Developing a real time application on the cloud using node js , socket.io and...
Developing a real time application on the cloud using node js , socket.io and...
 
Mobile web development
Mobile web development Mobile web development
Mobile web development
 
Java ee introduction
Java ee introductionJava ee introduction
Java ee introduction
 
Kids Psychology: how they learn
Kids Psychology: how they learnKids Psychology: how they learn
Kids Psychology: how they learn
 
Performance evaluation of an app for kids learning using BPMN
Performance evaluation of an app for kids learning using BPMNPerformance evaluation of an app for kids learning using BPMN
Performance evaluation of an app for kids learning using BPMN
 
Wealth creation through software
Wealth creation through software Wealth creation through software
Wealth creation through software
 
Software engineering in the context of production economic
Software engineering in the context of production economicSoftware engineering in the context of production economic
Software engineering in the context of production economic
 
Software engineering in the context of production economics
Software engineering in the context of production economicsSoftware engineering in the context of production economics
Software engineering in the context of production economics
 
University Cafeteria Operations using Business Process Model and Notation (B...
University Cafeteria Operations  using Business Process Model and Notation (B...University Cafeteria Operations  using Business Process Model and Notation (B...
University Cafeteria Operations using Business Process Model and Notation (B...
 

Recently uploaded

Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
Peter Spielvogel
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
Vlad Stirbu
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 

Recently uploaded (20)

Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 

Java EE 7 introduction

  • 1. JAVA EE 7 Enterprise What is ?
  • 2. About me  Soulemane Moumie  Programmer Blogger Open source advocate  www.moumie.org Seite 1
  • 3. Seite 2 Introduction In the world of information technology, enterprise applications must be designed, built, and produced for less money, with greater speed, and with fewer resources. In this regard, Java EE platform aims at providing developers with a powerful set of APIs while shortening development time, reducing application complexity, and improving application performance.
  • 4. Seite 3 Java EE 7 Platform A platform is a group of technologies that are used as a base upon which other applications, processes or technologies are developed. The most important goal of the Java EE 7 platform is to simplify development by providing a common foundation for the various kinds of components in the Java EE platform. This platform is regularly update through the addition of new technologies or new features to existing technologies.
  • 5. Java EE Application Model Application model is a notation and rules for expressing the conceptual and implementation architectures of an application. The Java EE application model begins with the Java programming language and the Java virtual machine. This model defines an architecture for implementing services as multitier applications divided into the following parts: - The business and presentation logic to be implemented by the developer. - The standard system services provided by the Java EE platform. The developer can rely on the platform to provide solutions for the hard systems-level problems of developing a multitier service. Seite 4
  • 6. Distributed Multitiered Applications Seite 5 Java EE multitiered applications are generally considered to be three-tiered applications because they are distributed over three locations
  • 7. Security • The Java EE platform provides standard declarative access control rules that are defined by the developer and interpreted when the application is deployed on the server. • Java EE also provides standard login mechanisms so that application developers do not have to implement these mechanisms in their applications. • All these features make the Java EE platform applications portable to a wide variety of security implementations Seite 6 Java EE Components • A Java EE component is a self-contained functional software unit that is assembled into a Java EE application with its related classes and files and that communicates with other components. • The Java EE specification defines the following Java EE components: - Application clients and applets are components that run on the client. - Java Servlet, Java Server Faces, and Java Server Pages (JSP) technology components are web components that run on the server. - EJB components (enterprise beans) are business components that run on the server.
  • 8. Java EE Clients • Web Clients - Dynamic web pages containing various types of markup language (HTML, XML, …), which are generated by web components running in the web tier. This web page can include an applet . An applet is a small client application written in java that executes in the Java virtual machine installed in the web browser. - Web browser, which renders the pages received from the server. • Application Clients An application client runs on a client machine and provides a way for users to handle tasks that require a richer user interface than can be provided by a markup language. The GUI created from the Swing API or the Abstract Window Toolkit (AWT) API, but a command-line interface is certainly possible. Seite 7
  • 9. Data flow • The JavaBeans Component Architecture JavaBeans components have properties and have get and set methods for accessing those properties. They are used to manage the data flow between the following: - An application client or applet and components running on the Java EE server - Server components and a database • Java EE Server Communications - The client communicates with the business tier running on the Java EE server either directly. - or, as in the case of a client running in a browser, by going through web pages or Servlets running in the web tier. Seite 8
  • 10. Web Components • Servlets are Java programming language classes that dynamically process requests and construct responses. • JSP pages are text-based documents that execute as Servlets but allow a more natural approach to creating static content. • Java Server Faces technology builds on servlets and JSP technology and provides a user interface component framework for web applications. Important: Static HTML pages ,applets, Server-side utility classes are bundled with web components during application assembly but are not considered web components by the Java EE specification. Seite 9
  • 11. Business Components Business code, which is logic that solves or meets the needs of a particular business domain such as banking, retail, or finance is handled by enterprise beans running in either the business tier or the web tier. These enterprises bean also retrieves/sends data from/to storage, processes it (if necessary), and sends it back to the client program. Enterprise Information System Tier The enterprise information system tier handles EIS software and includes enterprise infrastructure systems, such as ERP, mainframe ,transaction processing, database systems Seite 10
  • 12. Java EE Containers Containers are the interface between a component and the low-level, platform-specific functionality that supports the component. The deployment process installs Java EE application components in the Java EE containers, the server and containers are as follows: - Java EE Server: The runtime portion of a Java EE product. A Java EE server provides EJB and web containers - EJB Container: Manages the execution of enterprise beans for Java EE applications. - Web Container: Manages the execution of web pages, servlets, and some EJB components for Java EE applications. - Web Application client container: Manages the execution of application client components . Application clients and their container run on the client. - Applet Container: Manages the execution of applets. Consists of a web browser and a Java Plug-in running on the client together. Seite 11
  • 13. Java EE Containers Services . - The Java EE security model - The Java EE transaction model - The Java EE remote connectivity model - Web JNDI lookup services provide a unified interface to multiple naming and directory services in the enterprise so that application components can access these services. Seite 12
  • 14. Web Services Support Web Services are web-based enterprise applications that use open, XML-based standards and transport protocols to exchange data with calling clients. These XML- based standards and protocols are: - XML: Extensible Markup Language (XML) is a cross-platform, extensible, text-based standard for representing data. - SOAP Transport Protocol: SOAP is an XML-based protocol that follows the HTTP request-and-response model. Client requests and web service responses are transmitted as Simple Object Access Protocol (SOAP) messages over HTTP. - WSDL Standard Format: The Web Services Description Language (WSDL) is a standardized XML format for describing network services (name, location, communication ways). WSDL service descriptions can be published on the Web. It can be generated using Glassfish server. Seite 13
  • 15. Java EE Application Assembly and Deployment A Java EE application is packaged into one or more standard units for deployment to any Java EE platform-compliant system. Deployment typically involves using a platform's deployment tool to specify location- specific information, such as a list of local users who can access it and the name of the local database. For deployment purpose, J2EE applications are delivered and reside in Archive files (or unit). Seite 14 J2EE Archive Type File Extension Module Type Enterprise archive EAR All modules together Java Archive JAR Enterprise Bean Module, Application Client module Web Archive WAR Web module Resource Adapter RAR Resource adapter module
  • 16. Java EE 7 APIs  Enterprise JavaBeans Technology.  Java Servlet Technology  JavaServer Faces Technology  JavaServer Pages Technology  JavaServer Pages Standard Tag Library  Java Persistence API  Java Transaction API  Java API for RESTful Web Services  Managed Beans  Contexts and Dependency Injection for Java EE  Dependency Injection for Java  Bean Validation  Java Message Service API  Java EE Connector Architecture  JavaMail API  Java Authorization Contract for Containers  Java Authentication Service Provider Interface for Containers  Java API for WebSocket  Java API for JSON Processing  Concurrency Utilities for Java EE  Batch Applications for the Java Platform Seite 15
  • 17. Java EE 7 APIs in the Java Platform, Standard Edition 7 Several APIs that are required by the Java EE 7 platform are included in the Java Platform, Standard Edition 7 (Java SE 7) and are thus available to Java EE applications.  Java Database Connectivity API.  Java Naming and Directory Interface API  JavaBeans Activation Framework  Java API for XML Processing  Java Architecture for XML Binding  Java API for XML Web Services  SOAP with Attachments API for Java  Java Authentication and Authorization Service  Common Annotations for the Java Platform Seite 16
  • 18. GlassFish Server Tools GlassFish Server is a compliant implementation of the Java EE 7 platform. In addition to supporting all the APIs described in the previous sections.  Administration Console: web-based GUI GlassFish Server administration utility.  asadmin: command-line administration utility is used to start and stop GlassFish Server and to manage users, resources, and applications.  appclient: launches the application client container and invokes the client application  capture-schema: extract schema information from a database, producing a schema file that GlassFish Server can use for container-managed persistence.  package-appclient: package the application client container libraries and JAR files.  Java DB database: a copy of the Java DB server.  xjc: transform, or bind, a source XML schema to a set of JAXB content classes in java  schemagen: create a schema file for each namespace referenced in your Java classes.  wsimport: generate JAX-WS portable artifacts for a given WSDL file.  wsgen: read a web service endpoint class and generate all the required JAX-WS Seite 17
  • 19. Value to Developers • Secure Solutions • Concentrate on business logic/solution, yielding • better productivity • Choice of databases and components • Use of existing investments Seite 18