Presentation given at DevNexus 2012, Atlanta
Abstract:
Is it the modular design and infinitely extensible architecture? Is it the elegant administration? Perhaps it’s compliance with the universal language of standards? Maybe the ease of testing your applications? We’ll search the answer together in a journey that will take you from testing the water to the deep dive, and in which you’ll learn the secrets behind the unparalleled speed, incredibly small foot print, and exciting usability features of the next generation application server from JBoss.
COMPUTER 10: Lesson 7 - File Storage and Online Collaboration
What makes JBoss AS7 tick?
1. 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
2. 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
4. 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
5. What makes JBoss AS7
tick?
or:
Understanding JBoss AS7’s
features through its
architecture
Friday, 23 March, 12
12. Moore’s Law
The number of transistors
which can be inexpensively
placed on a chip doubles
every two years.
Friday, 23 March, 12
13. 1960-2000s: Faster
Since mid-2000s: more cores,
energy efficiency,
not faster
Friday, 23 March, 12
14. 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
17. 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
20. 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
21. Hierarchical classloading
System CL
Server CL Hibernate 4
Deployment CL Deployment CL
Hibernate 3.6.x
Friday, 23 March, 12
31. Standalone mode
• Single server instance
• ‘Classic’ approach
• Managed individually
• configuration file
• web interface
• Best for development
Friday, 23 March, 12
32. 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