Scott Stark, Ph.D. started out as a chemical engineer and graduated with a B.S. from the University of Washington, and he later earned a Ph.D. from the University of Delaware. While he was at Delaware, it became apparent that computers and programming were to be his passion, so he made the study of applying massively parallel computers to difficult chemical engineering problems the subject of his Ph.D. research. It has been all about distributed programming ever since. Scott currently serves as the chief technology officer of JBoss, Inc., an elite services company based out of Atlanta.
Marc Fleury, Ph.D. started in sales at Sun Microsystems France. A graduate of the Ecole Polytechnique, France's top engineering school, and an ex-lieutenant in the paratroopers, he has a master's in theoretical physics from the ENS ULM and a Ph.D. in physics for work he did as a visiting scientist at MIT (working with X-ray lasers). Marc currently serves as the president of JBoss, Inc.
Norman Richards is a JBoss developer and is currently the maintainer of this guide. He graduated with a B.S. in computer science from the University of Texas at Austin, where he researched evolving neural networks to play the game of go. Norman is the co-author of XDoclet in Action (Manning Publications).
';figDoc.write(zhtm);figDoc.close();}// modified 3.1.99 RWE v4.1 -->
IntroductionIntroduction
What This Book Covers
The primary focus of this book is the presentation of the standard JBoss 4.0 architecture components, from the perspectives of both their configuration and architecture. As a user of a standard JBoss distribution, you will gain an understanding of how to configure the standard components. Note that this book is not an introduction to J2EE or how to use J2EE in applications. It focuses on the internal details of the JBoss server architecture and how an implementation of a given J2EE container can be configured and extended.
As you read this book, you will gain a good understanding of the architecture and inte-gration of the standard components, which should enable you to extend or replace the standard components for your infrastructure needs. This book also shows you how to obtain the JBoss source code, along with how to build and debug the JBoss server.
About JBoss
JBoss Application Server was first released in 1999. JBoss Group was founded in 2001, in order to provide expert technical support services. JBoss Group was incorporated in 2004 as JBoss Inc.:
OwnershipJBoss Inc. is employee owned and is venture backed by Matrix Partners, Accel Partners, and Intel.
CoverageJBoss Inc. covers North America and Europe on a direct basis. JBoss Inc. provides coverage worldwide via its extensive authorized partner network.
Mission statementJBoss Inc. will provide middleware technology that offers the lowest cost of ownership via open-source software licenses that are backed up by expert technical support services delivered by both JBoss Inc. and our authorized service partners. Our goal is to be the safe choice for enterprises and software providers alike.
Company descriptionJBoss Inc. is in the business of providing superior technical support to its customers. By backing up its immensely popular open-source Java products with technical support from the source, JBoss has become the new safe choice for middleware. Customers such as Apple, Best Western, Borland, Computer Associates, HP, Iona, La Quinta, MCI, Mitre, Nielsen Media Research, Siemens, Sonic, SEMA, Unisys, WebMethods, and Wells Fargo have embraced the Professional Open Source model whereby no-cost, open-source products are supported by the core development team. By providing direct access to the core developers, JBoss Inc. eliminates the runaround common with most commercial software providers.
Professional Open Source from JBoss Inc. offers the following:
Standards-based and stable Java middleware technology
No-cost, open-source product licenses
Backing by a professional and expert support staff
Comprehensive services, including professional support, training, and consulting
A very large and active community of developers
An extensive worldwide network of authorized and certified partners
Benefits of Professional Open Source from JBoss Inc. include the following:
Lowest possible total cost of ownership
Reliable and safe technology
Support, accountability, and trust from a stable company
Expedited problem resolution compared to commercial software vendors
About Open Source
The basic idea behind open source is very simple: When programmers can read, re- distribute, and modify the source code for a piece of software, the software evolves: People improve it, people adapt it, people fix bugs. And this can happen at a speed that, if you are used to the slow pace of conventional software development, seems astonishing. Open source is an often-misunderstood term that relates to free software. The Open Source Initiative (OSI) website provides a number of resources that define the various aspects of open source, including a definition of open source at http://www.opensource.org/docs/definition.html. The following quote from the OSI home page nicely summarizes the key aspects as they relate to JBoss:
We in the open source community have learned that this rapid evolutionary process produces better software than the traditional closed model, in which only a very few programmers can see the source and everybody else must blindly use an opaque block of bits.
Open Source Initiative exists to make this case to the commercial world.
Open source software is an idea whose time has finally come. For twenty years it has been building momentum in the technical cultures that built the Internet and the World Wide Web. Now it's breaking out into the commercial world, and that's changing all the rules. Are you ready?
The Open Source Initiative
About Professional Open Source
JBoss is the leader in the second generation of open source, which JBoss Inc. has termed Professional Open Source. The Professional Open Source methodology is based on the following:
It hires and pays experts in the open-source community to write exceptional and innovative software full time.
It uses only open-source licenses that are friendly to end-user IT shops, independent software vendors, and the community itself.
Directly and through its authorized partners, JBoss Inc. delivers the best support services available, and all of them are backed up by the real product experts.
Unlike first-generation open-source providers, JBoss Inc. controls the direction and source code for its projects. It can ensure that all bug fixes and patches are rolled into future versions of its products.
By combining enterprise-proven technology, business-friendly open-source licenses, and world-class support services, JBoss Inc. has made Professional Open Source the safe choice for end-user enterprises and independent software vendors alike.
What's New in JBoss 4.0
The JBoss Application Server (JBoss AS) 4.0 is a production-ready Java 2 Enterprise Edition (J2EE) application server. It builds on the highly successful JBoss 3.2 line of open-source Java application servers with improved standards compliance and major feature enhancements. JBoss AS 4.0 offers the same level of quality and stability customers have grown to expect from JBoss 3.2. Key features of JBoss AS 4.0 include the following:
It is officially certified to be fully compliant to the J2EE 1.4 specification. JBoss AS 4.0 is the first production-ready J2EE 1.4 application server in the industry.
It provides full support for J2EE Web Services and the Service-Oriented Architecture (SOA).
It supports the aspect-oriented programming (AOP) model for developing middleware solutions. JBoss AOP greatly improves developer productivity.
It tightly integrates with Hibernate, the world's most popular object persistence framework, developed by JBoss, inside the application server container.
It improves clustering and distributed caching support, with a new internal caching architecture.
J2EE Certification and Standards Compliance
JBoss AS 4.0 is the industry's first officially certified J2EE 1.4 application server. The certification guarantees that JBoss AS 4.0 conforms to the formal J2EE specification. This allows developers to safely reuse J2EE components (for example, Enterprise JavaBeans EJBs) across different application servers. For example, a developer could easily migrate an EJB developed for WebLogic or WebSphere to JBoss. The certification makes JBoss 4.0 a safe upgrading choice for both existing JBoss users and users of other J2EE application servers.
Compared with JBoss AS 3.2, JBoss AS 4.0 implements the following new J2EE specifications in order to be J2EE 1.4 compliant: