| |
| |
"Preface | |
| |
| |
| |
Getting Started with JBoss Why ""JBoss at Work""? | |
| |
| |
Why JBoss? The Example: JAW Motors | |
| |
| |
The Tools Installing JBoss Deploying Applications to JBoss Looking Ahead | |
| |
| |
| |
Web Applications | |
| |
| |
The Servlet Container Three-Tier Applications | |
| |
| |
Exploring the Presentation Tier Building the View Cars | |
| |
| |
Page Adding a Model and Controller Looking Ahead | |
| |
| |
| |
Building and Deploying an EAR WARs Versus EARs Application.xml | |
| |
| |
Common JAR Deploying the EAR Adding a DAO Using XDoclet Looking Ahead | |
| |
| |
| |
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 | |
| |
| |
| |
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 | |
| |
| |
| |
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 Accounting | |
| |
| |
DTO Developing the Hibernate | |
| |
| |
Accounting | |
| |
| |
DAO Adding buyCar( ) to the Inventory | |
| |
| |
Fa�adeBean Reviewing Iteration 3 Testing Iteration 3 Final Thoughts on Session Beans Looking Ahead . . . | |
| |
| |
| |
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 . . . | |
| |
| |
| |
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 . . . | |
| |
| |
| |
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 . . . | |
| |
| |
| |
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 Inventory | |
| |
| |
FacadeBean 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 Congratulations! | |
| |
| |
| |
ClassLoaders and JBoss | |
| |
| |
| |
Logging and JBoss | |
| |
| |
| |
JAAS Tutorial | |
| |
| |
Index" | |