SlideShare a Scribd company logo
What Makes JBoss AS7 Tick?
  Marius Bogoevici
 Senior Software Engineer,
 JBoss by Red Hat
                  What makes JBoss tick?
                         Marius Bogoevici




@mariusbogoevici
Friday, 23 March, 12
About me
                  •    Senior Software Engineer, JBoss by Red Hat

                  •    Snowdrop Lead (Spring extensions for JBoss AS)

                  •    Contributor to Weld, JSR-299 RI

                  •    Contributor to JBoss AS6, JBoss AS7

                  •    Interest in enterprise integration

                       •   committer Spring Integration

                       •   author “Spring Integration in Action” (Manning,
                           2012)


Friday, 23 March, 12
Friday, 23 March, 12
Timeline

     Spring               July      August September February       March
      2010               2011        2011     2011     2012         2012
                          7.0        7.0.1    7.0.2      7.1        7.1.1
                        Java EE 6       Fixes and      Java EE 6
                       Web profile     enhancements    Full profile
                        certified                       certified

                                 http://www.jboss.org/jbossas/
Friday, 23 March, 12
What makes JBoss AS7
                               tick?

                                  or:

                       Understanding JBoss AS7’s
                         features through its
                             architecture




Friday, 23 March, 12
Fast

Friday, 23 March, 12
Friday, 23 March, 12
Friday, 23 March, 12
Friday, 23 March, 12
Friday, 23 March, 12
It’s	 the	 law!
Friday, 23 March, 12
Moore’s Law

                       The number of transistors
                       which can be inexpensively
                        placed on a chip doubles
                            every two years.




Friday, 23 March, 12
1960-2000s: Faster




        Since mid-2000s: more cores,
              energy efficiency,
                 not faster

Friday, 23 March, 12
Amdahl’s Law

     The speedup of a
     program using
     multiple processors          Oh, ok.
     in parallel
     computing is limited
     by the time needed
     for the sequential
     fraction of the
     program.



Friday, 23 March, 12
first-class components


                       improved architecture




Friday, 23 March, 12
Modular
                       architecture
Friday, 23 March, 12
Mi
                                                  cr
                                                    oc
                                Microcontainer on
                       Microkernel           JB
                                           JB os       ta
                                             os s        in
                        JBoss AS 3              s   AS      er
                           Microkernel
                        JBoss AS 4                AS 5
                                                     6
             New architecture

             Requirements:
               Highly concurrent
               Low Memory consumption
               Avoid reflection
               On demand
Friday, 23 March, 12
JBoss AS architecture




Friday, 23 March, 12
Subsystems are extensions
     <server xmlns="urn:jboss:domain:1.2">                   pluggable
              <extensions>                                   extension
                  <extension module="org.jboss.as.web"/>
              </extensions>
                               set of subsystems
         <profile>
             <subsystem xmlns="urn:jboss:domain:web:1.1"
                      default-virtual-server="default-host" native="false">
                 <connector name="http" protocol="HTTP/1.1" scheme="http"
                                                              socket-
     binding="http"/>
                 <virtual-server name="default-host" enable-welcome-root="true">
                      <alias name="localhost"/>
                      <alias name="example.com"/>
                 </virtual-server>                              materialized
             </subsystem>                                        extension
         </profile>

     </server>




Friday, 23 March, 12
Modular service container

                Every deployable entity is a service
                Deployment coordinated by subsystems
                Concurrent service startup
                Parallel dependency resolution
                Lazy loading of expensive services
                STAX parser
                Annotation & reflection indexing
Friday, 23 March, 12
Hierarchical classloading
                                         System CL


                                         Server CL      Hibernate 4


                       Deployment CL                 Deployment CL

                       Hibernate 3.6.x


Friday, 23 March, 12
Friday, 23 March, 12
Friday, 23 March, 12
Modular classloading
                              101
                         Module A      Module B



                        Module C v1   Module C v2




Friday, 23 March, 12
JBoss Modules
                       Modular classloader system
                       Concurrent classloading
                       Pure modularity (deps added on request)
                       Simple dependency rules
                        Extremely fast dependency resolution
                       Deployments are modules themselves
                        Own exclusions/inclusions

Friday, 23 March, 12
And OSGi ?

                                       JBoss OSGi

                       JBoss Modules   Modular Service Container




                         Yes. JBoss AS7 is an OSGi runtime

Friday, 23 March, 12
Exceptionally
                        lightweight
Friday, 23 March, 12
GuruPlug
                                               512M RAM
                                               1.2 GHz
                                               512M NAND Flash




                   More at: http://www.jboss.org/jbw2011keynote
Friday, 23 March, 12
Better control



Friday, 23 March, 12
Wide management options
Friday, 23 March, 12
Standalone mode
                       •   Single server instance

                       •   ‘Classic’ approach

                       •   Managed individually

                           •   configuration file

                           •   web interface

                       •   Best for development



Friday, 23 March, 12
Domain mode
            •      Centralized management

            •      Centralized deployment

            •      Group configuration
                   policy

            •      Suitable for production,
                   large number of servers

            •      Easy vertical scaling

            •      Easy vertical/horizontal
                   clustering


Friday, 23 March, 12
Secure by default
Friday, 23 March, 12
Cloud-ready

Friday, 23 March, 12
https://openshift.redhat.com/
Friday, 23 March, 12
A versatile server




Friday, 23 March, 12
...and a platform



Friday, 23 March, 12
http://jboss.org/switchyard



Friday, 23 March, 12
http://jboss.org/snowdrop



Friday, 23 March, 12
http://torquebox.org

Friday, 23 March, 12
http://jboss.org/immutant



Friday, 23 March, 12
http://jboss.org/capedwarf



Friday, 23 March, 12
Tools


Friday, 23 March, 12
Be a craftsman.




         http://www.jboss.org/tools
Friday, 23 March, 12
Be a craftsman. Faster.




                            http://jboss.org/forge



Friday, 23 March, 12
Learn to trust your code.




             http://jboss.org/arquillian
Friday, 23 March, 12
A community effort ...


Friday, 23 March, 12
Friday, 23 March, 12
... with enterprise support
Friday, 23 March, 12
Friday, 23 March, 12
Questions?



Friday, 23 March, 12
http://jboss.org/jbossas              #jbossas7




                       THANKS!

@mariusbogoevici             mariusb@redhat.com
Friday, 23 March, 12

More Related Content

PDF
MySQL always-up with Galera Cluster
PPTX
Custom gutenberg block development with React
PDF
Memcachedb: The Complete Guide
PPT
10215 A 06
PDF
Replicació MySQL
PDF
Unanticipated Partial Behavioral Reflection
PDF
Support distributed computing and caching avec hazelcast
PDF
Testing early mysql releases in a sandbox
MySQL always-up with Galera Cluster
Custom gutenberg block development with React
Memcachedb: The Complete Guide
10215 A 06
Replicació MySQL
Unanticipated Partial Behavioral Reflection
Support distributed computing and caching avec hazelcast
Testing early mysql releases in a sandbox

Viewers also liked (20)

PPTX
Jboss App Server
ODP
The JBoss Way, the Added Value of Open Source Middleware
PPT
JBoss Analyst tour Sept 2003
PPT
JBoss presentation 2003 11 for matrix
PDF
JBoss Enterprise Overview by Quinten Laureijs
KEY
JBoss AS7 Overview
PDF
JBoss at Work: Using JBoss AS 6
PDF
JBoss AS / EAP and Java EE6
PDF
Arauto junho 2010
PDF
ICANN 52: Universal Acceptance
PDF
Educomunicación. Capacidades emocionales de la comunicación audiovisual.
PDF
Office depot duales studium
PPS
THiiiNK! Design architectural and design images, photos, sketches, models, pl...
PDF
Startup Marketing Club - Email Marketing - March 2014
PDF
Monitoramento e Comportamento do Consumidor
PPTX
Las relaciones en el ecosistemas acabado del todo
PPTX
8. Nike Lab Stores
PDF
Aulas E Workshops 2010
PDF
Fórum de Gestão Estratégica de Riscos para Auditoria
Jboss App Server
The JBoss Way, the Added Value of Open Source Middleware
JBoss Analyst tour Sept 2003
JBoss presentation 2003 11 for matrix
JBoss Enterprise Overview by Quinten Laureijs
JBoss AS7 Overview
JBoss at Work: Using JBoss AS 6
JBoss AS / EAP and Java EE6
Arauto junho 2010
ICANN 52: Universal Acceptance
Educomunicación. Capacidades emocionales de la comunicación audiovisual.
Office depot duales studium
THiiiNK! Design architectural and design images, photos, sketches, models, pl...
Startup Marketing Club - Email Marketing - March 2014
Monitoramento e Comportamento do Consumidor
Las relaciones en el ecosistemas acabado del todo
8. Nike Lab Stores
Aulas E Workshops 2010
Fórum de Gestão Estratégica de Riscos para Auditoria
Ad

Similar to What makes JBoss AS7 tick? (20)

PDF
JBoss AS 7 from a user perspective
PDF
Server Day 2009: JBoss 5.0 by Alessio Soldano
PDF
JBoss Application Server 7
PPTX
Java Modularity with OSGi
PDF
Enterprise Web 2.0: from pristine Java EE to fully-loaded frameworks
PDF
Powering the Next Generation Services with Java Platform - Spark IT 2010
PDF
Interoperable Open Architecture through a Common Component Model
PDF
Gustavo Garnica: Evolución de la Plataforma Java y lo que Significa para Ti
PDF
Erlang for video delivery
PDF
Java EE 6 workshop at Dallas Tech Fest 2011
KEY
Kabir Khan on AS6 at JBUG.be
PDF
JBoss / Red Hat: bridging the gap between web services technologies and real ...
PDF
November 2009 - Whats Cooking At JBoss Tools
PDF
Extending Spring for Custom Usage
PDF
JavaEE6
DOCX
PDF
Java onebrazil hk2
PDF
Java Future S Ritter
PDF
DevOps Introduction @Cegeka
PDF
Invokedynamic: Tales from the Trenches
JBoss AS 7 from a user perspective
Server Day 2009: JBoss 5.0 by Alessio Soldano
JBoss Application Server 7
Java Modularity with OSGi
Enterprise Web 2.0: from pristine Java EE to fully-loaded frameworks
Powering the Next Generation Services with Java Platform - Spark IT 2010
Interoperable Open Architecture through a Common Component Model
Gustavo Garnica: Evolución de la Plataforma Java y lo que Significa para Ti
Erlang for video delivery
Java EE 6 workshop at Dallas Tech Fest 2011
Kabir Khan on AS6 at JBUG.be
JBoss / Red Hat: bridging the gap between web services technologies and real ...
November 2009 - Whats Cooking At JBoss Tools
Extending Spring for Custom Usage
JavaEE6
Java onebrazil hk2
Java Future S Ritter
DevOps Introduction @Cegeka
Invokedynamic: Tales from the Trenches
Ad

Recently uploaded (20)

PPTX
Tartificialntelligence_presentation.pptx
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PPTX
1. Introduction to Computer Programming.pptx
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PPTX
TLE Review Electricity (Electricity).pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Encapsulation theory and applications.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
A Presentation on Artificial Intelligence
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Web App vs Mobile App What Should You Build First.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
August Patch Tuesday
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
project resource management chapter-09.pdf
PDF
Approach and Philosophy of On baking technology
Tartificialntelligence_presentation.pptx
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
1. Introduction to Computer Programming.pptx
SOPHOS-XG Firewall Administrator PPT.pptx
TLE Review Electricity (Electricity).pptx
Building Integrated photovoltaic BIPV_UPV.pdf
Programs and apps: productivity, graphics, security and other tools
NewMind AI Weekly Chronicles - August'25-Week II
Encapsulation theory and applications.pdf
MIND Revenue Release Quarter 2 2025 Press Release
A Presentation on Artificial Intelligence
Group 1 Presentation -Planning and Decision Making .pptx
Web App vs Mobile App What Should You Build First.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
WOOl fibre morphology and structure.pdf for textiles
August Patch Tuesday
Enhancing emotion recognition model for a student engagement use case through...
project resource management chapter-09.pdf
Approach and Philosophy of On baking technology

What makes JBoss AS7 tick?