KEMBAR78
Enterprise java unit-1_chapter-1 | PDF
Enterprise Java
Unit-1
Chapter-1
• What is an Enterprise Application?
• What is java enterprise edition?
• Java EE Technologies
• Java EE evolution
• Glassfish server
By
Prof. SandeepVishwakarma
What is an Enterprise Application
• The Java EE platform is designed to help developers
create large-scale, multi-tiered, scalable, reliable, and
secure network applications. because these applications
are designed to solve the problems encountered by large
enterprises.
• Enterprise applications are not only useful for large
corporations, agencies, and governments, however.
• The benefits of an enterprise application are helpful, even
essential, for individual developers and small
organizations in an increasingly networked world.
Continue…
• The features that make enterprise applications
powerful, like security and reliability, often make
these applications complex.
• The Java EE platform reduces the complexity of
enterprise application development by providing a
development model, API, and runtime environment
that allow developers to concentrate on functionality.
• Enterprise as work means communities and
organizations. Therefore we can say enterprise
applications respond to the requirements of
organizations, enterprise problems and focuses these.
Features of Enterprise Applications
• Persistent Data - Enterprise applications usually involve
persistent data. The data is persistent because it needs to
be around between multiple runs of the program—
indeed, it usually needs to persist for several years. Also
during this time there will be many changes in the
programs that use it.
• Lots of Data - There's usually a lot of data, a moderate
system will have over 1 GB of data organized in tens of
millions of records—so much that managing it is a major
part of the system
• Access Data Concurrently - Usually many people access
data concurrently. For many systems this may be less than
a hundred people, but for Web-based systems that talk
over the Internet this goes up by orders of magnitude
Continue…
• Lot of User Interface Screens - With so much data,
there's usually a lot of user interface screens to
handle it. It's not unusual to have hundreds of
distinct screens.
• Integrate with other Enterprise Applications -
Enterprise applications rarely live on an island.
Usually they need to integrate with other enterprise
applications scattered around the enterprise. The
various systems are built at different times with
different technologies, and even the collaboration
mechanisms will be different.
Java Enterprise Edition
The Java EE stands for Java Enterprise Edition,
which was earlier known as J2EE and is currently
known as Jakarta EE. It is a set of specifications
wrapping around Java SE (Standard Edition). The
Java EE provides a platform for developers with
enterprise features such as distributed computing
and web services. Java EE applications are usually
run on reference run times such
as microservers or application servers. Examples
of some contexts where Java EE is used are e-
commerce, accounting, banking information
systems.
Java EE Specification
Java EE Technologies
Web Application Technologies
• Java Servlet
• JavaServer Pages Technology
• JavaServer Pages Standard Tag Library
• JavaServer Faces Technology
• Java Message Service API
• JavaMail API and the JavaBeans
Activation Framework
• Java API for XML Processing
• Java Naming and Directory Interface
Java EE Technologies
Enterprises Application Technologies
• Contexts and Dependency Injection for Java
(Web Beans)
• Dependency Injection for Java 1.0
• Bean Validation
• Enterprise JavaBeans
• Java Persistence API
• Common Annotations for the Java Platform
• Java Message Service API
• Java Transaction API (JTA)
• JavaBeans Activation Framework (JAF)
• JavaMail
Java EE Technologies
 Java EE Web Services Technologies
• Java API for RESTful Web Services (JAX-RS)
• Implementing Enterprise Web Services
• Java API for XML-Based Web Services (JAX-
WS)
• Java Architecture for XML Binding (JAXB)
• Web Services Metadata for the Java Platform
Java API for XML-Based RPC (JAX-RPC)
• Java APIs for XML Messaging (or SOAP with
Attachments API for Java (SAAJ))
• Java API for XML Registries (JAXR)
• Streaming API for XML (StAX) (in Java SE)
Java EE Evolution
 Java EE was formerly called Java 2
Platform, Enterprise Edition (J2EE) until
name was changed to Java EE in version 5.
o Java EE categorized in to following version
 Java EE5
 Java EE6
 Java EE7
Java EE5
• It is introduced in May 11, 2006 by
Oracle.
• The aim of the Java EE 5 platform is to
provide developers a powerful set of
APIs while reducing development time,
reducing application complexity, and
improving application performance.
Java EE 5 SDK Features
• First robust, commercial, compatible Java EE 5
implementation.
• EJB 3.0 support for POJOs means less to learn,
less to code, and less to maintain.
• JavaServer Faces 1.2 facilitates building Web
2.0 applications with Ajax.
• Higher throughput, faster response time, and
improved management features to streamline
deployment.
• Web services performance increased up to 5 times.
• Provides a visual SOA development and
deployment environment with integrated
Java EE6
 It is introduced in December 10, 2009.
 The most important goal of the Java EE 6
platform is to simplify development by
providing a common foundation for the
various kinds of components in the Java EE
platform.
 Developers benefit from productivity
improvements with more annotations and
less XML configuration, more Plain Old Java
Objects (POJOs), and simplified packaging
Features of Java EE6
• Java EE 6 platform introduces a lightweight Web
Profile targeted at next-generation web applications,
as well as a Full Profile that contains all Java EE
technologies and provides the full power of the Java
EE 6 platform for enterprise applications.
• New technologies, including the following:
o Java API for RESTful Web Services (JAX-RS)
o Managed Beans
o Contexts and Dependency Injection for the Java EE
Platform (JSR 299), informally known as CDI
o Dependency Injection for Java (JSR 330)
o Bean Validation (JSR 303)
o Java Authentication Service Provider Interface for
Containers (JASPIC)
Java EE7
 This technology is introduced in May 28,
2013.
 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. Developers benefit from
productivity improvements with more
annotations and less XML configuration,
more Plain Old Java Objects (POJOs),
and simplified packaging.
Features of Java EE7
• Batch Applications for the Java Platform
• Concurrency Utilities for Java EE
• Java API for JSON Processing (JSON-P)
• Java API for WebSocket
• Implement the enhancements in JSF and JSP
in your code.
• Implement the enhancements in CDI and
Bean Validation in your code.
• Implement the enhancements in EJB and JPA
in your code.
• Update existing applications to EE 7
Glassfish Server
 GlassFish is a Java application server project
created by Sun Microsystems that allows many
developers to generate enterprise technologies that
are convenient and scalable, as well as additional
services that can be installed based on preference.
 GlassFish Server Open Source Edition is an open
source application server built within the GlassFish
community.
 It is a free, dual-licensed software under the GNU
General Public License (GPL) and the Common
Development and Distribution License (CDDL).
GlassFish was acquired by Oracle in 2010.
Glassfish Server…Continue
 GlassFish was developed based on a source
code that was released by Sun and Oracle’s
TopLink persistence system.
 The project was launched in 2005 and the first
version that supported Java EE 5 was released
in 2006.
 Oracle GlassFish Server provides a server for
the development and deployment of Java
Platform, Enterprise Edition (Java EE
platform) applications and web technologies
based on Java technology.
Features of Glassfish Server
 GlassFish Server 4.1 provides a server for the
development and preparation of Java
Platform Enterprise Edition (Java EE) and
dynamic and scalable HTML5 applications.
 Key features include applied science Java
seven compatibility, modularity, and rapid
repetitive development.
 Java API for processing JSON (JSON-P)
 Java EE Competency Utilities
 Java Message Service (JMS) 2.0
Thank You

Enterprise java unit-1_chapter-1

  • 1.
    Enterprise Java Unit-1 Chapter-1 • Whatis an Enterprise Application? • What is java enterprise edition? • Java EE Technologies • Java EE evolution • Glassfish server By Prof. SandeepVishwakarma
  • 2.
    What is anEnterprise Application • The Java EE platform is designed to help developers create large-scale, multi-tiered, scalable, reliable, and secure network applications. because these applications are designed to solve the problems encountered by large enterprises. • Enterprise applications are not only useful for large corporations, agencies, and governments, however. • The benefits of an enterprise application are helpful, even essential, for individual developers and small organizations in an increasingly networked world.
  • 3.
    Continue… • The featuresthat make enterprise applications powerful, like security and reliability, often make these applications complex. • The Java EE platform reduces the complexity of enterprise application development by providing a development model, API, and runtime environment that allow developers to concentrate on functionality. • Enterprise as work means communities and organizations. Therefore we can say enterprise applications respond to the requirements of organizations, enterprise problems and focuses these.
  • 4.
    Features of EnterpriseApplications • Persistent Data - Enterprise applications usually involve persistent data. The data is persistent because it needs to be around between multiple runs of the program— indeed, it usually needs to persist for several years. Also during this time there will be many changes in the programs that use it. • Lots of Data - There's usually a lot of data, a moderate system will have over 1 GB of data organized in tens of millions of records—so much that managing it is a major part of the system • Access Data Concurrently - Usually many people access data concurrently. For many systems this may be less than a hundred people, but for Web-based systems that talk over the Internet this goes up by orders of magnitude
  • 5.
    Continue… • Lot ofUser Interface Screens - With so much data, there's usually a lot of user interface screens to handle it. It's not unusual to have hundreds of distinct screens. • Integrate with other Enterprise Applications - Enterprise applications rarely live on an island. Usually they need to integrate with other enterprise applications scattered around the enterprise. The various systems are built at different times with different technologies, and even the collaboration mechanisms will be different.
  • 6.
    Java Enterprise Edition TheJava EE stands for Java Enterprise Edition, which was earlier known as J2EE and is currently known as Jakarta EE. It is a set of specifications wrapping around Java SE (Standard Edition). The Java EE provides a platform for developers with enterprise features such as distributed computing and web services. Java EE applications are usually run on reference run times such as microservers or application servers. Examples of some contexts where Java EE is used are e- commerce, accounting, banking information systems.
  • 7.
  • 8.
    Java EE Technologies WebApplication Technologies • Java Servlet • JavaServer Pages Technology • JavaServer Pages Standard Tag Library • JavaServer Faces Technology • Java Message Service API • JavaMail API and the JavaBeans Activation Framework • Java API for XML Processing • Java Naming and Directory Interface
  • 9.
    Java EE Technologies EnterprisesApplication Technologies • Contexts and Dependency Injection for Java (Web Beans) • Dependency Injection for Java 1.0 • Bean Validation • Enterprise JavaBeans • Java Persistence API • Common Annotations for the Java Platform • Java Message Service API • Java Transaction API (JTA) • JavaBeans Activation Framework (JAF) • JavaMail
  • 10.
    Java EE Technologies Java EE Web Services Technologies • Java API for RESTful Web Services (JAX-RS) • Implementing Enterprise Web Services • Java API for XML-Based Web Services (JAX- WS) • Java Architecture for XML Binding (JAXB) • Web Services Metadata for the Java Platform Java API for XML-Based RPC (JAX-RPC) • Java APIs for XML Messaging (or SOAP with Attachments API for Java (SAAJ)) • Java API for XML Registries (JAXR) • Streaming API for XML (StAX) (in Java SE)
  • 11.
    Java EE Evolution Java EE was formerly called Java 2 Platform, Enterprise Edition (J2EE) until name was changed to Java EE in version 5. o Java EE categorized in to following version  Java EE5  Java EE6  Java EE7
  • 12.
    Java EE5 • Itis introduced in May 11, 2006 by Oracle. • The aim of the Java EE 5 platform is to provide developers a powerful set of APIs while reducing development time, reducing application complexity, and improving application performance.
  • 13.
    Java EE 5SDK Features • First robust, commercial, compatible Java EE 5 implementation. • EJB 3.0 support for POJOs means less to learn, less to code, and less to maintain. • JavaServer Faces 1.2 facilitates building Web 2.0 applications with Ajax. • Higher throughput, faster response time, and improved management features to streamline deployment. • Web services performance increased up to 5 times. • Provides a visual SOA development and deployment environment with integrated
  • 14.
    Java EE6  Itis introduced in December 10, 2009.  The most important goal of the Java EE 6 platform is to simplify development by providing a common foundation for the various kinds of components in the Java EE platform.  Developers benefit from productivity improvements with more annotations and less XML configuration, more Plain Old Java Objects (POJOs), and simplified packaging
  • 15.
    Features of JavaEE6 • Java EE 6 platform introduces a lightweight Web Profile targeted at next-generation web applications, as well as a Full Profile that contains all Java EE technologies and provides the full power of the Java EE 6 platform for enterprise applications. • New technologies, including the following: o Java API for RESTful Web Services (JAX-RS) o Managed Beans o Contexts and Dependency Injection for the Java EE Platform (JSR 299), informally known as CDI o Dependency Injection for Java (JSR 330) o Bean Validation (JSR 303) o Java Authentication Service Provider Interface for Containers (JASPIC)
  • 16.
    Java EE7  Thistechnology is introduced in May 28, 2013.  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. Developers benefit from productivity improvements with more annotations and less XML configuration, more Plain Old Java Objects (POJOs), and simplified packaging.
  • 17.
    Features of JavaEE7 • Batch Applications for the Java Platform • Concurrency Utilities for Java EE • Java API for JSON Processing (JSON-P) • Java API for WebSocket • Implement the enhancements in JSF and JSP in your code. • Implement the enhancements in CDI and Bean Validation in your code. • Implement the enhancements in EJB and JPA in your code. • Update existing applications to EE 7
  • 18.
    Glassfish Server  GlassFishis a Java application server project created by Sun Microsystems that allows many developers to generate enterprise technologies that are convenient and scalable, as well as additional services that can be installed based on preference.  GlassFish Server Open Source Edition is an open source application server built within the GlassFish community.  It is a free, dual-licensed software under the GNU General Public License (GPL) and the Common Development and Distribution License (CDDL). GlassFish was acquired by Oracle in 2010.
  • 19.
    Glassfish Server…Continue  GlassFishwas developed based on a source code that was released by Sun and Oracle’s TopLink persistence system.  The project was launched in 2005 and the first version that supported Java EE 5 was released in 2006.  Oracle GlassFish Server provides a server for the development and deployment of Java Platform, Enterprise Edition (Java EE platform) applications and web technologies based on Java technology.
  • 20.
    Features of GlassfishServer  GlassFish Server 4.1 provides a server for the development and preparation of Java Platform Enterprise Edition (Java EE) and dynamic and scalable HTML5 applications.  Key features include applied science Java seven compatibility, modularity, and rapid repetitive development.  Java API for processing JSON (JSON-P)  Java EE Competency Utilities  Java Message Service (JMS) 2.0
  • 21.