Cours de Java EE

Pages: 12 (2938 mots) Publié le: 9 janvier 2014
Java Enterprise Edition
Introduction à java EE


Session Objectives
 Name is Java Enterprise Edition, or Java
EE (previously J2EE)
 Understanding the value proposition of JEE
 Getting the big picture of JEE architecture
and platform
 Getting high-level understanding of
Technologies that constitute JEE
 Have a basic know-how on JEE as a
platform and for development

KeywordsJCP

@Stateless

JSR

@EJB

container
@SessionScope

@MessageDrivenBean

@Converter

JMS

@Resource
@TransactionAttribute

component

JSF

Renderer

JEE

Transaction

@ManagedBean
@Validator

EntityManager

Validation

@Inject
JPQL

@NotNull

JPA

CriteriaBuilder

NativeQuery

@PersistenceContext

What is Java?
An object-oriented programminglanguage
A Virtual Machine architecture

A rich set of libraries
A set of tools
 Particularly those in the Software Development Kit (JDK)

Note: API (= library functions) are equivalent to C/C++ standard
libraries, but far richer: library for graphical interfaces, sound,
multithreading, network programming, ...

4

Java : Le JDK
 JDK = Java Development Kit


On dit aussi JavaSDK (Software Dev. Kit)

 JDK = L'environnement minimal pour écrire des
programmes Java
 le JDK est gratuit et disponible en ligne sur le site de
SUN ( http://java.sun.com ou sur le site Oracle)
 Il existe une version du JDK pour chaque plateforme :
Solaris, Windows, Linux, Mac OS,IBM AIX, HP-UX...)
 donc télécharger la bonne version sur le site de SUN

 Le JDK contientprincipalement:
 un compilateur de sources java : javac
 un interpréteur de byte code : java (la JVM)
 des API pour gérer le son, interfaces graphiques, le
multithreading, le réseau, … : Les API Java core
5

Java: the different flavours


JDK or JRE?





JDK = Java Development Kit
J2EE
J2SE
JRE = Java Runtime Environment
JDK = JRE + compilateur
JRE = JVM + API Java Core


Java Core
Java Desktop

(JVM=Java Virtual Machine)

Java SE or Java EE or Java ME?




Environment for standard applications (desktop) on the classic OS
Windows / Linux / Mac OS
Serves as the foundation for Java EE

Java EE = Java Platform Enterprise Edition




Sous-ensemble
de J2SE

Java SE = Java Platform Standard Edition




J2ME

Environment formulti-tier entreprise applications

Java ME = Java Platform Micro Edition




Environment for embedded applications, mobile phones and
smartphones in particular
This is a stripped and limited version of J2SE for embedded device
6

JEE platform architecture


The JEE platform uses a distributed multi-tiered application
model


Application logic is divided
into “components”

They are distributed over
three different locations




EIS = Enterprise Information System

client machines
the J2EE server machine
the database or legacy
machines at the back end

What Is the JEE?


Standard based platform for developing, deploying and managing ntier, Web-enabled, server-centric, and component-based enterprise
applications



Open platform


Hasmultiple implementations by different vendors







Example: JPA is implemented by Eclipselink, OpenJPA, Hibernate

Use component/container model (container provides system services)
They can interoperate

What Makes Up JEE?







API and Technology specifications
Defined by the Java Community Process (JCP)
Deployment Platform
Standard implementationCompatibility Test Suite (CTS)
Certification levels

Application servers, compared
Couche Orientée Services

Couche Serveurs d’Applications

Couche de réseaux d’objets

Langage socle (& VM)

Web services
JEE

.NET

Corba / RMI

DCOM

Java & JVM

C# & CLR

Application servers, SOA

Definitions


Container




Box in which the component executes
provides services
all...
Lire le document complet

Veuillez vous inscrire pour avoir accès au document.

Vous pouvez également trouver ces documents utiles

  • Java EE
  • Java EE
  • cours java
  • Cours java
  • Cours java
  • Cours java
  • Cours Java
  • Java cours

Devenez membre d'Etudier

Inscrivez-vous
c'est gratuit !