SlideShare a Scribd company logo
EnterPrice Java
By
v.Sakthi Priya ,M.Sc
Department of CS & IT,
Nadar Saraswathi College of Arts and Science,
Theni.
EnterPrice Java:
 They are components that can be connected to
form a system
 They can represent data
 They can represent behavior
 Usually, EJBs fall into only one of these
categories
They are typically used in the server tier
EJBs can be persisted
 EJBs can interact with other EJBs
Advantages:
EJBs are reusable components
• Can be reused in different parts of the system
• Can be packaged into libraries and sold
EJBs Can be combined visually using development IDEs
• E.g. Visual Age, Visual Café
EJBs provide convenient abstractions so it do not require
you to write:
• Multi-threaded, multiple access code
• Database access code (e.g. JDBC)
• Network communication code (i.e. it uses RMI) for client/server
communication
• Network communication code for EJB to EJB communication
• Transaction management code
EJBs from different businesses can interact easily
• This is because of their well-defined interfaces
1. Containers where EJBs (and JSPs and
servlets)
are executed
2.Provide EJB functionality, including:
* Persistence through databases (using JDBC)
* Transactions (using Java Transaction Service)
3. Can provide advanced features, including:
* Load balancing
* Database connection pooling
4.Here are the major application servers:
* SJS AP, WebLogic (BEA), Internet Application
Server or iAS (Oracle), WebSphere (IBM)
•Authentication :
The means by which communicating entities (for example,
client and server) prove to one another that they are acting on
behalf of specific identities that are authorized for access.
•Access control for resources:
The means by which interactions with resources are limited to
collections of users or programs for the purpose of enforcing
integrity, confidentiality, or availability constraints.
•Non-repudiation: The means used to prove that a user
performed some action such that the user cannot reasonably
deny having done so.
•Data integrity:
The means used to prove that information has not been modified
by a third party (some entity other than the source of the
information). For example, a recipient of data sent over an open
network must be able to detect and discard messages that were
modified after they were sent.
•Confidentiality or Data Privacy: The means used to ensure
that information is made available only to users who are
authorized to access it.
•Auditing: The means used to capture a tamper-resistant record
of security related events for the purpose of being able to
evaluate the effectiveness of security policies and mechanisms.
Client Components
A Java EE application can be web-based or non-web-
based. An application client executes on the client
machine for a non-web-based Java EE application, and a
web browser downloads web pages and applets to the
client machine for a web-based Java EE application.
Application Clients
An application client runs on a client machine and
provides a way for users to handle tasks such as Java EE
system or application administration. It typically has a
graphical user interface created from Project Swing or
Abstract Window Toolkit (AWT) APIs, but a command-line
interface is certainly possible.
Application clients directly access enterprise beans
running in the business tier. However, if the Java EE
application client requirements warrant it, an application
client can open an HTTP connection to establish
communication with a servlet running in the web tier.
Web Browsers
The user's web browser downloads static or dynamic Hypertext Markup
Language (HTML), Wireless Markup Language (WML), or Extensible Markup
Language (XML) web pages from the web tier. Dynamic web pages are
generated by servlets or JSP pages running in the web tier.
Applets
A web page downloaded from the web tier can include an embedded applet.
An applet is a small client application written in the Java programming
language that executes in the Java VM installed in the web browser. However,
client systems will likely need Java Plug-in and possibly a security policy file
so the applet can successfully execute in the web browser.
Applets that run in other network-based systems such as handheld devices
or car phones can render Wireless Markup Language (WML) pages generated
by a JSP page or servlet running on the Java EE server. The WML page is
delivered over Wireless Application Protocol (WAP) and the network
configuration requires a gateway to translate WAP to HTTP and back again.
The gateway translates the WAP request coming from the handheld device to
an HTTP request for the Java EE server, and then translates the HTTP server
response and WML page to a WAP server response and WML page for
display on the handheld device.
Container Types
The deployment process installs Java EE application
components in the following types of Java EE containers. The
Java EE components and container addressed in this tutorial
are shown in Figure 5.
1. An Enterprise JavaBeans (EJB) container manages the
execution of all enterprise beans for one Java EE
application. Enterprise beans and their container run on the
Java EE server.
2. A web container manages the execution of all JSP page
and servlet components for one Java EE application. Web
components and their container run on the Java EE server.
3. An application client container manages the execution of
all application client components for one Java EE
application. Application clients and their container run on
the client machine.
4. An applet container is the web browser and Java Plug-in
combination running on the client machine.
Java EE Server and Containers
Scripts
Script Description
j2ee Start and stop the Java EE server.
cloudscape Start and stop the default database.
cloudIJ Run the interactive SQL tool. This is an
unsupported tool.
j2eeadmin Add JDBC drivers, JMS destinations, and
connection factories for various
resources.
keytool Create public and private keys and
generate X509 self-signed certificates.
realmtool Import certificate files. Add Java EE users
to and remove Java EE users from the
authentication and authorization list for a
Java EE application.
packager Package Java EE application
components into EAR, EJB JAR,
application client JAR, and WAR files.
verifier Verify that EAR, EJB JAR, application
client JAR, and WAR files are well-formed
and comply with the Java EE
specification.
runclient Run a Java EE application client.
cleanup Remove all deployed applications from the
Java EE server.
Thank You…

More Related Content

What's hot

J2ee architecture
J2ee architectureJ2ee architecture
J2ee architecture
Erencan Özkan
 
J2EE and layered architecture
J2EE and layered architectureJ2EE and layered architecture
J2EE and layered architecture
Suman Behara
 
Topic4 Application Servers
Topic4 Application ServersTopic4 Application Servers
Topic4 Application Serverssanjoysanyal
 
Java EE EJB Applications
Java EE EJB ApplicationsJava EE EJB Applications
Java EE EJB Applications
DevelopIntelligence
 
Lecture 8 Enterprise Java Beans (EJB)
Lecture 8  Enterprise Java Beans (EJB)Lecture 8  Enterprise Java Beans (EJB)
Lecture 8 Enterprise Java Beans (EJB)
Fahad Golra
 
J2ee seminar
J2ee seminarJ2ee seminar
J2ee seminar
Sahil Kukreja
 
Types of Drivers in JDBC
Types of Drivers in JDBCTypes of Drivers in JDBC
Types of Drivers in JDBC
Hemant Sharma
 
EJB3 Basics
EJB3 BasicsEJB3 Basics
EJB3 Basics
Emprovise
 
J2EE Introduction
J2EE IntroductionJ2EE Introduction
J2EE Introduction
Patroklos Papapetrou (Pat)
 
Introduction to EJB
Introduction to EJBIntroduction to EJB
Introduction to EJB
Return on Intelligence
 
Enterprise Java Beans - EJB
Enterprise Java Beans - EJBEnterprise Java Beans - EJB
Enterprise Java Beans - EJB
Peter R. Egli
 
Java ee introduction
Java ee introductionJava ee introduction
Java ee introduction
Moumie Soulemane
 
enterprise java bean
enterprise java beanenterprise java bean
enterprise java bean
Jitender Singh Lodhi
 
JDBC Driver Types
JDBC Driver TypesJDBC Driver Types
JDBC Driver Types
Rahul Sharma
 
Entity beans in java
Entity beans in javaEntity beans in java
Entity beans in java
Acp Jamod
 

What's hot (20)

Chapter2 j2ee
Chapter2 j2eeChapter2 j2ee
Chapter2 j2ee
 
J2ee architecture
J2ee architectureJ2ee architecture
J2ee architecture
 
J2EE and layered architecture
J2EE and layered architectureJ2EE and layered architecture
J2EE and layered architecture
 
Topic4 Application Servers
Topic4 Application ServersTopic4 Application Servers
Topic4 Application Servers
 
Java EE EJB Applications
Java EE EJB ApplicationsJava EE EJB Applications
Java EE EJB Applications
 
Lecture 8 Enterprise Java Beans (EJB)
Lecture 8  Enterprise Java Beans (EJB)Lecture 8  Enterprise Java Beans (EJB)
Lecture 8 Enterprise Java Beans (EJB)
 
Jsp tutorial
Jsp tutorialJsp tutorial
Jsp tutorial
 
J2ee seminar
J2ee seminarJ2ee seminar
J2ee seminar
 
Jdbc driver types
Jdbc driver typesJdbc driver types
Jdbc driver types
 
Types of Drivers in JDBC
Types of Drivers in JDBCTypes of Drivers in JDBC
Types of Drivers in JDBC
 
Jdbc
JdbcJdbc
Jdbc
 
EJB3 Basics
EJB3 BasicsEJB3 Basics
EJB3 Basics
 
J2EE Introduction
J2EE IntroductionJ2EE Introduction
J2EE Introduction
 
Introduction to EJB
Introduction to EJBIntroduction to EJB
Introduction to EJB
 
Java bean
Java beanJava bean
Java bean
 
Enterprise Java Beans - EJB
Enterprise Java Beans - EJBEnterprise Java Beans - EJB
Enterprise Java Beans - EJB
 
Java ee introduction
Java ee introductionJava ee introduction
Java ee introduction
 
enterprise java bean
enterprise java beanenterprise java bean
enterprise java bean
 
JDBC Driver Types
JDBC Driver TypesJDBC Driver Types
JDBC Driver Types
 
Entity beans in java
Entity beans in javaEntity beans in java
Entity beans in java
 

Similar to Enterprice java

Java EE 7 introduction
Java EE 7  introductionJava EE 7  introduction
Java EE 7 introduction
Moumie Soulemane
 
Web programming and development - Introduction
Web programming and development - IntroductionWeb programming and development - Introduction
Web programming and development - Introduction
Joel Briza
 
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
 
J2EE Notes JDBC database Connectiviy and Programs related to JDBC
J2EE Notes JDBC database Connectiviy and Programs related to JDBCJ2EE Notes JDBC database Connectiviy and Programs related to JDBC
J2EE Notes JDBC database Connectiviy and Programs related to JDBC
ChaithraCSHirematt
 
Intorduction to struts
Intorduction to strutsIntorduction to struts
Intorduction to struts
Anup72
 
Overview of JEE Technology
Overview of JEE TechnologyOverview of JEE Technology
Overview of JEE Technology
People Strategists
 
4. J2EE.pptx
4. J2EE.pptx4. J2EE.pptx
4. J2EE.pptx
HariChandruduM
 
Ppt for Online music store
Ppt for Online music storePpt for Online music store
Ppt for Online music store
ADEEBANADEEM
 
E farming
E farmingE farming
E farming
shashank reddy
 
Online test management system
Online test management systemOnline test management system
Online test management system
Prateek Agarwak
 
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
 
Ejb notes
Ejb notesEjb notes
Ejb notes
Mumbai Academisc
 
Suresh Resume
Suresh ResumeSuresh Resume
Suresh Resume
Suresh K N V
 
Enterprise java unit-1_chapter-2
Enterprise java unit-1_chapter-2Enterprise java unit-1_chapter-2
Enterprise java unit-1_chapter-2
sandeep54552
 
enterprisejavaunit-1chapter-2-210914075956.pdf
enterprisejavaunit-1chapter-2-210914075956.pdfenterprisejavaunit-1chapter-2-210914075956.pdf
enterprisejavaunit-1chapter-2-210914075956.pdf
EidTahir
 
JEE Programming - 02 The Containers
JEE Programming - 02 The ContainersJEE Programming - 02 The Containers
JEE Programming - 02 The Containers
Danairat Thanabodithammachari
 
J2 EEE SIDES
J2 EEE  SIDESJ2 EEE  SIDES
J2 EEE SIDESbputhal
 
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
 
P20CSP105-AdvJavaProg.pptx
P20CSP105-AdvJavaProg.pptxP20CSP105-AdvJavaProg.pptx
P20CSP105-AdvJavaProg.pptx
DrTCVijayaraghavan
 

Similar to Enterprice java (20)

Java EE 7 introduction
Java EE 7  introductionJava EE 7  introduction
Java EE 7 introduction
 
Web programming and development - Introduction
Web programming and development - IntroductionWeb programming and development - Introduction
Web programming and development - Introduction
 
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
 
J2EE Notes JDBC database Connectiviy and Programs related to JDBC
J2EE Notes JDBC database Connectiviy and Programs related to JDBCJ2EE Notes JDBC database Connectiviy and Programs related to JDBC
J2EE Notes JDBC database Connectiviy and Programs related to JDBC
 
Intorduction to struts
Intorduction to strutsIntorduction to struts
Intorduction to struts
 
Overview of JEE Technology
Overview of JEE TechnologyOverview of JEE Technology
Overview of JEE Technology
 
4. J2EE.pptx
4. J2EE.pptx4. J2EE.pptx
4. J2EE.pptx
 
Ppt for Online music store
Ppt for Online music storePpt for Online music store
Ppt for Online music store
 
E farming
E farmingE farming
E farming
 
Online test management system
Online test management systemOnline test management system
Online test management system
 
Project report for final year project
Project report for final year projectProject report for final year project
Project report for final year project
 
KaranDeepSinghCV
KaranDeepSinghCVKaranDeepSinghCV
KaranDeepSinghCV
 
Ejb notes
Ejb notesEjb notes
Ejb notes
 
Suresh Resume
Suresh ResumeSuresh Resume
Suresh Resume
 
Enterprise java unit-1_chapter-2
Enterprise java unit-1_chapter-2Enterprise java unit-1_chapter-2
Enterprise java unit-1_chapter-2
 
enterprisejavaunit-1chapter-2-210914075956.pdf
enterprisejavaunit-1chapter-2-210914075956.pdfenterprisejavaunit-1chapter-2-210914075956.pdf
enterprisejavaunit-1chapter-2-210914075956.pdf
 
JEE Programming - 02 The Containers
JEE Programming - 02 The ContainersJEE Programming - 02 The Containers
JEE Programming - 02 The Containers
 
J2 EEE SIDES
J2 EEE  SIDESJ2 EEE  SIDES
J2 EEE SIDES
 
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.
 
P20CSP105-AdvJavaProg.pptx
P20CSP105-AdvJavaProg.pptxP20CSP105-AdvJavaProg.pptx
P20CSP105-AdvJavaProg.pptx
 

More from GowriLatha1

Filtering in frequency domain
Filtering in frequency domainFiltering in frequency domain
Filtering in frequency domain
GowriLatha1
 
Demand assigned and packet reservation multiple access
Demand assigned and packet reservation multiple accessDemand assigned and packet reservation multiple access
Demand assigned and packet reservation multiple access
GowriLatha1
 
Software engineering
Software engineeringSoftware engineering
Software engineering
GowriLatha1
 
Shadow paging
Shadow pagingShadow paging
Shadow paging
GowriLatha1
 
Multithreading
MultithreadingMultithreading
Multithreading
GowriLatha1
 
Hive
HiveHive
Web services & com+ components
Web services & com+ componentsWeb services & com+ components
Web services & com+ components
GowriLatha1
 
Comparison with Traditional databases
Comparison with Traditional databasesComparison with Traditional databases
Comparison with Traditional databases
GowriLatha1
 
Recovery system
Recovery systemRecovery system
Recovery system
GowriLatha1
 
Comparison with Traditional databases
Comparison with Traditional databasesComparison with Traditional databases
Comparison with Traditional databases
GowriLatha1
 
Static analysis
Static analysisStatic analysis
Static analysis
GowriLatha1
 
Hema dm
Hema dmHema dm
Hema dm
GowriLatha1
 
Data reduction
Data reductionData reduction
Data reduction
GowriLatha1
 
Inter process communication
Inter process communicationInter process communication
Inter process communication
GowriLatha1
 
computer network
computer networkcomputer network
computer network
GowriLatha1
 
Operating System
Operating SystemOperating System
Operating System
GowriLatha1
 
Data mining query language
Data mining query languageData mining query language
Data mining query language
GowriLatha1
 
Ethernet
EthernetEthernet
Ethernet
GowriLatha1
 
Java script
Java scriptJava script
Java script
GowriLatha1
 
Path & application(ds)2
Path & application(ds)2Path & application(ds)2
Path & application(ds)2
GowriLatha1
 

More from GowriLatha1 (20)

Filtering in frequency domain
Filtering in frequency domainFiltering in frequency domain
Filtering in frequency domain
 
Demand assigned and packet reservation multiple access
Demand assigned and packet reservation multiple accessDemand assigned and packet reservation multiple access
Demand assigned and packet reservation multiple access
 
Software engineering
Software engineeringSoftware engineering
Software engineering
 
Shadow paging
Shadow pagingShadow paging
Shadow paging
 
Multithreading
MultithreadingMultithreading
Multithreading
 
Hive
HiveHive
Hive
 
Web services & com+ components
Web services & com+ componentsWeb services & com+ components
Web services & com+ components
 
Comparison with Traditional databases
Comparison with Traditional databasesComparison with Traditional databases
Comparison with Traditional databases
 
Recovery system
Recovery systemRecovery system
Recovery system
 
Comparison with Traditional databases
Comparison with Traditional databasesComparison with Traditional databases
Comparison with Traditional databases
 
Static analysis
Static analysisStatic analysis
Static analysis
 
Hema dm
Hema dmHema dm
Hema dm
 
Data reduction
Data reductionData reduction
Data reduction
 
Inter process communication
Inter process communicationInter process communication
Inter process communication
 
computer network
computer networkcomputer network
computer network
 
Operating System
Operating SystemOperating System
Operating System
 
Data mining query language
Data mining query languageData mining query language
Data mining query language
 
Ethernet
EthernetEthernet
Ethernet
 
Java script
Java scriptJava script
Java script
 
Path & application(ds)2
Path & application(ds)2Path & application(ds)2
Path & application(ds)2
 

Recently uploaded

Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
EduSkills OECD
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
Col Mukteshwar Prasad
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
Fundacja Rozwoju Społeczeństwa Przedsiębiorczego
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
AzmatAli747758
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
 

Recently uploaded (20)

Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 

Enterprice java

  • 1. EnterPrice Java By v.Sakthi Priya ,M.Sc Department of CS & IT, Nadar Saraswathi College of Arts and Science, Theni.
  • 2. EnterPrice Java:  They are components that can be connected to form a system  They can represent data  They can represent behavior  Usually, EJBs fall into only one of these categories They are typically used in the server tier EJBs can be persisted  EJBs can interact with other EJBs
  • 3. Advantages: EJBs are reusable components • Can be reused in different parts of the system • Can be packaged into libraries and sold EJBs Can be combined visually using development IDEs • E.g. Visual Age, Visual Café EJBs provide convenient abstractions so it do not require you to write: • Multi-threaded, multiple access code • Database access code (e.g. JDBC) • Network communication code (i.e. it uses RMI) for client/server communication • Network communication code for EJB to EJB communication • Transaction management code EJBs from different businesses can interact easily • This is because of their well-defined interfaces
  • 4. 1. Containers where EJBs (and JSPs and servlets) are executed 2.Provide EJB functionality, including: * Persistence through databases (using JDBC) * Transactions (using Java Transaction Service) 3. Can provide advanced features, including: * Load balancing * Database connection pooling 4.Here are the major application servers: * SJS AP, WebLogic (BEA), Internet Application Server or iAS (Oracle), WebSphere (IBM)
  • 5.
  • 6. •Authentication : The means by which communicating entities (for example, client and server) prove to one another that they are acting on behalf of specific identities that are authorized for access. •Access control for resources: The means by which interactions with resources are limited to collections of users or programs for the purpose of enforcing integrity, confidentiality, or availability constraints. •Non-repudiation: The means used to prove that a user performed some action such that the user cannot reasonably deny having done so.
  • 7. •Data integrity: The means used to prove that information has not been modified by a third party (some entity other than the source of the information). For example, a recipient of data sent over an open network must be able to detect and discard messages that were modified after they were sent. •Confidentiality or Data Privacy: The means used to ensure that information is made available only to users who are authorized to access it. •Auditing: The means used to capture a tamper-resistant record of security related events for the purpose of being able to evaluate the effectiveness of security policies and mechanisms.
  • 8. Client Components A Java EE application can be web-based or non-web- based. An application client executes on the client machine for a non-web-based Java EE application, and a web browser downloads web pages and applets to the client machine for a web-based Java EE application. Application Clients An application client runs on a client machine and provides a way for users to handle tasks such as Java EE system or application administration. It typically has a graphical user interface created from Project Swing or Abstract Window Toolkit (AWT) APIs, but a command-line interface is certainly possible. Application clients directly access enterprise beans running in the business tier. However, if the Java EE application client requirements warrant it, an application client can open an HTTP connection to establish communication with a servlet running in the web tier.
  • 9. Web Browsers The user's web browser downloads static or dynamic Hypertext Markup Language (HTML), Wireless Markup Language (WML), or Extensible Markup Language (XML) web pages from the web tier. Dynamic web pages are generated by servlets or JSP pages running in the web tier. Applets A web page downloaded from the web tier can include an embedded applet. An applet is a small client application written in the Java programming language that executes in the Java VM installed in the web browser. However, client systems will likely need Java Plug-in and possibly a security policy file so the applet can successfully execute in the web browser. Applets that run in other network-based systems such as handheld devices or car phones can render Wireless Markup Language (WML) pages generated by a JSP page or servlet running on the Java EE server. The WML page is delivered over Wireless Application Protocol (WAP) and the network configuration requires a gateway to translate WAP to HTTP and back again. The gateway translates the WAP request coming from the handheld device to an HTTP request for the Java EE server, and then translates the HTTP server response and WML page to a WAP server response and WML page for display on the handheld device.
  • 10. Container Types The deployment process installs Java EE application components in the following types of Java EE containers. The Java EE components and container addressed in this tutorial are shown in Figure 5. 1. An Enterprise JavaBeans (EJB) container manages the execution of all enterprise beans for one Java EE application. Enterprise beans and their container run on the Java EE server. 2. A web container manages the execution of all JSP page and servlet components for one Java EE application. Web components and their container run on the Java EE server. 3. An application client container manages the execution of all application client components for one Java EE application. Application clients and their container run on the client machine. 4. An applet container is the web browser and Java Plug-in combination running on the client machine.
  • 11. Java EE Server and Containers
  • 12. Scripts Script Description j2ee Start and stop the Java EE server. cloudscape Start and stop the default database. cloudIJ Run the interactive SQL tool. This is an unsupported tool. j2eeadmin Add JDBC drivers, JMS destinations, and connection factories for various resources. keytool Create public and private keys and generate X509 self-signed certificates. realmtool Import certificate files. Add Java EE users to and remove Java EE users from the authentication and authorization list for a Java EE application.
  • 13. packager Package Java EE application components into EAR, EJB JAR, application client JAR, and WAR files. verifier Verify that EAR, EJB JAR, application client JAR, and WAR files are well-formed and comply with the Java EE specification. runclient Run a Java EE application client. cleanup Remove all deployed applications from the Java EE server.