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…

More Related Content

DOCX
J2EE Architecture Explained
PPTX
J2 ee architecture
PPT
J2EE and Servlet
PDF
PPT
Java J2EE
PPT
J2 ee architecture
PPTX
Introduction to ejb and struts framework
PPT
J2EE Architecture Explained
J2 ee architecture
J2EE and Servlet
Java J2EE
J2 ee architecture
Introduction to ejb and struts framework

What's hot (20)

PPTX
Chapter2 j2ee
PPTX
J2ee architecture
DOCX
J2EE and layered architecture
PPT
Topic4 Application Servers
PPTX
Java EE EJB Applications
PDF
Lecture 8 Enterprise Java Beans (EJB)
PDF
Jsp tutorial
PPTX
J2ee seminar
DOCX
Jdbc driver types
PPTX
Types of Drivers in JDBC
DOCX
PPTX
EJB3 Basics
PDF
J2EE Introduction
PPTX
Introduction to EJB
PPTX
Java bean
PDF
Enterprise Java Beans - EJB
PPTX
Java ee introduction
PPTX
enterprise java bean
PPTX
JDBC Driver Types
PPSX
Entity beans in java
Chapter2 j2ee
J2ee architecture
J2EE and layered architecture
Topic4 Application Servers
Java EE EJB Applications
Lecture 8 Enterprise Java Beans (EJB)
Jsp tutorial
J2ee seminar
Jdbc driver types
Types of Drivers in JDBC
EJB3 Basics
J2EE Introduction
Introduction to EJB
Java bean
Enterprise Java Beans - EJB
Java ee introduction
enterprise java bean
JDBC Driver Types
Entity beans in java
Ad

Similar to Enterprice java (20)

PPTX
Web programming and development - Introduction
PPT
Introduction to java ee
PPT
Introduction to java_ee
PDF
EJ NOV-18 (Sol) (E-next.in).pdf
PPTX
Java EE 7 introduction
PPT
Enterprise application developement
PPTX
4. J2EE.pptx
PPTX
Advance java1.1
PPT
Javaee intro
PPT
J2 EEE SIDES
PPTX
Java EE - Finest basics
PDF
Enterprise java unit-1_chapter-1
PPT
PDF
Java Interview Questions Answers Guide Section 2
PPTX
J2 ee container & components
PDF
Ejb notes
DOC
Java Interview Questions
PDF
Ejb intro
PDF
Java Platform and IDE Netbeans 6.7 for Developing Enterprise and Web Applicat...
Web programming and development - Introduction
Introduction to java ee
Introduction to java_ee
EJ NOV-18 (Sol) (E-next.in).pdf
Java EE 7 introduction
Enterprise application developement
4. J2EE.pptx
Advance java1.1
Javaee intro
J2 EEE SIDES
Java EE - Finest basics
Enterprise java unit-1_chapter-1
Java Interview Questions Answers Guide Section 2
J2 ee container & components
Ejb notes
Java Interview Questions
Ejb intro
Java Platform and IDE Netbeans 6.7 for Developing Enterprise and Web Applicat...
Ad

More from GowriLatha1 (20)

PPTX
Filtering in frequency domain
PPTX
Demand assigned and packet reservation multiple access
PPTX
Software engineering
PPTX
Shadow paging
PPTX
Multithreading
PPTX
PPTX
Web services & com+ components
PPTX
Comparison with Traditional databases
PPTX
Recovery system
PPTX
Comparison with Traditional databases
PPTX
Static analysis
PPTX
Hema dm
PPTX
Data reduction
PPTX
Inter process communication
PPTX
computer network
PPTX
Operating System
PPTX
Data mining query language
PPTX
Ethernet
PPTX
Java script
PPTX
Path & application(ds)2
Filtering in frequency domain
Demand assigned and packet reservation multiple access
Software engineering
Shadow paging
Multithreading
Web services & com+ components
Comparison with Traditional databases
Recovery system
Comparison with Traditional databases
Static analysis
Hema dm
Data reduction
Inter process communication
computer network
Operating System
Data mining query language
Ethernet
Java script
Path & application(ds)2

Recently uploaded (20)

PDF
Myanmar Dental Journal, The Journal of the Myanmar Dental Association (2015).pdf
PPTX
Reproductive system-Human anatomy and physiology
PDF
faiz-khans about Radiotherapy Physics-02.pdf
PPTX
Diploma pharmaceutics notes..helps diploma students
PPTX
UNIT_2-__LIPIDS[1].pptx.................
PPT
REGULATION OF RESPIRATION lecture note 200L [Autosaved]-1-1.ppt
PDF
The TKT Course. Modules 1, 2, 3.for self study
PDF
Compact First Student's Book Cambridge Official
PPTX
pharmaceutics-1unit-1-221214121936-550b56aa.pptx
PPTX
Climate Change and Its Global Impact.pptx
PPTX
2025 High Blood Pressure Guideline Slide Set.pptx
PDF
LIFE & LIVING TRILOGY- PART (1) WHO ARE WE.pdf
PPTX
PLASMA AND ITS CONSTITUENTS 123.pptx
PDF
Myanmar Dental Journal, The Journal of the Myanmar Dental Association (2013).pdf
PDF
LIFE & LIVING TRILOGY - PART (3) REALITY & MYSTERY.pdf
PDF
fundamentals-of-heat-and-mass-transfer-6th-edition_incropera.pdf
PDF
Journal of Dental Science - UDMY (2020).pdf
PDF
Horaris_Grups_25-26_Definitiu_15_07_25.pdf
PDF
0520_Scheme_of_Work_(for_examination_from_2021).pdf
PDF
Fun with Grammar (Communicative Activities for the Azar Grammar Series)
Myanmar Dental Journal, The Journal of the Myanmar Dental Association (2015).pdf
Reproductive system-Human anatomy and physiology
faiz-khans about Radiotherapy Physics-02.pdf
Diploma pharmaceutics notes..helps diploma students
UNIT_2-__LIPIDS[1].pptx.................
REGULATION OF RESPIRATION lecture note 200L [Autosaved]-1-1.ppt
The TKT Course. Modules 1, 2, 3.for self study
Compact First Student's Book Cambridge Official
pharmaceutics-1unit-1-221214121936-550b56aa.pptx
Climate Change and Its Global Impact.pptx
2025 High Blood Pressure Guideline Slide Set.pptx
LIFE & LIVING TRILOGY- PART (1) WHO ARE WE.pdf
PLASMA AND ITS CONSTITUENTS 123.pptx
Myanmar Dental Journal, The Journal of the Myanmar Dental Association (2013).pdf
LIFE & LIVING TRILOGY - PART (3) REALITY & MYSTERY.pdf
fundamentals-of-heat-and-mass-transfer-6th-edition_incropera.pdf
Journal of Dental Science - UDMY (2020).pdf
Horaris_Grups_25-26_Definitiu_15_07_25.pdf
0520_Scheme_of_Work_(for_examination_from_2021).pdf
Fun with Grammar (Communicative Activities for the Azar Grammar Series)

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.