jboss as 7 - yajug - nov. 2012

Download JBoss AS 7 - YaJUG - nov. 2012

Post on 02-Nov-2014

2.098 views

Category:

Technology

0 download

Embed Size (px)

DESCRIPTION

 

TRANSCRIPT

  • 1. Dployer sur terre et dans les nuagesnovembre 2012 Alexis Hassler
  • 2. @AlexisHasslerDveloppeur, formateur JavaIndpendantCo-leader du
  • 3. AlexisHassler
  • 4. JBoss AS 2.0lgerpratique 2000cool
  • 5. 5.x / 6.xlourdcompliqu 2010pas cool
  • 6. Startup AS 6.050 s45 s AS 5.140 s35 s30 s25 s20 s AS 4.215 s AS 4.010 s 5s 0s
  • 7. Startup Geronimo 2 GlassFish 290 s GlassFish 3 JBoss 580 s JBoss 670 s Weblogic 1060 s Websphere 750 s40 s30 s20 s10 s 0s http://tiny.cc/agoncal-as-startup (12/2009)
  • 8. lgerpratique 2012ber-cool
  • 9. Startup50 s AS 6.045 s AS 5.140 s35 s30 s25 s20 s15 s AS 4.0 AS 4.2 AS 7.110 s (full) 5s 0s
  • 10. Lightweight Heap used180 Mo160 Mo140 Mo AS 5.1120 Mo AS 6.0100 Mo80 Mo60 Mo40 Mo AS 4.0 AS 4.2 AS 7.1 (full)20 Mo 0 Mo
  • 11. JBoss Logging JSF - Mojarra JAX-WS - CXFJBoss Transaction Datasource JavaEE EJB CDI - Weld JPA - Hibernate Subsystems Naming ComposantsCache - Infinispan Core Infrastructure JMS - HornetQ JGroupsJAX-RS - RESTeasyJCA - IronJacamar ...
  • 12. Architecture JBoss MSC DMR Controller Threads Modules Server Controller ServiceDeployers VFS Jandex Reflect Cache Repository Core Infrastructure Subsystems
  • 13. Configuration simplifiefind -name *.xml | wc -l160140120 AS 5.1100 AS 6.0 80 60 40 AS 4.2 AS 4.0 20 AS 7.1 0
  • 14. Configuration expressivestandalone/configuration/standalone.xml
  • 15. Configuration expressiveserver/default/deploy/hdscanner-jboss-beans.xml server/default/conf/bootstrap/profile.xml
  • 16. Dploiement binAutomatique bundles modules idem AS JBoss AS 7+ Modules Datasources, destinations JMS Noms JNDI Clients EJB (remote) ...
  • 42. ModulesLogging modules org.slf4j:main Log4J / SLF4J Corrig en 7.1.2 (pour Log4J) org.slf4j deployment.my.war war
  • 43. AS / EAPJBoss AS 7.1.2 / 7.1.3 Base pour JBoss EAP 6.0.x Pas de release binaire! Build it yourself git clone git://github.com/jbossas/jboss-as.git cd jboss-as git checkout 7.1.2.Final ./build.sh -DskipTests cp -R build/target/jboss-as-7.1.2.Final /opt/java/
  • 44. Messages derreur{"JBAS014653: Opration composite choue et annule. tapes dficientes :" => {"Opration step-2" => {"JBAS014771: Servicesavec des dpendances manquantes/non disponibles" => ["jboss.deployment.unit."swmsg-web.war".jboss.security.jaccMissing[JBAS014861: ]","jboss.deployment.unit."swmsg-web.war".component."org.apache.catalina.servlets.DefaultServlet".START Missing[JBAS014861: ]","jboss.naming.context.java.module.swmsg-web.swmsg-web.env.ejb.MessageSecuredMissing[jboss.naming.context.java.app.swmsg-web.swmsg-ejb3."MessageSecuredBean!fr.sewatech.formation.appserv.ejb3.MessageServiceLocal"]","jboss.deployment.unit."swmsg-web.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START Missing[JBAS014861: ]","jboss.naming.context.java.module.swmsg-web.swmsg-web.env.ejb.MessageServiceMissing[jboss.naming.context.java.app.swmsg-web.swmsg-ejb3."MessageServiceBean!fr.sewatech.formation.appserv.ejb3.MessageServiceLocal"]","jboss.naming.context.java.module.swmsg-web.swmsg-web.env.jdbc.sewa-ds Missing[jboss.naming.context.java.SewaDS]","jboss.deployment.unit."swmsg-web.war".jndiDependencyService Missing[JBAS014861: ]","jboss.naming.context.java.module.swmsg-web.swmsg-web.env.jms.SWqMissing[jboss.naming.context.java.queue.SWq]","jboss.deployment.unit."swmsg-web.war".component."com.sun.faces.config.ConfigureListener".START Missing[JBAS014861: ]","jboss.deployment.unit."swmsg-web.war".component."javax.faces.webapp.FacetTag".STARTMissing[JBAS014861: ]","jboss.deployment.unit."swmsg-web.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START Missing[JBAS014861: ]","jboss.deployment.unit."swmsg-web.war".component."org.apache.jasper.servlet.JspServlet".STARTMissing[JBAS014861: ]","jboss.deployment.unit."swmsg-web.war".component."fr.sewatech.formation.appserv.web.PageFilter".START Missing[JBAS014861: ]","jboss.deployment.unit."swmsg-web.war".component."fr.sewatech.formation.appserv.web.MessageServlet".START Missing[JBAS014861: ]","jboss.web.deployment.default-host./swmsg-web Missing[JBAS014861: ]"]}}}
  • 45. RoadmapJBoss AS 7.1 BaseJump WildFly JBoss AS 7.2 JBoss AS 8 Petasos Jberet JBoss AS 9 Jocon jFireAnt http://www.jboss.org/vote
  • 46. RoadmapJavaEE 7Patch chaudAccs au management, par rlesMultiplexageAmlioration du MSCDveloppement dextensions...
  • 47. ConclusionServeurs dapplications modernes
  • 48. http://www.jboss.org/as7.htmlhttp://www.jboss.org/openshift/
  • 49. @AlexisHasslerhttp://alexis-hassler.comalexis.hassler@sewatech.frhttp://sewatech.fr
  • 50. Auto-promotionhttp://www.sewatech.fr/formation-jboss-7.html 19 au 22 mars 2013 Lyon
  • 51. ?