2. JBoss AS 7
...from a user perspective
Max Rydahl Andersen
http://about.me/maxandersen
Wednesday, September 21, 11
3. Me?
• Worked on Hibernate Core since Hibernate 0.9
• Joined JBoss in 2004 as Hibernate Core/Consultant
• Since 2007 worked primarily as lead on JBoss Tool/
Developer Studio
• Committer on Seam
• Contributed to AS 7, Infinispan, Portal, OpenShift
and more…
• Stalker links on http://about.me/maxandersen
Wednesday, September 21, 11
4. What is an Application Server
...and why do I need one ?
Wednesday, September 21, 11
5. A common Application Stack
UI
Web
Programming Model
Business Logic
Database
Wednesday, September 21, 11
6. Assemble your own stack ?
Mojarra
JSP/JSF
Servlets Tomcat
Spring Spring
Pojo’s ….
JDBC
Hibernate
Wednesday, September 21, 11
7. ...or use a standard stack ?
JEE 6
JSP/JSF
Servlets/JAX-RS
CDI
EJB/Pojo’s
JPA
Wednesday, September 21, 11
8. ...or use a standard stack ?
JBoss X
JSP/JSF - Mojarra/Myfaces
Servlets/JAX-RS - JBoss Web/RestEASY
CDI - Weld
EJB/Pojo’s - JBoss EJB
JPA - Hibernate
Wednesday, September 21, 11
9. Why do I need...
• Application Server:
• No custom assembly needed
• Standards
• Portability
• JBoss Application Server
• built on defacto and industry proven frameworks
• Large community
• Commercial support for the whole stack
Wednesday, September 21, 11
12. 7 reasons to love AS 7
• Blazingly fast
• Lightweight
• Modular core
• Hot, parallel deployment
• Elegant administration
• Domain Management
• First class components
Read more at http://jboss.org/as7
Wednesday, September 21, 11
14. Demo Ingredients
• JBoss AS 7 + Quickstarts
• http://www.jboss.org/jbossas/downloads/
• Eclipse 3.7 + JBoss Tools 3.3 M3
• http://www.jboss.org/tools/download
• Could also use JBoss Developer Studio 5 M3
• http://devstudio.jboss.com/earlyaccess
Wednesday, September 21, 11
15. AS 7 Cheatsheet
• No bin/run.sh anymore
• bin/standalone.sh to start standalone
• bin/domain.sh for domain
• Welcome page on http://localhost:8080
• Have links to docs, admin console, jira, forums…
• standalone/configuration/standalone.xml has *all*
configuration in one place for standalone.
• Read standalone/deployments/readme for file
deployments
Wednesday, September 21, 11
16. Some related Projects
• Forge
• Standards based Rapid Application Development
• Arquillian
• Makes testing JavaEE apps a breeze
• TorqueBox
• Allow you to run Ruby apps on an JavaEE stack!
• OpenShift
• Run AS 7 in the cloud
• SwitchYard
• ESB that runs on AS 7 and utilizes CDI
Wednesday, September 21, 11
17. 7 reasons to love AS 7
• Blazingly fast
• Lightweight
• Modular core
• Hot, parallel deployment
• Elegant administration
• Domain Management
• First class components
Read more at http://jboss.org/as7
Wednesday, September 21, 11