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)
Enterprice java
•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…
Ad

More Related Content

What's hot (20)

Chapter2 j2ee
Chapter2 j2eeChapter2 j2ee
Chapter2 j2ee
Jafar Nesargi
 
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 Servers
sanjoysanyal
 
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
 
Jsp tutorial
Jsp tutorialJsp tutorial
Jsp tutorial
siddhesh2466
 
J2ee seminar
J2ee seminarJ2ee seminar
J2ee seminar
Sahil Kukreja
 
Jdbc driver types
Jdbc driver typesJdbc driver types
Jdbc driver types
Arvind Kumar
 
Types of Drivers in JDBC
Types of Drivers in JDBCTypes of Drivers in JDBC
Types of Drivers in JDBC
Hemant Sharma
 
Jdbc
JdbcJdbc
Jdbc
Harish Khodke
 
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
 
Java bean
Java beanJava bean
Java bean
Jafar Nesargi
 
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
 

Similar to Enterprice java (20)

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
 
KaranDeepSinghCV
KaranDeepSinghCVKaranDeepSinghCV
KaranDeepSinghCV
Karandeep 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 SIDES
bputhal
 
Enterprise Java TYIT Sem 5 Unit 1 Chapter 1 and 2 PPT
Enterprise Java TYIT Sem 5 Unit 1 Chapter 1 and 2 PPTEnterprise Java TYIT Sem 5 Unit 1 Chapter 1 and 2 PPT
Enterprise Java TYIT Sem 5 Unit 1 Chapter 1 and 2 PPT
dcruzsophia24
 
Enrterprise Java-Unit 1 (All chapters) for TYIT PPTx
Enrterprise Java-Unit 1 (All chapters) for TYIT PPTxEnrterprise Java-Unit 1 (All chapters) for TYIT PPTx
Enrterprise Java-Unit 1 (All chapters) for TYIT PPTx
dcruzsophia24
 
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
 
Ppt for Online music store
Ppt for Online music storePpt for Online music store
Ppt for Online music store
ADEEBANADEEM
 
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
 
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
 
J2 EEE SIDES
J2 EEE  SIDESJ2 EEE  SIDES
J2 EEE SIDES
bputhal
 
Enterprise Java TYIT Sem 5 Unit 1 Chapter 1 and 2 PPT
Enterprise Java TYIT Sem 5 Unit 1 Chapter 1 and 2 PPTEnterprise Java TYIT Sem 5 Unit 1 Chapter 1 and 2 PPT
Enterprise Java TYIT Sem 5 Unit 1 Chapter 1 and 2 PPT
dcruzsophia24
 
Enrterprise Java-Unit 1 (All chapters) for TYIT PPTx
Enrterprise Java-Unit 1 (All chapters) for TYIT PPTxEnrterprise Java-Unit 1 (All chapters) for TYIT PPTx
Enrterprise Java-Unit 1 (All chapters) for TYIT PPTx
dcruzsophia24
 
Ad

More from GowriLatha1 (20)

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
Hive
GowriLatha1
 
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
 
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
 
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
 
Comparison with Traditional databases
Comparison with Traditional databasesComparison with Traditional databases
Comparison with Traditional databases
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
 
Path & application(ds)2
Path & application(ds)2Path & application(ds)2
Path & application(ds)2
GowriLatha1
 
Ad

Recently uploaded (20)

P-glycoprotein pamphlet: iteration 4 of 4 final
P-glycoprotein pamphlet: iteration 4 of 4 finalP-glycoprotein pamphlet: iteration 4 of 4 final
P-glycoprotein pamphlet: iteration 4 of 4 final
bs22n2s
 
Ultimate VMware 2V0-11.25 Exam Dumps for Exam Success
Ultimate VMware 2V0-11.25 Exam Dumps for Exam SuccessUltimate VMware 2V0-11.25 Exam Dumps for Exam Success
Ultimate VMware 2V0-11.25 Exam Dumps for Exam Success
Mark Soia
 
One Hot encoding a revolution in Machine learning
One Hot encoding a revolution in Machine learningOne Hot encoding a revolution in Machine learning
One Hot encoding a revolution in Machine learning
momer9505
 
Social Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy StudentsSocial Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy Students
DrNidhiAgarwal
 
2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx
contactwilliamm2546
 
Understanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s GuideUnderstanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s Guide
GS Virdi
 
How to Subscribe Newsletter From Odoo 18 Website
How to Subscribe Newsletter From Odoo 18 WebsiteHow to Subscribe Newsletter From Odoo 18 Website
How to Subscribe Newsletter From Odoo 18 Website
Celine George
 
Handling Multiple Choice Responses: Fortune Effiong.pptx
Handling Multiple Choice Responses: Fortune Effiong.pptxHandling Multiple Choice Responses: Fortune Effiong.pptx
Handling Multiple Choice Responses: Fortune Effiong.pptx
AuthorAIDNationalRes
 
Metamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative JourneyMetamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative Journey
Arshad Shaikh
 
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Library Association of Ireland
 
How to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of saleHow to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of sale
Celine George
 
Marie Boran Special Collections Librarian Hardiman Library, University of Gal...
Marie Boran Special Collections Librarian Hardiman Library, University of Gal...Marie Boran Special Collections Librarian Hardiman Library, University of Gal...
Marie Boran Special Collections Librarian Hardiman Library, University of Gal...
Library Association of Ireland
 
How to Manage Opening & Closing Controls in Odoo 17 POS
How to Manage Opening & Closing Controls in Odoo 17 POSHow to Manage Opening & Closing Controls in Odoo 17 POS
How to Manage Opening & Closing Controls in Odoo 17 POS
Celine George
 
apa-style-referencing-visual-guide-2025.pdf
apa-style-referencing-visual-guide-2025.pdfapa-style-referencing-visual-guide-2025.pdf
apa-style-referencing-visual-guide-2025.pdf
Ishika Ghosh
 
Operations Management (Dr. Abdulfatah Salem).pdf
Operations Management (Dr. Abdulfatah Salem).pdfOperations Management (Dr. Abdulfatah Salem).pdf
Operations Management (Dr. Abdulfatah Salem).pdf
Arab Academy for Science, Technology and Maritime Transport
 
Multi-currency in odoo accounting and Update exchange rates automatically in ...
Multi-currency in odoo accounting and Update exchange rates automatically in ...Multi-currency in odoo accounting and Update exchange rates automatically in ...
Multi-currency in odoo accounting and Update exchange rates automatically in ...
Celine George
 
Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...
Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...
Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...
Library Association of Ireland
 
How to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odooHow to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odoo
Celine George
 
GDGLSPGCOER - Git and GitHub Workshop.pptx
GDGLSPGCOER - Git and GitHub Workshop.pptxGDGLSPGCOER - Git and GitHub Workshop.pptx
GDGLSPGCOER - Git and GitHub Workshop.pptx
azeenhodekar
 
Presentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem KayaPresentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem Kaya
MIPLM
 
P-glycoprotein pamphlet: iteration 4 of 4 final
P-glycoprotein pamphlet: iteration 4 of 4 finalP-glycoprotein pamphlet: iteration 4 of 4 final
P-glycoprotein pamphlet: iteration 4 of 4 final
bs22n2s
 
Ultimate VMware 2V0-11.25 Exam Dumps for Exam Success
Ultimate VMware 2V0-11.25 Exam Dumps for Exam SuccessUltimate VMware 2V0-11.25 Exam Dumps for Exam Success
Ultimate VMware 2V0-11.25 Exam Dumps for Exam Success
Mark Soia
 
One Hot encoding a revolution in Machine learning
One Hot encoding a revolution in Machine learningOne Hot encoding a revolution in Machine learning
One Hot encoding a revolution in Machine learning
momer9505
 
Social Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy StudentsSocial Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy Students
DrNidhiAgarwal
 
2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx
contactwilliamm2546
 
Understanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s GuideUnderstanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s Guide
GS Virdi
 
How to Subscribe Newsletter From Odoo 18 Website
How to Subscribe Newsletter From Odoo 18 WebsiteHow to Subscribe Newsletter From Odoo 18 Website
How to Subscribe Newsletter From Odoo 18 Website
Celine George
 
Handling Multiple Choice Responses: Fortune Effiong.pptx
Handling Multiple Choice Responses: Fortune Effiong.pptxHandling Multiple Choice Responses: Fortune Effiong.pptx
Handling Multiple Choice Responses: Fortune Effiong.pptx
AuthorAIDNationalRes
 
Metamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative JourneyMetamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative Journey
Arshad Shaikh
 
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Library Association of Ireland
 
How to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of saleHow to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of sale
Celine George
 
Marie Boran Special Collections Librarian Hardiman Library, University of Gal...
Marie Boran Special Collections Librarian Hardiman Library, University of Gal...Marie Boran Special Collections Librarian Hardiman Library, University of Gal...
Marie Boran Special Collections Librarian Hardiman Library, University of Gal...
Library Association of Ireland
 
How to Manage Opening & Closing Controls in Odoo 17 POS
How to Manage Opening & Closing Controls in Odoo 17 POSHow to Manage Opening & Closing Controls in Odoo 17 POS
How to Manage Opening & Closing Controls in Odoo 17 POS
Celine George
 
apa-style-referencing-visual-guide-2025.pdf
apa-style-referencing-visual-guide-2025.pdfapa-style-referencing-visual-guide-2025.pdf
apa-style-referencing-visual-guide-2025.pdf
Ishika Ghosh
 
Multi-currency in odoo accounting and Update exchange rates automatically in ...
Multi-currency in odoo accounting and Update exchange rates automatically in ...Multi-currency in odoo accounting and Update exchange rates automatically in ...
Multi-currency in odoo accounting and Update exchange rates automatically in ...
Celine George
 
Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...
Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...
Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...
Library Association of Ireland
 
How to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odooHow to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odoo
Celine George
 
GDGLSPGCOER - Git and GitHub Workshop.pptx
GDGLSPGCOER - Git and GitHub Workshop.pptxGDGLSPGCOER - Git and GitHub Workshop.pptx
GDGLSPGCOER - Git and GitHub Workshop.pptx
azeenhodekar
 
Presentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem KayaPresentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem Kaya
MIPLM
 

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)
  • 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.