• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content




Stefano Maestri - JBug Milano April 2012

Stefano Maestri - JBug Milano April 2012



Total Views
Views on SlideShare
Embed Views



0 Embeds 0

No embeds



Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

    AS7 AS7 Presentation Transcript

    • Who is Stefano?● JBoss WS[1] committer since early 2007● Committer of various Jboss projects● JBoss / Red Hat employee since July 2010● JBoss AS7[2] team memeber● IronJacamar[4] team member● Wise[3] project leader● Follow me: www.javalinux.it, www.twitter.com/maeste https://plus.google.com/102371438013760231375/about https://github.com/maeste http://www.linkedin.com/in/maeste [1] http://www.jboss.org/jbossws [2] http://www.jboss.org/jbossas [3] http://www.jboss.org/wise [4] http://www.jboss.org/ironjcamar
    • AS7 in a nutshellFast●Very fast●Blazingly fast (<3s startup)●#@*%ing fast●
    • AS7 in a nutshell (seriosly)●Blazingly fast (<3s startup)●Lightweight●Modular core●Hot, parallel deployment●Elegant administration●Domain management●Easy testable
    • Boot time
    • Memory
    • Core rewritten from scratch to achive..● Improved usability, increased manageability, simplified configuration● Domain management● Multiple consistent management interfaces ● CLI, Java API, HTTP API, Console● Unified user-focused configuration● Modular ● Only API – no implementation details ● True isolation
    • Simplified user-focused configuration
    • Standalone mode● Standalone is a single AS process for use in development, where the additional management functionality is not required● Provides a similar development experience to previous versions of the JBoss AS, allowing a deployment to be dropped in a folder and automatically be deployed● Same management tools and APIs as domain mode
    • Domain mode● Easy management of multiple JBoss AS instances● Managed from a single point, all have access to the same domain configuration● Allows for management and configuration updates to be pushed out to all servers● Domain mode has three separate processes ● Process Controller ● Host Controller ● Server instance
    • Domain processes● Process Controller ● Responsible for managing, starting / stopping processes ● Extremely simple● Host Controller ● One host controller is the domain controller, the rest are slaves ● Domain controller responsible for pushing management and configuration changes
    • Domain mode
    • Demos● Booting standalone mode● Booting domain mode
    • Architecture
    • JBoss Modules● New classloading project● Provides a modular (not hierarchical) classloading environment● Classloading is extremely fast● Classloading is truely isolated by default● Classloading is extremely flexible
    • Hierarchical classloading
    • Modular classloading
    • JBoss Modules● Fast ● O(1) dependency resolution ● Concurrent (lock-free in most Vms)● Pure modular classloading ● Can only resolve what they import● External configuration (module.xml)● Dynamic (can be redefined)● Extensible (JBoss OSGi)
    • module.xml
    • JBoss Modular Service Container (MSC)● Small, lightweight and efficient● Highly concurrent scalable state machine
    • Dynamic Model Representation (DMR)● Central detyped management API ● All management operations with/on DMR ● Backwards compatible● Can be used to control standalone or domain● Detypes (i.e. string based) API uses small set of Java classes● Various transports (Java remoting, JSON/HTTP)
    • Dynamic Model Representation (DMR)
    • Managing with cli● Text base user interface● Easy to use both for standalone and domain mode● Scriptable.● Demo....
    • Managing with webconsole● Web console in AS7 is a best effort● It is now developed for most common administration tasks● It will increase its functions in next months● Its adding a lot of metrics● JBossON for EAP
    • Community● Get involved ! ● Base for JBoss Enterprise Application Platform 6● Download ● http://www.jboss.org/jbossas/downloads● Forum ● http://community.jboss.org/en/jbossas/as7_us ers
    • Community● Hacking on AS 7 ● http://community.jboss.org/wiki/HackingonAS 7● Webinars ● http://www.jboss.org/as7/webinars.html● Documentation ● https://docs.jboss.org/author/display/AS7/Doc umentation