Upload
jbug-italy
View
1.005
Download
1
Embed Size (px)
DESCRIPTION
Stefano Maestri - JBug Milano April 2012
Citation preview
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 nutshell
●Fast
●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● It's 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