JBoss at Work: A Practical Guide: A Practical Guide and over one million other books are available for Amazon Kindle. Learn more


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Kindle Edition
 
   
More Buying Choices
Have one to sell? Sell yours here
JBoss at Work: A Practical Guide
 
 
Start reading JBoss at Work: A Practical Guide: A Practical Guide on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

JBoss at Work: A Practical Guide [Paperback]

Tom Marrs (Author), Scott Davis (Author)
4.3 out of 5 stars  See all reviews (38 customer reviews)

List Price: $34.95
Price: $23.65 & eligible for FREE Super Saver Shipping on orders over $25. Details
You Save: $11.30 (32%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it delivered Tuesday, February 14? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for students on millions of items. Learn more

Formats

Amazon Price New from Used from
Kindle Edition $15.39  
Paperback $23.65  
Like this book? Find similar titles in the O'Reilly Bookstore.

Book Description

November 1, 2005 0596007345 978-0596007348

Consisting of a number of well-known open source products, JBoss is more a family of interrelated services than a single monolithic application. But, as with any tool that's as feature-rich as JBoss, there are number of pitfalls and complexities, too.

Most developers struggle with the same issues when deploying J2EE applications on JBoss: they have trouble getting the many J2EE and JBoss deployment descriptors to work together; they have difficulty finding out how to get started; their projects don't have a packaging and deployment strategy that grows with the application; or, they find the Class Loaders confusing and don't know how to use them, which can cause problems.

JBoss at Work: A Practical Guide helps developers overcome these challenges. As you work through the book, you'll build a project using extensive code examples. You'll delve into all the major facets of J2EE application deployment on JBoss, including JSPs, Servlets, EJBs, JMS, JNDI, web services, JavaMail, JDBC, and Hibernate. With the help of this book, you'll:

  • Implement a full J2EE application and deploy it on JBoss
  • Discover how to use the latest features of JBoss 4 and J2EE 1.4, including J2EE-compliant web services
  • Master J2EE application deployment on JBoss with EARs, WARs, and EJB JARs
  • Understand the core J2EE deployment descriptors and how they integrate with JBoss-specific descriptors
  • Base your security strategy on JAAS

Written for Java developers who want to use JBoss on their projects, the book covers the gamut of deploying J2EE technologies on JBoss, providing a brief survey of each subject aimed at the working professional with limited time.

If you're one of the legions of developers who have decided to give JBoss a try, then JBoss at Work: A Practical Guide is your next logical purchase. It'll show you in plain language how to use the fastest growing open source tool in the industry today. If you've worked with JBoss before, this book will get you up to speed on JBoss 4, JBoss WS (web services), and Hibernate 3.


Frequently Bought Together

Customers buy this book with JBoss: A Developer's Notebook $21.77

JBoss at Work: A Practical Guide + JBoss: A Developer's Notebook
  • This item: JBoss at Work: A Practical Guide

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details

  • JBoss: A Developer's Notebook

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details


Customers Who Bought This Item Also Bought


Editorial Reviews

About the Author

Tom Marrs, a 20 year veteran in the software industry, is the principal and senior software architect at Vertical Slice, a consulting firm that designs and implements mission-critical business applications using the latest J2EE and open source technologies. Tom speaks regularly at software conferences such as JavaOne and No Fluff Just Stuff. He is an active participant in the local technical community, and served as president of the Denver Java Users Group.

Scott Davis is a senior software engineer and instructor in the Denver, Colorado area. He has worked on a variety of Java platforms, from J2EE to J2SE to J2ME (sometimes all on the same project). He is a frequent presenter at national conferences and local user groups. He was the president of the Denver Java Users Group in 2003 when it was voted one of the top ten JUGs in North America.


Product Details

  • Paperback: 312 pages
  • Publisher: O'Reilly Media (November 1, 2005)
  • Language: English
  • ISBN-10: 0596007345
  • ISBN-13: 978-0596007348
  • Product Dimensions: 9.2 x 7 x 0.7 inches
  • Shipping Weight: 1.1 pounds (View shipping rates and policies)
  • Average Customer Review: 4.3 out of 5 stars  See all reviews (38 customer reviews)
  • Amazon Best Sellers Rank: #278,256 in Books (See Top 100 in Books)

More About the Authors

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

38 Reviews
5 star:
 (27)
4 star:
 (5)
3 star:    (0)
2 star:
 (3)
1 star:
 (3)
 
 
 
 
 
Average Customer Review
4.3 out of 5 stars (38 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

17 of 17 people found the following review helpful:
5.0 out of 5 stars This book truly is a practical guide, March 21, 2006
This review is from: JBoss at Work: A Practical Guide (Paperback)
The subtitle for this book is "A Practical Guide." That subtitle is perfect. This is one of the most immediately useful and practical books I've read in a long time. I began using JBoss at the same time I started reading this book and I appreciated that the book started out with the relatively simple task of getting JBoss installed. However, while the book starts at an introductory level it doesn't stay there. It progresses through more advanced topics such as JMS, JavaMail, JAAS, and Web Services.

The writing is clear and enjoyable throughout. An extended example of a car dealer carries forward throughout the book. This helps the concepts fit together and build upon one another. JBoss at Work is highly informative and, as its subtitle promises, a practical guide. I highly recommend it.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


14 of 14 people found the following review helpful:
5.0 out of 5 stars Excellent practical guide to JBoss and J2EE, June 21, 2006
This review is from: JBoss at Work: A Practical Guide (Paperback)
J2EE started out as a specification that left the implementation to each container vendor. It's readily apparent that two of the earliest vendors, WebSphere and WebLogic, implemented J2EE in vastly different ways. As a result, early books on J2EE or Enterprise JavaBeans (EJB) frequently either avoided or severely limited the discussion of a specific server because the details were better referenced from server vendors' manuals. JBoss changed that picture. It is an open source Java-based application server which is freely downloadable, plus it is a certified J2EE server.

"JBoss at Work: A Practical Guide", aims to provide practical examples for using JBoss by showing a practical and complete example of a web application running on JBoss. The "JAW Motors" application supports a fictitious automobile dealership. Each chapter progressively adds a new J2EE technology that solves a specific business problem. Viewing cars on a website involves JSP pages and some form of persistence (JDBC or Hibernate). Performing a credit check sends a JMS message and an email response using JavaMail. Purchasing a car requires the transactional support of Stateless Session Beans. Sharing data from the JAW Motors inventory with other dealerships involves setting up Web Services, and so on. The authors' hope is that a coherent business application in action will hopefully give you a clearer idea of how the various layers interact, as opposed to a series of disjointed "Hello World" examples exercising each layer in isolation, and I think their concept worked out very well.

The security portion of the book's example web application makes use of JAAS (Java Authentication & Authorization Service), which enables an application to protect its resources by restricting access to only users with proper credentials and permissions. It is a standard extension in J2SE 1.4, but is not yet widely understood. Thus, one of the appendices is devoted to a tutorial on its use, which I found very helpful.

The authors assume that you're experienced in programming with the Java language and are familiar with Open Source tools such as Ant and XDoclet. They show how to download and install them, and they also provide Ant scripts for compiling and deploying the "JAW Motors" application. If you're new to J2EE, this book serves as a gentle introduction, but don't mistake it for a true J2EE reference manual. I found this book immensely helpful and clear and highly recommend it to anyone who wants to get to work quickly using JBoss as an application server. The table of contents is as follows:

1. GETTING STARTED WITH JBOSS
Why "JBoss at Work"?; Why JBoss?; The Example: JAW Motors; The Tools; Installing JBoss; Deploying Applications to JBoss; Looking Ahead;

2. WEB APPLICATIONS
The Servlet Container; Three-Tier Applications; Exploring the Presentation Tier; Building the View Cars Page; Adding a Model and Controller; Looking Ahead;

3. BUILDING AND DEPLOYING AN EAR
WARs Versus EARs; Application.xml; Common JAR; Deploying the EAR; Adding a DAO; Using XDoclet; Looking Ahead;

4. DATABASES AND JBOSS
Persistence Options; JDBC; JNDI; JNDI References in web.xml; JBoss DataSource Descriptors; JDBC Driver JARs; Database Checklist; Accessing the Database Using Ant; Creating JDBCCarDAO; Looking Ahead;

5. HIBERNATE AND JBOSS
The Pros and Cons of ORMs; Hibernate Mapping Files; Hibernate MBean Service Descriptor; Creating a HAR; Adding the HAR to the EAR; Creating a JNDI lookup; Hibernate Checklist; HibernateCarDAO; Adding a Car; Editing a Car; Deleting a Car; Looking Ahead;

6. STATELESS SESSION BEANS
Issues with EJBs; Should I Use EJB or Not?; Business Tier; Enterprise JavaBeans; Our Example; Iteration 1-Introduce a Session Bean; Calling the Session Bean from the Controller Servlet; EJB-Based JNDI References in Web-Based Deployment; Descriptors; Session Bean Types; Session Beans; Remote Versus Local EJB Calls; Local and Remote Interfaces; Home Interfaces; Reviewing Iteration 1; Testing Iteration 1; Iteration 2-Move Business Logic Out of the Controller; Reviewing Iteration 2; Testing Iteration 2; Iteration 3-Buy a Car; The AccountingDTO; Developing the HibernateAccountingDAO; Adding buyCar( ) to the InventoryFacadeBean; Reviewing Iteration 3; Testing Iteration 3; Final Thoughts on Session Beans; Looking Ahead;

7. JAVA MESSAGE SERVICE (JMS) AND MESSAGE-DRIVEN BEANS
Sending Messages with JMS; Upgrade the Site: Running a Credit Check; JMS Architecture Overview; JMS Messaging Models; Creating a Message; Sending the Message; Core JMS API; Sending a JMS Message; JMS-Based JNDI References in Web-Based Deployment; Descriptors; Deploying JMS Destinations on JBoss; JMS Checklist; Message-Driven Beans (MDBs); MDB Checklist; Testing the Credit Check; Looking Ahead;

8. JAVAMAIL
Running a Credit Check; Sending Email Messages with JavaMail; Upgrading the MDB to Send an Email Message; Sending an Email Message; JavaMail-Based JNDI References in EJB Deployment; Descriptors; Automating JavaMail-Based JNDI References with XDoclet; Deploying JavaMail on JBoss; JavaMail Checklist; Testing the Credit Check Notification Email; Looking Ahead;

9. SECURITY
J2EE Security; Web-Based Security; Restricting Access with web.xml; JAAS; Deploying a JAAS-Based Security Realm on JBoss; Testing Secure JSPs; Protecting the Administrative Actions; Web Security Checklist; Integrating Web Tier and EJB Tier Security; EJB Security; EJB Security Checklist; Looking Ahead;

10. WEB SERVICES
Web Services Architecture; JBoss 4.x and Web Services; J2EE 1.4 and Web Services; Implementing J2EE 1.4 Web Services; Service Endpoint Interface (SEI); Modifying ejb-jar.xml; webservices.xml; JAX-RPC Mapping File; WSDL File; Set the Web Service URL; Modifying the InventoryFacadeBean EJB; Web Services Deployment; Automating Web Services Deployment; J2EE Web Services Checklist; Testing Web Services Deployment; Web Services Client; Implementing a Web Service Client; Web Service Client Checklist; Testing the Web Service Client; Final Thoughts on J2EE 1.4 Web Services; Conclusion;



Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


17 of 21 people found the following review helpful:
1.0 out of 5 stars A disappointing JBoss book, December 26, 2005
By 
J. Zhang (Fairfax, VA USA) - See all my reviews
(REAL NAME)   
Amazon Verified Purchase(What's this?)
This review is from: JBoss at Work: A Practical Guide (Paperback)
I was looking for a guide for JBoss application server from a beginer's point of view (I have been working with Weblogic for several years but not JBoss) and bought this book since it was rated so high. However, after I finished reading the book, I felt very disappointed since this book talks so little for JBoss! Instead, it puts most of the content on J2EE programming, how to develop 3-tier application, and MVC framework etc. I am not buying this book to learn J2EE techniques!!! What I want to know is how JBoss is managing all its services, how to config different settings, what logging mechanisms are provided (general, JDBC, http, etc.), or how to tune the performance of a JBoss server. Unfortunately, thost topics are either just mentioned slightly (like logging in appendix B), or not there at all.

In summary, if you are a beginner for J2EE and want to start your development with JBoss, this book might be good for you. Don't expect to find more information of JBoss from it! I am a fan of O'Reilly books, but this one is not one of them!
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



Inside This Book (learn more)
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
controller servlet, service endpoint interface, session factory, home interfaces, connection factory, declarative security, message producer, digest authentication, remote interface, custom data type objects, credit verification service, persistence tier, endpoint interface, web deployment descriptors, assumed prefix, ear file, web tier, programming artifacts, delete cars, new directory structure, scriptlet code, administrative pages, custom data types, session bean, type ant
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Web Service, Run Credit Check, Message-Driven Beans, Java Message Service, Car Inventory, Buy Car, Looking Ahead, Mon Mar, Model Year, View Inventory, Getting Started, Container-Managed Transactions, Security Example, Submit Credit Info, Business Logic Out of the Controller, Service Locator, Modify Inventory, Add Car, Testing Secure, Building the View Cars Page, Reviewing Iteration, Verifying Credit, Domain Settings, Local Home, Testing Iteration
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:

What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(10)
(8)
(5)
(4)
(3)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...



Look for Similar Items by Category


Look for Similar Items by Subject