aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes JMS  question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "JMS  question" Watch "JMS  question" New topic
Author

JMS question

Timber Lee
Ranch Hand

Joined: Oct 14, 2002
Posts: 157
which of following are not suitable for jms?
1.transaction
2.security


SCJP<br />SCWCD<br />SCEA
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
Depending on the context, I would say both could be suitable.
Naichen Liu
Ranch Hand

Joined: Aug 17, 2000
Posts: 46
For security, answer is not suitable, here is the quote from JMS1.02 Spec section 2.7
"JMS does not provide features for controlling or configuring message integrity or message privacy. It is expected that many JMS providers will provide such features. It is also expected that configuration of these services will be handled by provider-specific administration tools. Clients will get the proper security configuration as part of the administered objects they use."
For transaction, I am not sure, since JMS has a concept of "transacted session" which "groups a set of produced messages and a set of consumed messages into an atomic unit of work."
but in Spec section 1.4.4
"A JMS client may use JTA to delimit distributed transactions; however, this is a function of the transaction environment the client is running in. It is not a feature of JMS per se."
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
Originally posted by Naichen Liu:
For security, answer is not suitable

JMS is just as secure as anything else... which is as secure as you make it. There is nothing in JMS that is inheritantly insecure and not suitable for secure communications.
Is EJB "secure"? Is IIOP "secure"? The answer is: not by and of themselves. Of course, EJB and IIOP can be secured with the help of other technologies... so can JMS.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JMS question