JBoss: A Developer's Notebook

Book description

There's nothing ordinary about JBoss. What began as an open source EJB container project six years ago has become a fully certified J2EE 1.4 application server with the largest market share, competitive with proprietary Java application servers in features and quality. And with its dynamic architecture, JBoss isn't just a J2EE server. You can alter the services to make J2EE work the way you want, or even throw J2EE away completely.

After more than a million downloads, many JBoss users are no longer trying it out on internal test boxes, but rolling it out on production machines. JBoss: A Developer's Notebook takes you on a complete tour of JBoss in a very unique way: rather than long discussions, you will find code--lots of code. In fact, the book is a collection of hands-on labs that take you through the critical JBoss features step-by-step. You don't just read about JBoss, you learn it through direct practical application. That includes exploring the server's many configurations: from bare features for simple applications, to the lightweight J2EE configuration, to everything JBoss has in store-including Hibernate and Tomcat.

JBoss: A Developer's Notebook also introduces the management console, the web services messaging features, enhanced monitoring capabilities, and shows you how to improve performance. At the end of each lab, you'll find a section called "What about..." that anticipates and answers likely follow-up questions, along with a section that points you to articles and other resources if you need more information.

JBoss is truly an extraordinary application server. And we have an extraordinary way for you to learn it.

Publisher resources

View/Submit Errata

Table of contents

  1. JBoss: A Developer’s Notebook
  2. A Note Regarding Supplemental Files
  3. The Developer’s Notebook Series
    1. Notebooks Are...
    2. Notebooks Aren’t...
    3. Organization
  4. Preface
    1. Conventions Used in This Book
    2. Using Code Examples
    3. Comments and Questions
    4. Safari® Enabled
    5. Acknowledgments
      1. Norman’s Acknowledgments
      2. Sam’s Acknowledgments
  5. 1. Installing and Running JBoss
    1. 1.1. Installing the Server
      1. 1.1.1. How do I do that?
      2. 1.1.2. What just happened?
      3. 1.1.3. What about...
    2. 1.2. Starting Up JBoss
      1. 1.2.1. How do I do that?
    3. 1.3. Examining the Server (JMX ConsoleJMX Console
      1. 1.3.1. How do I do that?
      2. 1.3.2. What just happened?
    4. 1.4. Shutting Down the Server
      1. 1.4.1. How do I do that?
      2. 1.4.2. What just happened?
    5. 1.5. Specifying a Server Configuration
      1. 1.5.1. How do I do that?
    6. 1.6. Creating a New Configuration
      1. 1.6.1. How do I do that?
      2. 1.6.2. What about...
  6. 2. Deploying an Application on JBoss
    1. 2.1. Getting Ant
      1. 2.1.1. How do I do that?
    2. 2.2. Creating and Packaging the Application
      1. 2.2.1. How do I do that?
      2. 2.2.2. What just happened?
      3. 2.2.3. What about...
    3. 2.3. Running the Application
      1. 2.3.1. How do I do that?
      2. 2.3.2. What just happened?
    4. 2.4. Modifying the Deployed Application
      1. 2.4.1. How do I do that?
      2. 2.4.2. What about...
    5. 2.5. Exploding Deployments
      1. 2.5.1. How do I do that?
      2. 2.5.2. What just happened?
    6. 2.6. Viewing the Application on the Management Console
      1. 2.6.1. How do I do that?
      2. 2.6.2. What just happened?
    7. 2.7. Uninstalling the Application
      1. 2.7.1. How do I do that?
  7. 3. Creating a Complete Application
    1. 3.1. Building the EJB Tier
      1. 3.1.1. How do I do that?
      2. 3.1.2. What just happened?
      3. 3.1.3. What about...
    2. 3.2. Using XDoclet to Build the Web Tier
      1. 3.2.1. How do I do that?
      2. 3.2.2. What just happened?
    3. 3.3. Defining Users
      1. 3.3.1. How do I do that?
      2. 3.3.2. What just happened?
    4. 3.4. Deploying the Application
      1. 3.4.1. How do I do that?
      2. 3.4.2. What just happened?
    5. 3.5. Examining the Database
      1. 3.5.1. How do I do that?
      2. 3.5.2. What just happened?
  8. 4. Connecting to a Real Database
    1. 4.1. Setting Up MySQL
      1. 4.1.1. How do I do that?
      2. 4.1.2. What just happened?
    2. 4.2. Adding the JDBC Driver
      1. 4.2.1. How do I do that?
      2. 4.2.2. What just happened?
      3. 4.2.3. What about...
    3. 4.3. Creating a Datasource
      1. 4.3.1. How do I do that?
      2. 4.3.2. What just happened?
      3. 4.3.3. What about...
    4. 4.4. Linking the Datasource to Our Application
      1. 4.4.1. How do I do that?
      2. 4.4.2. What just happened?
    5. 4.5. Monitoring the Connection Pool
      1. 4.5.1. How do I do that?
      2. 4.5.2. What just happened?
  9. 5. Applying Security
    1. 5.1. Defining a Security Domain
      1. 5.1.1. How do I do that?
      2. 5.1.2. What just happened?
    2. 5.2. Using a Relational Database for Users
      1. 5.2.1. How do I do that?
      2. 5.2.2. What just happened?
    3. 5.3. Using Hashed Passwords
      1. 5.3.1. How do I do that?
      2. 5.3.2. What just happened?
    4. 5.4. Using an LDAP Server for Users
      1. 5.4.1. How do I do that?
      2. 5.4.2. What about...
    5. 5.5. Stacking Login Modules
      1. 5.5.1. How do I do that?
      2. 5.5.2. What just happened?
    6. 5.6. Enabling SSL
      1. 5.6.1. How do I do that?
  10. 6. Logging
    1. 6.1. Configuring log4j
      1. 6.1.1. What just happened?
    2. 6.2. Adding a Logging Category
      1. 6.2.1. How do I do that?
    3. 6.3. Configuring the Log Format
      1. 6.3.1. How do I do that?
    4. 6.4. Creating a New Logfile
      1. 6.4.1. How do I do that?
      2. 6.4.2. What just happened?
    5. 6.5. Rolling Logfiles
      1. 6.5.1. How do I do that?
    6. 6.6. Adjusting Logging from the JMX Console
      1. 6.6.1. How do I do that?
      2. 6.6.2. What just happened?
    7. 6.7. HTTP Access Logs
      1. 6.7.1. How do I do that?
      2. 6.7.2. What just happened?
    8. 6.8. Logging Generated SQL for CMP
      1. 6.8.1. How do I do that?
      2. 6.8.2. What just happened?
      3. 6.8.3. What about...
  11. 7. Configuring Persistence
    1. 7.1. Managing Schema
      1. 7.1.1. How do I do that?
      2. 7.1.2. What just happened
    2. 7.2. Mapping Objects
      1. 7.2.1. How do I do that?
      2. 7.2.2. What just happened
    3. 7.3. Mapping Relations
      1. 7.3.1. How do I do that?
      2. 7.3.2. What just happened
      3. 7.3.3. What about...
    4. 7.4. Adding Audit Data
      1. 7.4.1. How do I do that?
      2. 7.4.2. What just happened?
    5. 7.5. Generating Primary Keys
      1. 7.5.1. How do I do that?
      2. 7.5.2. What just happened
      3. 7.5.3. What about...
  12. 8. Managing and Monitoring JBoss
    1. 8.1. Starting the Web Console
      1. 8.1.1. How do I do that?
    2. 8.2. Monitoring Your Application
      1. 8.2.1. How do I do that?
      2. 8.2.2. What just happened?
    3. 8.3. Working with MBeans
      1. 8.3.1. How do I do that?
      2. 8.3.2. What just happened?
    4. 8.4. Monitoring MBeans
      1. 8.4.1. How do I do that?
      2. 8.4.2. What just happened?
    5. 8.5. Creating a Snapshot
      1. 8.5.1. How do I do that?
    6. 8.6. Creating a Monitor
      1. 8.6.1. How do I do that?
      2. 8.6.2. What just happened?
    7. 8.7. Creating an Email Alert
      1. 8.7.1. How do I do that?
      2. 8.7.2. What just happened?
    8. 8.8. Managing JBoss from the Command Line
      1. 8.8.1. How do I do that?
      2. 8.8.2. What just happened?
  13. 9. Rolling Out JBoss
    1. 9.1. Securing the Management Consoles
      1. 9.1.1. How do I do that?
      2. 9.1.2. What just happened?
    2. 9.2. Securing the JMX Invoker
      1. 9.2.1. How do I do that?
      2. 9.2.2. What just happened?
    3. 9.3. Removing the HTTP Invokers
      1. 9.3.1. How do I do that?
    4. 9.4. Configuring the JMS Invokers
      1. 9.4.1. How do I do that?
      2. 9.4.2. What just happened?
    5. 9.5. Removing Hypersonic
      1. 9.5.1. How do I do that?
      2. 9.5.2. What just happened?
    6. 9.6. Configuring Tomcat Connectors
      1. 9.6.1. How do I do that?
      2. 9.6.2. What just happened?
      3. 9.6.3. What about...
    7. 9.7. Setting a Root Web Application
      1. 9.7.1. How do I do that?
      2. 9.7.2. What just happened?
    8. 9.8. Removing the Class Download Service
      1. 9.8.1. How do I do that?
      2. 9.8.2. What just happened?
  14. About the Authors
  15. Copyright

Product information

  • Title: JBoss: A Developer's Notebook
  • Author(s): Norman Richards, Sam Griffith
  • Release date: June 2005
  • Publisher(s): O'Reilly Media, Inc.
  • ISBN: 9780596100070