JBoss : A Developer's Notebook

Norman Richards, Sam Griffith

  • 出版商: O'Reilly
  • 出版日期: 2005-07-19
  • 定價: $1,180
  • 售價: 6.0$708
  • 語言: 英文
  • 頁數: 176
  • 裝訂: Paperback
  • ISBN: 0596100078
  • ISBN-13: 9780596100070
  • 相關分類: Java 相關技術
  • 立即出貨




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.



Table of Contents:

The Developer's Notebook Series

Chapter 1. Installing and Running JBoss

     Installing the Server

     Starting Up JBoss

     Examining the Server (JMX Console)

     Shutting Down the Server

     Specifying a Server Configuration

     Creating a New Configuration

Chapter 2. Deploying an Application on JBoss

     Getting Ant

     Creating and Packaging the Application

     Running the Application

     Modifying the Deployed Application

     Exploding Deployments

     Viewing the Application on the Management Console

     Uninstalling the Application

Chapter 3. Creating a Complete Application

     Building the EJB Tier

     Using XDoclet to Build the Web Tier

     Defining Users

     Deploying the Application

     Examining the Database

Chapter 4. Connecting to a Real Database

     Setting Up MySQL

     Adding the JDBC Driver

     Creating a Datasource

     Linking the Datasource to Our Application

     Monitoring the Connection Pool

Chapter 5. Applying Security

     Defining a Security Domain

     Using a Relational Database for Users

     Using Hashed Passwords

     Using an LDAP Server for Users

     Stacking Login Modules

     Enabling SSL

Chapter 6. Logging

     Configuring log4j

     Adding a Logging Category

     Configuring the Log Format

     Creating a New Logfile

     Rolling Logfiles

     Adjusting Logging from the JMX Console

     HTTP Access Logs

     Logging Generated SQL for CMP

Chapter 7. Configuring Persistence

     Managing Schema

     Mapping Objects

     Mapping Relations

     Adding Audit Data

     Generating Primary Keys

Chapter 8. Managing and Monitoring JBoss

     Starting the Web Console

     Monitoring Your Application

     Working with MBeans

     Monitoring MBeans

     Creating a Snapshot

     Creating a Monitor

     Creating an Email Alert

     Managing JBoss from the Command Line

Chapter 9. Rolling Out JBoss

     Securing the Management Consoles

     Securing the JMX Invoker

     Removing the HTTP Invokers

     Configuring the JMS Invokers

     Removing Hypersonic

     Configuring Tomcat Connectors

     Setting a Root Web Application

     Removing the Class Download Service