Location:  Home » Books » JBoss at Work: A Practical Guide    
Subcategories
Paperback
Mass Market
Trade

JBoss at Work: A Practical Guide

JBoss at Work: A Practical GuideAuthors: Tom Marrs, Scott Davis
Publisher: O'Reilly Media
Category: Book

List Price: $34.95
Buy Used: $6.89
as of 9/10/2010 10:44 CDT details
You Save: $28.06 (80%)

In Stock


New (27) Used (27) from $6.89

Seller: aurigadistributionservices
Rating: 4.5 out of 5 stars 37 reviews
Sales Rank: 82,098

Media: Paperback
Pages: 312
Number Of Items: 1
Shipping Weight (lbs): 1.1
Dimensions (in): 9.1 x 7 x 1

ISBN: 0596007345
Dewey Decimal Number: 005.133
EAN: 9780596007348
ASIN: 0596007345

Publication Date: November 1, 2005
Availability: Usually ships in 1-2 business days

Also Available In:

  • Kindle Edition - JBoss at Work: A Practical Guide

Similar Items:


Editorial Reviews:

Product Description

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.




Customer Reviews:
Showing reviews 1-5 of 37
1 2 3 4 5 6 ...8Next »



5 out of 5 stars This book truly is a practical guide   March 21, 2006
Michael Cohn (Lafayette, CO USA)
15 out of 15 found this review helpful

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.



5 out of 5 stars Excellent practical guide to JBoss and J2EE   June 21, 2006
calvinnme
12 out of 12 found this review helpful

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;






5 out of 5 stars Excellent, practical guide to modern J2EE development   January 4, 2006
Kenneth A. Kousen (Marlborough, CT USA)
4 out of 4 found this review helpful

I saw this book unexpectedly in a bookstore, sat down in the cafe to skim it, and wound up engrossed. It has since jumped to the top of my favorite development book list.

I teach software development for a living. I've never encountered a better demonstration of how all the pieces of J2EE fit together in a coherent application, all the while guiding the reader through the relevant architectural issues. I love the way it builds from a simple servlet/JSP app up through Hibernate, EJBs, JMS, JavaMail, and even web services. The book is witty and literate, and, to top it all off, the writers can code.

The fact that JBoss is in the title has caused some reviewers to focus on that aspect of the book, but in reality JBoss is just used as the free application server of choice. The book could just as easily have been called J2EE Development with Hibernate, XDoclet, and Ant on JBoss. Rather than worry about the details of all the specifications, the book concentrates on getting them to work together and demonstrate their capabilities.

I really enjoyed the book and highly recommend it for anyone trying to increase their server-side Java capabilities.



5 out of 5 stars Very Practical   April 5, 2006
DP (Alexandria, VA)
4 out of 4 found this review helpful

This is probably the most practical book there is out there on the subject of JBoss. Some other books are basically a re-print of on line information.

If you are especially a new JBoss user this book is for you. The on line documentation seems to be too advanced for beginners.

That doesn't mean that this book only covers the basic. Once you go through this book you'll have a solid foundation for the basics and some of the advanced topics as well.

I think the authors did a great job. And it is true that they did their best to respond should you have questions.



5 out of 5 stars Excellent Book   February 9, 2006
Michael R. Hudson (Calgary, Cananda)
3 out of 3 found this review helpful

Just wanted to say that if you are looking for a book on J2EE and/or Jboss then this is the book for you. I have bought several books on J2EE and all of them had issues, such as: Not being clean, examples not working, steps skipped, etc..

This book did everything right. It takes one project and runs with it, slowly adding new technologies and showing you how to refactor it (which is a real-world possibility). It explains the technologies used and includes the 'when' and 'why'.

It also introduces and uses some of the best 3rd party OpenSource tools (Ant/XDoclet/Hibernate) out there to help simplify the build/deployment process, which I loved!

This has been one of the best books I have ever bought, and I own many.

As a bonus when I had a question the Authors replied with an answer in a timely manner which is rare.


Showing reviews 1-5 of 37
1 2 3 4 5 6 ...8Next »



Copyright © 2009 Webmaster Tips and Information
ejb  hibernate  j2ee  java  jboss