I.T. Discussion Community!
-Collapse +Expand
Search Java Group:

-Collapse +Expand Java To/From
-Collapse +Expand Java Store

Prestwood eMagazine

July Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyJava BoardJ2EE Topic   Print This     

JMS and EJB Integration

JMS and EJB Integration in J2EE topic (part of our Java group).

Quick Search: Integration   JMS EJB   JMS EJB Integration  
Most Recent Post
Deleted Member
I have been very confused about the inclusion of JMS as part of the J2EE API.
Given the Synchronous Nature of all calls to EJB's as well as the constraints mandating that the EJB container delegate all calls to the bean I was unable to comprehend how an EJB could react to an asynchronous mesage.

An EJB could publish a message, but how could a message be mapped to a method invocation of an EJB.

I have thought of many "hacks" or workarounds and I actually came to the
conclusion that a new type of bean would have to be supported. After reaching this conclusion I did find some supporting evidence in the JMS specification v1.2.

"JMS will be an important resource available to EJB component developers. It can be used in conjunction with other resources like JDBC to implement enterprise services.

The current EJB specification defines beans that are invoked synchronously via method calls from EJB clients. A future release of EJB will add a form of asynchronous bean that is invoked when a JMS client sends it a message. "
 Posted 20 years ago (Thread Starter)
Comment Quote
About deleted_member -Collapse +Expand
Visit Profile
Inactive member.
Member does not subscribe to this thread.
Email Not Verified!
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #61, No Replies Be the first!
Thread Started 11/4/2000 8:50:00 AM
View Counter=10133
Location=-- USA 
Joined=13 years ago   MB Posts=184  

Revive Thread!

Add a comment to revive this old thread and make this archived thread more useful.

Write a Comment...
Full Editor
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.

Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P173A1
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #61 Counter
Since 4/2/2008

Follow PrestwoodBoards on: 

©1995-2020 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech