Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

To JBoss At Work authors

 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

Thanks
Chulwoo
 
Author
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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).

Tom
 
My name is Inigo Montoya, you killed my father, prepare to read a tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic