Books & Videos

Table of Contents

  1. Chapter 1 Getting Started with JBoss

    1. Why "JBoss at Work"?

    2. Why JBoss?

    3. The Example: JAW Motors

    4. The Tools

    5. Installing JBoss

    6. Deploying Applications to JBoss

    7. Looking Ahead...

  2. Chapter 2 Web Applications

    1. The Servlet Container

    2. Three-Tier Applications

    3. Exploring the Presentation Tier

    4. Building the View Cars Page

    5. Adding a Model and Controller

    6. Looking Ahead...

  3. Chapter 3 Building and Deploying an EAR

    1. WARs Versus EARs

    2. Application.xml

    3. Common JAR

    4. Deploying the EAR

    5. Adding a DAO

    6. Using XDoclet

    7. Looking Ahead...

  4. Chapter 4 Databases and JBoss

    1. Persistence Options

    2. JDBC

    3. JNDI

    4. JNDI References in web.xml

    5. JBoss DataSource Descriptors

    6. JDBC Driver JARs

    7. Database Checklist

    8. Accessing the Database Using Ant

    9. Creating JDBCCarDAO

    10. Looking Ahead...

  5. Chapter 5 Hibernate and JBoss

    1. The Pros and Cons of ORMs

    2. Hibernate Mapping Files

    3. Hibernate MBean Service Descriptor

    4. Creating a HAR

    5. Adding the HAR to the EAR

    6. Creating a JNDI Lookup

    7. Hibernate Checklist

    8. HibernateCarDAO

    9. Adding a Car

    10. Editing a Car

    11. Deleting a Car

    12. Looking Ahead...

  6. Chapter 6 Stateless Session Beans

    1. Issues with EJBs

    2. Should I Use EJB or Not?

    3. Business Tier

    4. Enterprise JavaBeans

    5. Our Example

    6. Iteration 1—Introduce a Session Bean

    7. Calling the Session Bean from the Controller Servlet

    8. EJB-Based JNDI References in Web-Based Deployment Descriptors

    9. Session Bean Types

    10. Session Beans

    11. Remote Versus Local EJB Calls

    12. Local and Remote Interfaces

    13. Home Interfaces

    14. Reviewing Iteration 1

    15. Testing Iteration 1

    16. Iteration 2—Move Business Logic Out of the Controller

    17. Reviewing Iteration 2

    18. Testing Iteration 2

    19. Iteration 3—Buy a Car

    20. The AccountingDTO

    21. Developing the HibernateAccountingDAO

    22. Adding buyCar() to the InventoryFacadeBean

    23. Reviewing Iteration 3

    24. Testing Iteration 3

    25. Final Thoughts on Session Beans

    26. Looking Ahead ...

  7. Chapter 7 Java Message Service (JMS) and Message-Driven Beans

    1. Sending Messages with JMS

    2. Upgrade the Site: Running a Credit Check

    3. JMS Architecture Overview

    4. JMS Messaging Models

    5. Creating a Message

    6. Sending the Message

    7. Core JMS API

    8. Sending a JMS Message

    9. JMS-Based JNDI References in Web-Based Deployment Descriptors

    10. Deploying JMS Destinations on JBoss

    11. JMS Checklist

    12. Message-Driven Beans (MDBs)

    13. MDB Checklist

    14. Testing the Credit Check

    15. Looking Ahead ...

  8. Chapter 8 JavaMail

    1. Running a Credit Check

    2. Sending Email Messages with JavaMail

    3. Upgrading the MDB to Send an Email Message

    4. Sending an Email Message

    5. JavaMail-Based JNDI References in EJB Deployment Descriptors

    6. Automating JavaMail-Based JNDI References with XDoclet

    7. Deploying JavaMail on JBoss

    8. JavaMail Checklist

    9. Testing the Credit Check Notification Email

    10. Looking Ahead ...

  9. Chapter 9 Security

    1. J2EE Security

    2. Web-Based Security

    3. Restricting Access with web.xml

    4. JAAS

    5. Deploying a JAAS-Based Security Realm on JBoss

    6. Testing Secure JSPs

    7. Protecting the Administrative Actions

    8. Web Security Checklist

    9. Integrating Web Tier and EJB Tier Security

    10. EJB Security

    11. EJB Security Checklist

    12. Looking Ahead ...

  10. Chapter 10 Web Services

    1. Web Services Architecture

    2. JBoss 4.x and Web Services

    3. J2EE 1.4 and Web Services

    4. Implementing J2EE 1.4 Web Services

    5. Service Endpoint Interface (SEI)

    6. Modifying ejb-jar.xml

    7. webservices.xml

    8. JAX-RPC Mapping File

    9. WSDL File

    10. Set the Web Service URL

    11. Modifying the InventoryFacadeBean EJB

    12. Web Services Deployment

    13. Automating Web Services Deployment

    14. J2EE Web Services Checklist

    15. Testing Web Services Deployment

    16. Web Services Client

    17. Implementing a Web Service Client

    18. Web Service Client Checklist

    19. Testing the Web Service Client

    20. Final Thoughts on J2EE 1.4 Web Services

    21. Conclusion

    22. Congratulations!

  1. Appendix A ClassLoaders and JBoss

    1. Namespaces

    2. Class Loading in the J2EE

    3. Class Loading with JBoss

    4. Common ClassLoader Issues

    5. ClassLoader Options

    6. Solving ClassLoader Issues

    7. Conclusion

  2. Appendix B Logging and JBoss

    1. Jakarta Commons Logging (JCL) API

    2. Apache Log4J

    3. Adding Application-Specific Properties to System Properties

    4. Configuring Log4J with a Configuration File

    5. Loading Resources from the CLASSPATH

    6. Logging Deployment

    7. Logging Checklist

    8. Testing Logging

    9. Conclusion

  3. Appendix C JAAS Tutorial

    1. JAAS

    2. Client-Side JAAS

    3. Conclusion

  4. Colophon