JBoss : A Developer's Notebook

Norman Richards, Sam Griffith

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

買這商品的人也買了...

商品描述

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.

 

 

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

Index

商品描述(中文翻譯)

描述:
JBoss並不平凡。六年前開始的一個開源EJB容器項目,現在已經成為一個完全認證的J2EE 1.4應用服務器,擁有最大的市場份額,在功能和質量上與專有的Java應用服務器競爭。而且,由於其動態架構,JBoss不僅僅是一個J2EE服務器。您可以修改服務以使J2EE按照您的要求工作,甚至完全放棄J2EE。

在超過一百萬次的下載之後,許多JBoss用戶不再僅僅在內部測試環境中試用它,而是在生產機器上部署它。《JBoss:開發者筆記本》以一種非常獨特的方式帶您完整地了解JBoss:不是長篇討論,而是大量的代碼。事實上,這本書是一個由實踐實驗室組成的集合,逐步介紹了關鍵的JBoss功能。您不僅僅閱讀關於JBoss的內容,還通過直接的實際應用來學習它。這包括探索服務器的許多配置:從簡單應用程序的基本功能,到輕量級的J2EE配置,再到JBoss所提供的一切,包括Hibernate和Tomcat。

《JBoss:開發者筆記本》還介紹了管理控制台、Web服務消息功能、增強的監控能力,並向您展示如何提高性能。在每個實驗室的結尾,您會找到一個名為“關於...的問題”的部分,預測並回答可能的後續問題,以及一個指向文章和其他資源的部分,如果您需要更多信息。

JBoss真的是一個非凡的應用服務器。而我們有一種非凡的方式讓您學習它。

目錄:
開發者筆記本系列
第1章 安裝和運行JBoss
- 安裝服務器
- 啟動JBoss
- 檢查服務器(JMX控制台)
- 關閉服務器
- 指定服務器配置
- 創建新配置

第2章 在JBoss上部署應用程序
- 獲取Ant
- 創建和打包應用程序
- 運行應用程序
- 修改已部署的應用程序
- 展開部署
- 在管理控制台上查看應用程序
- 卸載應用程序

第3章 創建完整的應用程序
- 構建EJB層
- 使用XDoclet構建Web層
- 定義用戶
- 部署應用程序
- 檢查數據庫

第4章 連接到真實數據庫
- &```