File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes To JBoss At Work authors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "To JBoss At Work authors" Watch "To JBoss At Work authors" New topic

To JBoss At Work authors

Chulwoo Choi
Ranch Hand

Joined: Apr 11, 2005
Posts: 65
Hello authors,

Couple of questions.
What version of JBoss did you use for your book's examples?
(4.0.1, 4.0.3??)
Do you discuss some of EJB 2.1 features in the book?
For, e.g., using the session bean as a web service provider and/or client, etc.

Tom Marrs
Ranch Hand

Joined: Sep 20, 2000
Posts: 67
We used JBoss 4.0.2 because of its full support for Hibernate 3.x.

Since the EJB 2.1-style Entity Bean model is gone as of EJB 3.0, we didn't cover Entity Beans. We felt that covering Hibernate was sufficient for this because EJB 3.0-style Entity Beans will look very similar to Hibernate Persistent classes.

We did cover EJB 2.1 Stateless Session Beans (SLSBs) and Message-Driven Beans (MDBs). We show the bean code and interfaces along with the J2EE and JBoss deployment descriptors. We also talk about when to use EJBs and when not to use them. We cover CMT-style transactions, too. Since there are so many programming artifacts, we use XDoclet to the generate the SLSB's Home and Component Interfaces along with the deployment descriptors. For JMS, we show how to write a client, an MDB, and an MBean descriptor for the JMS Queue.

In the Web Services chapter, we show how to expose one of the Stateless Session Bean's methods as a Web Service. We show all the artifacts (Service Endpoint Interface, webservices.xml, WSDL, and so on), and then we show how to automate/streamline the deployment process with Ant, XDoclet, and wscompile (from JWSDP).

It is sorta covered in the JavaRanch Style Guide.
subject: To JBoss At Work authors
It's not a secret anymore!