SlideShare uma empresa Scribd logo
1 de 53
Baixar para ler offline
la révolution


Alexis Hassler
@AlexisHassler
Alexis
Hassler
JavaEE 6
Enterprise        Web           Web        Management
Application    Application     Service      & Security
 CDI    DI       Servlet       JAX-RS        Auth. SPI
   Bean
 Validation      JAX-WS
                   JSF         JAX-WS        JAX-WS
                                               JACC
EJB     JPA     JSP   EL        JAXB        Deployment

Interceptors      JSTL        Ent. WS      Management

JCA     JTA    Debugging     WS Metadata
 Common                                       Java SE
                              JAX-RPC
Annotations                                 JMX StAX
   JMS         Managed          JAXM       JDBC JAXP
 JavaMail       Beans           JAXR           JAF
JavaEE 6 – Web Profile

  Enterprise            Web
  Application        Application
  CDI      DI          Servlet
     Bean              JAX-WS
                         JSF
   Validation
   EJB 3 lite        JSP          EL
  Interceptors             JSTL
  JPA     JTA         Debugging


           Managed Beans
JavaEE 6 - Pruning
Enterprise         Web         Web      Management
Application     Application   Service    & Security



EJB 2 entity                            Deployment



                                          Java SE
                              JAX-RPC


                               JAXR
Full Profile
               Web Profile ++
                              .0 preview
JavaEE 6




           Web Profile
                .0



                                           .1
Historique
                  1999
                  2000   2.0
JBoss Group LLC   2001   2.2
                  2002   3.0
                  2003   3.2
      JBoss Inc   2004   4.0
                  2005
        RedHat    2006
                  2007   4.2
                  2008   5.0
                  2009   5.1
                  2010   6.0
                  2011   7.0, 6.1, 7.1
JBoss Logging
  JSF - Mojarra
  JAX-WS - CXF
JBoss Transaction
   Datasource
     JavaEE
       EJB
   CDI - Weld
 JPA - Hibernate
                     Subsystems




     Naming
Cache - Infinispan
                                  Core Infrastructure




 JMS - HornetQ
                                                        Composants AS7




     JGroups
JAX-RS - RESTeasy
JCA - IronJacamar
        ...
JBoss Logging
  JSF - Mojarra
  JAX-WS - CXF
JBoss Transaction
   Datasource
     JavaEE
       EJB
   CDI - Weld
 JPA - Hibernate
                     Services




     Naming
                                Micro container




Cache - Infinispan
 JMS - HornetQ
                                                  Composants AS6




     JGroups
JAX-RS - RESTeasy
       JCA
        ...
Architecture AS7


              JBoss
  MSC                        DMR       Controller    Threads
             Modules

                   Server Controller Service

Deployers    VFS       Jandex      Reflect Cache    Repository

                   Core Infrastructure


                       Subsystems
Startup



50 s                              AS 6.0

45 s
                         AS 5.1
40 s
35 s
30 s
25 s
20 s
15 s            AS 4.2
       AS 4.0
10 s                                       AS 7.0
 5s
 0s
Startup

                                                Geronimo 2
                                                GlassFish 2
90 s                                            GlassFish 3
                                                JBoss 5
80 s
                                                JBoss 6
70 s
                                                Weblogic 10
60 s                                            Websphere 7
50 s
40 s
30 s
20 s
10 s
 0s

       http://tiny.cc/agoncal-as-startup (12/2009)
Startup




http://community.jboss.org/wiki/AS7StartupTimeShowdown
Lightweight

Heap used
180 Mo
160 Mo
140 Mo                     AS 5.1
120 Mo                              AS 6.0
100 Mo
 80 Mo
 60 Mo
 40 Mo   AS 4.0   AS 4.2
 20 Mo                                       AS 7.0
 0 Mo
Configuration

find <profile_dir> -name *.xml | wc -l
  160
  140
  120                      AS 5.1
                                    AS 6.0
  100
   80
   60
   40   AS 4.0    AS 4.2
   20                                        AS 7.0
    0
Configuration

bin
client                     bin
lib
                           bundles
server
     default               modules
          conf             standalone
          data                 configuration
          deploy
          deployers            data
          lib                  deployments
     standard                  lib/ext
     all                   domain
     jbossweb-standalone
     minimal               welcome-content
common                     docs
     deploy
     lib
docs
Configuration




standalone/configutation/standalone.xml
Configuration
server/default/deploy/hdscanner-jboss-beans.xml




                                 server/default/conf/bootstrap/profile.xml
✔   Configuration (réseau)
       ✔   Démarrage
Déploiement
                                            bin
Automatique                                 bundles
                                            modules
 –   idem AS <7 pour les archives           standalone
                                                  configuration
 –   désactivé en mode explosé
                                                  data
                                                  deployments
                                                  lib/ext


cp demo.war $JBOSS_HOME/standalone/deployments/



17:12:24,923 INFO ... Deployed "demo.war"
Déploiement

État

               .dodeploy
.pending                          .skipdeploy


              .isdeploying                      .isundeploying



       .deployed             .failed             .undeployed
Déploiement

  Manuel
   –   auto-deploy-zipped="false"

cp demo.war $JBOSS_HOME/standalone/deployments/


17:12:24,923 INFO ... Found demo.war ...


touch $JBOSS_HOME/standalone/deployments/demo.war.dodeploy


17:12:24,923 INFO ... Found demo.war ...
✔   Déploiement automatique
    ✔   Déploiement manuel
Administration



 Console                CLI




HTTP / JSON        Java API
http://<host>:9990/console
jboss-admin.sh

Naviguer
–   cd, ls, pwd

Lire la configuration
–   :read-resource, :read-attribute,...

Modifier la configuration
–   :add-namespace, :write-attribute,...
jboss-admin.sh

Datasource

Déploiement
–   upload + deploy

–   undeploy
✔   Datasource
Modules

"Classpath is dead!"

Mark Reinhold, JavaOne 2009




           http://java.sun.com/javaone/2009/general_sessions.jsp
Modules

Java Module
–   Projet Jigsaw

–   JavaSE 8

OSGi

JBoss Module
Modules

Hiérarchie                         Modularité
             System                 org.javassist
           Classloader
UCR                                                           org.slf4j
               JBoss
           Classloaders            org.jboss.weld

                                                         org.hibernate.core
  Deployment        Deployment
  Classloader       Classloader


                  Sub-deployment                    deployment.my.war
                    Classloader
Modules

Modules système
–   Java EE

Modules user

Local Resource

Inter deployment dependencies
Déploiement

Séparation module / application

1 war => 1 module
–   deployment.demo.war
Déploiement

1 ear => n modules
–   ear/lib
              <!-- config globale -->
–   war       <subsystem xmlns="urn:jboss:domain:ee:1.0" >
                <ear-subdeployments-isolated>
                  false
–   ear         </ear-subdeployments-isolated>
              </subsystem>

              <!-- jboss-deployment-structure.xml-->
              <jboss-deployment-structure>
                <ear-subdeployments-isolated>
                  true
                </ear-subdeployments-isolated>
              </jboss-deployment-structure>
Module global

standalone.xml ou domain.xml
–   Slot = version



<subsystem xmlns="urn:jboss:domain:ee:1.0" >
  <global-modules>
    <module name="org.javassist" slot="main" />
  </global-modules>
</subsystem>
✔   SLF4J
Domain

                               Server
                    Host
                  Controller
                               Server
                Host 1
    Domain
   Controller       Host
                               Server
                  Controller
Host 0          Host 2

                    Host
                               Server
                  Controller
                Host 3
Domain

                                         Server
                               Server    Group 1
                    Host
                  Controller
                               Server
                Host 1         Server
                               Group 2
    Domain
   Controller       Host
                               Server
                  Controller
Host 0          Host 2

                    Host
                               Server
                  Controller
                Host 3
RHQ

                        OS       MySQL
                  Mem, CPU, FS



                  RHQ            JBoss AS
                 Agent
                                  Httpd
              Host 1
      RHQ
     Server
                  RHQ
                                    ...
Host 0           Agent

                                    ...
                       ...
                                    ...
              Host 2
IDE

Eclipse 3.7 + JBoss Tools

IntelliJ IDEA 11

Netbeans 7.0
Cloud



          SaaS                 Software
  Software as a Service


                               Runtime
          PaaS                     /
  Platform as a Service       Middleware


                              Hardware
          IaaS                    +
Infrastructure as a Service      OS
PaaS by redhat

Java, Perl, PHP, Python, Ruby
Express             Flex
–   Git             –   Contrôle étendu

–   < Web profile   –   Amazon EC2
✔   OpenShift Express
JBoss EAP 6

Q1 2012 (TBC)

Dérivé de AS 7.1
–   JavaEE 6 full profile

… à suivre
Conclusion

Travaux en cours
–   Full profile

–   Documentation                .0
Retour d'expérience
Conclusion

              1999
              2000   2.0
              2001   2.2
              2002   3.0
              2003   3.2
              2004   4.0
              2005
Glassfish 2   2006
              2007   4.2
              2008   5.0
Glassfish 3   2009   5.1
              2010   6.0
              2011   7.0, 6.1, 7.1
http://www.jboss.org/as7.html

http://www.jboss.org/openshift/
Auto-promotion

http://www.sewatech.fr/formation-jboss-7.html




http://blog.alexis-hassler.com

Mais conteúdo relacionado

Mais procurados

Understanding the nuts & bolts of Java EE 6
Understanding the nuts & bolts of Java EE 6Understanding the nuts & bolts of Java EE 6
Understanding the nuts & bolts of Java EE 6
Arun Gupta
 
EAP6 performance Tuning
EAP6 performance TuningEAP6 performance Tuning
EAP6 performance Tuning
Praveen Adupa
 
Andrei Niculae - JavaEE6 - 24mai2011
Andrei Niculae - JavaEE6 - 24mai2011Andrei Niculae - JavaEE6 - 24mai2011
Andrei Niculae - JavaEE6 - 24mai2011
Agora Group
 
JBoss AS7 Overview
JBoss AS7 OverviewJBoss AS7 Overview
JBoss AS7 Overview
JBug Italy
 

Mais procurados (20)

Understanding the nuts & bolts of Java EE 6
Understanding the nuts & bolts of Java EE 6Understanding the nuts & bolts of Java EE 6
Understanding the nuts & bolts of Java EE 6
 
Java EE 6 & GlassFish v3 @ DevNexus
Java EE 6 & GlassFish v3 @ DevNexusJava EE 6 & GlassFish v3 @ DevNexus
Java EE 6 & GlassFish v3 @ DevNexus
 
J boss
J bossJ boss
J boss
 
Instruction on creating a cluster on jboss eap environment
Instruction on creating a cluster on jboss eap environmentInstruction on creating a cluster on jboss eap environment
Instruction on creating a cluster on jboss eap environment
 
Java EE 6 & GlassFish v3: Paving the path for the future - Spark IT 2010
Java EE 6 & GlassFish v3: Paving the path for the future - Spark IT 2010Java EE 6 & GlassFish v3: Paving the path for the future - Spark IT 2010
Java EE 6 & GlassFish v3: Paving the path for the future - Spark IT 2010
 
JBoss EAP / WildFly, State of the Union
JBoss EAP / WildFly, State of the UnionJBoss EAP / WildFly, State of the Union
JBoss EAP / WildFly, State of the Union
 
JavaEE 6 and GlassFish v3 at SFJUG
JavaEE 6 and GlassFish v3 at SFJUGJavaEE 6 and GlassFish v3 at SFJUG
JavaEE 6 and GlassFish v3 at SFJUG
 
EAP6 performance Tuning
EAP6 performance TuningEAP6 performance Tuning
EAP6 performance Tuning
 
Andrei Niculae - JavaEE6 - 24mai2011
Andrei Niculae - JavaEE6 - 24mai2011Andrei Niculae - JavaEE6 - 24mai2011
Andrei Niculae - JavaEE6 - 24mai2011
 
WildFly AppServer - State of the Union
WildFly AppServer - State of the UnionWildFly AppServer - State of the Union
WildFly AppServer - State of the Union
 
Java EE 6 & GlassFish v3 at Vancouver JUG, Jan 26, 2010
Java EE 6 & GlassFish v3 at Vancouver JUG, Jan 26, 2010Java EE 6 & GlassFish v3 at Vancouver JUG, Jan 26, 2010
Java EE 6 & GlassFish v3 at Vancouver JUG, Jan 26, 2010
 
WildFly BOF and V9 update @ Devoxx 2014
WildFly BOF and V9 update @ Devoxx 2014WildFly BOF and V9 update @ Devoxx 2014
WildFly BOF and V9 update @ Devoxx 2014
 
Java EE 6 & GlassFish 3
Java EE 6 & GlassFish 3Java EE 6 & GlassFish 3
Java EE 6 & GlassFish 3
 
Java EE 6 & GlassFish = Less Code + More Power at CEJUG
Java EE 6 & GlassFish = Less Code + More Power at CEJUGJava EE 6 & GlassFish = Less Code + More Power at CEJUG
Java EE 6 & GlassFish = Less Code + More Power at CEJUG
 
Java EE 6 & GlassFish v3: Paving the path for the future - Tech Days 2010 India
Java EE 6 & GlassFish v3: Paving the path for the future - Tech Days 2010 IndiaJava EE 6 & GlassFish v3: Paving the path for the future - Tech Days 2010 India
Java EE 6 & GlassFish v3: Paving the path for the future - Tech Days 2010 India
 
Java EE 6 Hands-on Workshop at Dallas Tech Fest 2010
Java EE 6 Hands-on Workshop at Dallas Tech Fest 2010Java EE 6 Hands-on Workshop at Dallas Tech Fest 2010
Java EE 6 Hands-on Workshop at Dallas Tech Fest 2010
 
JBoss AS7 Overview
JBoss AS7 OverviewJBoss AS7 Overview
JBoss AS7 Overview
 
Arun Gupta: London Java Community: Java EE 6 and GlassFish 3
Arun Gupta: London Java Community: Java EE 6 and GlassFish 3 Arun Gupta: London Java Community: Java EE 6 and GlassFish 3
Arun Gupta: London Java Community: Java EE 6 and GlassFish 3
 
Java EE 6 workshop at Dallas Tech Fest 2011
Java EE 6 workshop at Dallas Tech Fest 2011Java EE 6 workshop at Dallas Tech Fest 2011
Java EE 6 workshop at Dallas Tech Fest 2011
 
Java EE 6 and GlassFish v3: Paving the path for future
Java EE 6 and GlassFish v3: Paving the path for futureJava EE 6 and GlassFish v3: Paving the path for future
Java EE 6 and GlassFish v3: Paving the path for future
 

Semelhante a JBoss AS 7, la révolution

JBoss AS 7 - YaJUG - nov. 2012
JBoss AS 7 - YaJUG - nov. 2012JBoss AS 7 - YaJUG - nov. 2012
JBoss AS 7 - YaJUG - nov. 2012
Alexis Hassler
 
As7 web services - JUG Milan April 2012
As7 web services - JUG Milan April 2012As7 web services - JUG Milan April 2012
As7 web services - JUG Milan April 2012
alepalin
 
Upgrade to JBoss AS7
Upgrade to JBoss AS7Upgrade to JBoss AS7
Upgrade to JBoss AS7
axsusa
 

Semelhante a JBoss AS 7, la révolution (20)

soft-shake.ch - JBoss AS 7, la révolution
soft-shake.ch - JBoss AS 7, la révolutionsoft-shake.ch - JBoss AS 7, la révolution
soft-shake.ch - JBoss AS 7, la révolution
 
JBoss AS 7 : Déployer sur terre et dans les nuages
JBoss AS 7 : Déployer sur terre et dans les nuagesJBoss AS 7 : Déployer sur terre et dans les nuages
JBoss AS 7 : Déployer sur terre et dans les nuages
 
JBoss AS 7 - YaJUG - nov. 2012
JBoss AS 7 - YaJUG - nov. 2012JBoss AS 7 - YaJUG - nov. 2012
JBoss AS 7 - YaJUG - nov. 2012
 
JBoss AS 7 따라잡기
JBoss AS 7 따라잡기JBoss AS 7 따라잡기
JBoss AS 7 따라잡기
 
Spark IT 2011 - Java EE 6 Workshop
Spark IT 2011 - Java EE 6 WorkshopSpark IT 2011 - Java EE 6 Workshop
Spark IT 2011 - Java EE 6 Workshop
 
As7 web services - JUG Milan April 2012
As7 web services - JUG Milan April 2012As7 web services - JUG Milan April 2012
As7 web services - JUG Milan April 2012
 
JavaOne 2010: OSGI Migrat
JavaOne 2010: OSGI MigratJavaOne 2010: OSGI Migrat
JavaOne 2010: OSGI Migrat
 
Upgrade to JBoss AS7
Upgrade to JBoss AS7Upgrade to JBoss AS7
Upgrade to JBoss AS7
 
GlassFish and JavaEE, Today and Future
GlassFish and JavaEE, Today and FutureGlassFish and JavaEE, Today and Future
GlassFish and JavaEE, Today and Future
 
Java EE 6 & GlassFish = Less Code + More Power @ DevIgnition
Java EE 6 & GlassFish = Less Code + More Power @ DevIgnitionJava EE 6 & GlassFish = Less Code + More Power @ DevIgnition
Java EE 6 & GlassFish = Less Code + More Power @ DevIgnition
 
Java EE 6 = Less Code + More Power
Java EE 6 = Less Code + More PowerJava EE 6 = Less Code + More Power
Java EE 6 = Less Code + More Power
 
JMX Management Tools
JMX Management ToolsJMX Management Tools
JMX Management Tools
 
JBoss AS7 Webservices
JBoss AS7 WebservicesJBoss AS7 Webservices
JBoss AS7 Webservices
 
JBoss AS7 web services
JBoss AS7 web servicesJBoss AS7 web services
JBoss AS7 web services
 
The Java EE 7 Platform: Developing for the Cloud (FISL 12)
The Java EE 7 Platform: Developing for the Cloud  (FISL 12)The Java EE 7 Platform: Developing for the Cloud  (FISL 12)
The Java EE 7 Platform: Developing for the Cloud (FISL 12)
 
TDC 2011: The Java EE 7 Platform: Developing for the Cloud
TDC 2011: The Java EE 7 Platform: Developing for the CloudTDC 2011: The Java EE 7 Platform: Developing for the Cloud
TDC 2011: The Java EE 7 Platform: Developing for the Cloud
 
JBoss AS Upgrade
JBoss AS UpgradeJBoss AS Upgrade
JBoss AS Upgrade
 
Powering the Next Generation Services with Java Platform - Spark IT 2010
Powering the Next Generation Services with Java Platform - Spark IT 2010Powering the Next Generation Services with Java Platform - Spark IT 2010
Powering the Next Generation Services with Java Platform - Spark IT 2010
 
Boston 2011 OTN Developer Days - Java EE 6
Boston 2011 OTN Developer Days - Java EE 6Boston 2011 OTN Developer Days - Java EE 6
Boston 2011 OTN Developer Days - Java EE 6
 
Java EE7 Demystified
Java EE7 DemystifiedJava EE7 Demystified
Java EE7 Demystified
 

Mais de Alexis Hassler

DevoxxFR 2013 - Arquillian
DevoxxFR 2013 - ArquillianDevoxxFR 2013 - Arquillian
DevoxxFR 2013 - Arquillian
Alexis Hassler
 
DevoxxFR 2013 - Le classpath n'est pas mort, mais presque
DevoxxFR 2013 - Le classpath n'est pas mort, mais presqueDevoxxFR 2013 - Le classpath n'est pas mort, mais presque
DevoxxFR 2013 - Le classpath n'est pas mort, mais presque
Alexis Hassler
 
Arquillian - YaJUG - nov. 2012
Arquillian - YaJUG - nov. 2012Arquillian - YaJUG - nov. 2012
Arquillian - YaJUG - nov. 2012
Alexis Hassler
 

Mais de Alexis Hassler (20)

DevoxxFR17 - Préparez-vous à la modularité selon Java 9
DevoxxFR17 - Préparez-vous à la modularité selon Java 9DevoxxFR17 - Préparez-vous à la modularité selon Java 9
DevoxxFR17 - Préparez-vous à la modularité selon Java 9
 
LausanneJUG 2017 - Jigsaw est prêt à tuer le classpath
LausanneJUG 2017 - Jigsaw est prêt à tuer le classpathLausanneJUG 2017 - Jigsaw est prêt à tuer le classpath
LausanneJUG 2017 - Jigsaw est prêt à tuer le classpath
 
DevFest Nantes 2016 - Jigsaw est prêt à tuer le classpath Java
DevFest Nantes 2016 - Jigsaw est prêt à tuer le classpath JavaDevFest Nantes 2016 - Jigsaw est prêt à tuer le classpath Java
DevFest Nantes 2016 - Jigsaw est prêt à tuer le classpath Java
 
Soft-Shake 2016 : Jigsaw est prêt à tuer le classpath
Soft-Shake 2016 : Jigsaw  est prêt à tuer le classpathSoft-Shake 2016 : Jigsaw  est prêt à tuer le classpath
Soft-Shake 2016 : Jigsaw est prêt à tuer le classpath
 
LyonJUG : Comment Jigsaw est prêt à tuer le classpath
LyonJUG : Comment Jigsaw est prêt à tuer le classpath LyonJUG : Comment Jigsaw est prêt à tuer le classpath
LyonJUG : Comment Jigsaw est prêt à tuer le classpath
 
INSA Lyon - Java in da Cloud - 06/2016
INSA Lyon - Java in da Cloud - 06/2016INSA Lyon - Java in da Cloud - 06/2016
INSA Lyon - Java in da Cloud - 06/2016
 
LorraineJUG - Le classpath n'est pas mort
LorraineJUG - Le classpath n'est pas mortLorraineJUG - Le classpath n'est pas mort
LorraineJUG - Le classpath n'est pas mort
 
LorraineJUG - WildFly
LorraineJUG - WildFlyLorraineJUG - WildFly
LorraineJUG - WildFly
 
ElsassJUG - Le classpath n'est pas mort...
ElsassJUG - Le classpath n'est pas mort...ElsassJUG - Le classpath n'est pas mort...
ElsassJUG - Le classpath n'est pas mort...
 
INSA - Java in Ze Cloud - 2014
INSA - Java in Ze Cloud - 2014INSA - Java in Ze Cloud - 2014
INSA - Java in Ze Cloud - 2014
 
softshake 2014 - Java EE
softshake 2014 - Java EEsoftshake 2014 - Java EE
softshake 2014 - Java EE
 
INSA - Java in ze Cloud (2013)
INSA - Java in ze Cloud (2013)INSA - Java in ze Cloud (2013)
INSA - Java in ze Cloud (2013)
 
MarsJUG - Le classpath n'est pas mort, mais presque
MarsJUG - Le classpath n'est pas mort, mais presqueMarsJUG - Le classpath n'est pas mort, mais presque
MarsJUG - Le classpath n'est pas mort, mais presque
 
MarsJUG - Une nouvelle vision des tests avec Arquillian
MarsJUG - Une nouvelle vision des tests avec ArquillianMarsJUG - Une nouvelle vision des tests avec Arquillian
MarsJUG - Une nouvelle vision des tests avec Arquillian
 
JUG Summer Camp - Une nouvelle vision des tests avec Arquillian
JUG Summer Camp - Une nouvelle vision des tests avec ArquillianJUG Summer Camp - Une nouvelle vision des tests avec Arquillian
JUG Summer Camp - Une nouvelle vision des tests avec Arquillian
 
DevoxxFR 2013 - Arquillian
DevoxxFR 2013 - ArquillianDevoxxFR 2013 - Arquillian
DevoxxFR 2013 - Arquillian
 
DevoxxFR 2013 - Le classpath n'est pas mort, mais presque
DevoxxFR 2013 - Le classpath n'est pas mort, mais presqueDevoxxFR 2013 - Le classpath n'est pas mort, mais presque
DevoxxFR 2013 - Le classpath n'est pas mort, mais presque
 
Java in ze Cloud - INSA - nov. 2012
Java in ze Cloud - INSA - nov. 2012Java in ze Cloud - INSA - nov. 2012
Java in ze Cloud - INSA - nov. 2012
 
Arquillian - YaJUG - nov. 2012
Arquillian - YaJUG - nov. 2012Arquillian - YaJUG - nov. 2012
Arquillian - YaJUG - nov. 2012
 
Arquillian : Tester sur terre et dans les nuages
Arquillian : Tester sur terre et dans les nuagesArquillian : Tester sur terre et dans les nuages
Arquillian : Tester sur terre et dans les nuages
 

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

JBoss AS 7, la révolution

  • 3.
  • 5. JavaEE 6 Enterprise Web Web Management Application Application Service & Security CDI DI Servlet JAX-RS Auth. SPI Bean Validation JAX-WS JSF JAX-WS JAX-WS JACC EJB JPA JSP EL JAXB Deployment Interceptors JSTL Ent. WS Management JCA JTA Debugging WS Metadata Common Java SE JAX-RPC Annotations JMX StAX JMS Managed JAXM JDBC JAXP JavaMail Beans JAXR JAF
  • 6. JavaEE 6 – Web Profile Enterprise Web Application Application CDI DI Servlet Bean JAX-WS JSF Validation EJB 3 lite JSP EL Interceptors JSTL JPA JTA Debugging Managed Beans
  • 7. JavaEE 6 - Pruning Enterprise Web Web Management Application Application Service & Security EJB 2 entity Deployment Java SE JAX-RPC JAXR
  • 8. Full Profile Web Profile ++ .0 preview JavaEE 6 Web Profile .0 .1
  • 9. Historique 1999 2000 2.0 JBoss Group LLC 2001 2.2 2002 3.0 2003 3.2 JBoss Inc 2004 4.0 2005 RedHat 2006 2007 4.2 2008 5.0 2009 5.1 2010 6.0 2011 7.0, 6.1, 7.1
  • 10. JBoss Logging JSF - Mojarra JAX-WS - CXF JBoss Transaction Datasource JavaEE EJB CDI - Weld JPA - Hibernate Subsystems Naming Cache - Infinispan Core Infrastructure JMS - HornetQ Composants AS7 JGroups JAX-RS - RESTeasy JCA - IronJacamar ...
  • 11. JBoss Logging JSF - Mojarra JAX-WS - CXF JBoss Transaction Datasource JavaEE EJB CDI - Weld JPA - Hibernate Services Naming Micro container Cache - Infinispan JMS - HornetQ Composants AS6 JGroups JAX-RS - RESTeasy JCA ...
  • 12. Architecture AS7 JBoss MSC DMR Controller Threads Modules Server Controller Service Deployers VFS Jandex Reflect Cache Repository Core Infrastructure Subsystems
  • 13. Startup 50 s AS 6.0 45 s AS 5.1 40 s 35 s 30 s 25 s 20 s 15 s AS 4.2 AS 4.0 10 s AS 7.0 5s 0s
  • 14. Startup Geronimo 2 GlassFish 2 90 s GlassFish 3 JBoss 5 80 s JBoss 6 70 s Weblogic 10 60 s Websphere 7 50 s 40 s 30 s 20 s 10 s 0s http://tiny.cc/agoncal-as-startup (12/2009)
  • 16. Lightweight Heap used 180 Mo 160 Mo 140 Mo AS 5.1 120 Mo AS 6.0 100 Mo 80 Mo 60 Mo 40 Mo AS 4.0 AS 4.2 20 Mo AS 7.0 0 Mo
  • 17. Configuration find <profile_dir> -name *.xml | wc -l 160 140 120 AS 5.1 AS 6.0 100 80 60 40 AS 4.0 AS 4.2 20 AS 7.0 0
  • 18. Configuration bin client bin lib bundles server default modules conf standalone data configuration deploy deployers data lib deployments standard lib/ext all domain jbossweb-standalone minimal welcome-content common docs deploy lib docs
  • 20. Configuration server/default/deploy/hdscanner-jboss-beans.xml server/default/conf/bootstrap/profile.xml
  • 21. Configuration (réseau) ✔ Démarrage
  • 22. Déploiement bin Automatique bundles modules – idem AS <7 pour les archives standalone configuration – désactivé en mode explosé data deployments lib/ext cp demo.war $JBOSS_HOME/standalone/deployments/ 17:12:24,923 INFO ... Deployed "demo.war"
  • 23. Déploiement État .dodeploy .pending .skipdeploy .isdeploying .isundeploying .deployed .failed .undeployed
  • 24. Déploiement Manuel – auto-deploy-zipped="false" cp demo.war $JBOSS_HOME/standalone/deployments/ 17:12:24,923 INFO ... Found demo.war ... touch $JBOSS_HOME/standalone/deployments/demo.war.dodeploy 17:12:24,923 INFO ... Found demo.war ...
  • 25. Déploiement automatique ✔ Déploiement manuel
  • 26. Administration Console CLI HTTP / JSON Java API
  • 28. jboss-admin.sh Naviguer – cd, ls, pwd Lire la configuration – :read-resource, :read-attribute,... Modifier la configuration – :add-namespace, :write-attribute,...
  • 29. jboss-admin.sh Datasource Déploiement – upload + deploy – undeploy
  • 30. Datasource
  • 31. Modules "Classpath is dead!" Mark Reinhold, JavaOne 2009 http://java.sun.com/javaone/2009/general_sessions.jsp
  • 32. Modules Java Module – Projet Jigsaw – JavaSE 8 OSGi JBoss Module
  • 33. Modules Hiérarchie Modularité System org.javassist Classloader UCR org.slf4j JBoss Classloaders org.jboss.weld org.hibernate.core Deployment Deployment Classloader Classloader Sub-deployment deployment.my.war Classloader
  • 34. Modules Modules système – Java EE Modules user Local Resource Inter deployment dependencies
  • 35. Déploiement Séparation module / application 1 war => 1 module – deployment.demo.war
  • 36. Déploiement 1 ear => n modules – ear/lib <!-- config globale --> – war <subsystem xmlns="urn:jboss:domain:ee:1.0" > <ear-subdeployments-isolated> false – ear </ear-subdeployments-isolated> </subsystem> <!-- jboss-deployment-structure.xml--> <jboss-deployment-structure> <ear-subdeployments-isolated> true </ear-subdeployments-isolated> </jboss-deployment-structure>
  • 37. Module global standalone.xml ou domain.xml – Slot = version <subsystem xmlns="urn:jboss:domain:ee:1.0" > <global-modules> <module name="org.javassist" slot="main" /> </global-modules> </subsystem>
  • 38. SLF4J
  • 39. Domain Server Host Controller Server Host 1 Domain Controller Host Server Controller Host 0 Host 2 Host Server Controller Host 3
  • 40. Domain Server Server Group 1 Host Controller Server Host 1 Server Group 2 Domain Controller Host Server Controller Host 0 Host 2 Host Server Controller Host 3
  • 41. RHQ OS MySQL Mem, CPU, FS RHQ JBoss AS Agent Httpd Host 1 RHQ Server RHQ ... Host 0 Agent ... ... ... Host 2
  • 42. IDE Eclipse 3.7 + JBoss Tools IntelliJ IDEA 11 Netbeans 7.0
  • 43.
  • 44. Cloud SaaS Software Software as a Service Runtime PaaS / Platform as a Service Middleware Hardware IaaS + Infrastructure as a Service OS
  • 45. PaaS by redhat Java, Perl, PHP, Python, Ruby
  • 46. Express Flex – Git – Contrôle étendu – < Web profile – Amazon EC2
  • 47.
  • 48. OpenShift Express
  • 49. JBoss EAP 6 Q1 2012 (TBC) Dérivé de AS 7.1 – JavaEE 6 full profile … à suivre
  • 50. Conclusion Travaux en cours – Full profile – Documentation .0 Retour d'expérience
  • 51. Conclusion 1999 2000 2.0 2001 2.2 2002 3.0 2003 3.2 2004 4.0 2005 Glassfish 2 2006 2007 4.2 2008 5.0 Glassfish 3 2009 5.1 2010 6.0 2011 7.0, 6.1, 7.1