| Author |
JMS without reference to EJB
|
HS Thomas
Ranch Hand
Joined: May 15, 2002
Posts: 3404
|
|
What is the best thing to come out of JMS without refeence to EJB or JDO's or POJOs. I suspect Message driven beans ? Anything else ? Thanks in advance. regards
|
 |
Lasse Koskela
author
Sheriff
Joined: Jan 23, 2002
Posts: 11962
|
|
|
To come out of JMS? Whaddaya mean, pardner?
|
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
|
 |
Vinod John
Ranch Hand
Joined: Jun 23, 2003
Posts: 162
|
|
Originally posted by HS Thomas: What is the best thing to come out of JMS without refeence to EJB or JDO's or POJOs. I suspect Message driven beans ? Anything else ?
If your are talking about the messages the are sent/received to/from message queue using JMS API, then the basic requirement is all those messages should implement javax.jms.Message interface. or if you are talking about the message listeners, that recieve the message. Then the client (listener) should implement MessageListener ... it could be a EJB (i mean MDB) or just a normal java class. Did I answer your question ?
|
 |
Vinod John
Ranch Hand
Joined: Jun 23, 2003
Posts: 162
|
|
Sorry multiple submission ... [ October 29, 2003: Message edited by: Vinod John ]
|
 |
HS Thomas
Ranch Hand
Joined: May 15, 2002
Posts: 3404
|
|
Lasse : Whaddaya mean, pardner?
Well speaking to my old boss (who is actually very young and is now back on the mothership) , he is now working with JMS with no EJBs. Are MDBs the only thing of importance in JMX? I assume the package is written in such a way that it is decouplable ? I can look at the JMS package and see how MQ-Series interfaces with it I suppose. Vinod John : Yes that helps enormously. regards
|
 |
Lasse Koskela
author
Sheriff
Joined: Jan 23, 2002
Posts: 11962
|
|
Originally posted by HS Thomas: Are MDBs the only thing of importance in JMX?
Sorry about still not giving any answers, but... I suspect "JMX" was a typo and meant to say "JMS", right? Furthermore, importance from what/whose perspective?
|
 |
HS Thomas
Ranch Hand
Joined: May 15, 2002
Posts: 3404
|
|
Ummm. That's right. Message driven beans seem to be the Hub of JMS. Perhaps I can use MDBs with Lotus Notes / MQ-Series and don't need to take anything else from JMS ? regards
|
 |
Lasse Koskela
author
Sheriff
Joined: Jan 23, 2002
Posts: 11962
|
|
|
You can definitely have your MDBs wired to an MQSeries (WebSphere MQ). For Lotus Notes, I have no idea.
|
 |
HS Thomas
Ranch Hand
Joined: May 15, 2002
Posts: 3404
|
|
Thanks ! I am sure you can use it with Lotus Notes also. I just can't find anything. It's probably not a Big Issue with some clever decoupling. regards
|
 |
Lasse Koskela
author
Sheriff
Joined: Jan 23, 2002
Posts: 11962
|
|
|
Sure anything can be done. I just have a hunch that it requires a lot of "dirty work" to get a group collaboration software (Notes) to talk to message-oriented middleware such as MQ Series.
|
 |
HS Thomas
Ranch Hand
Joined: May 15, 2002
Posts: 3404
|
|
Would Aspects help in that case? regards
|
 |
Lasse Koskela
author
Sheriff
Joined: Jan 23, 2002
Posts: 11962
|
|
Aspects? I doubt it because the problem is not of structure but protocol. I really don't know what kind of programming libraries IBM provides for Notes, but I'd guess that if such a library is available, it's bound to be C/C++, not Java.
|
 |
Kyle Brown
author
Ranch Hand
Joined: Aug 10, 2001
Posts: 3879
|
|
Actually no, we provide Java programming API's for Notes, and full integration with Notes for WebSphere. Do a google or Amazon search for "Domino programming with Java" and you'll find a bunch of hits. Kyle
|
Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
|
 |
HS Thomas
Ranch Hand
Joined: May 15, 2002
Posts: 3404
|
|
Thanks Kyle. That's a good start. regards
|
 |
HS Thomas
Ranch Hand
Joined: May 15, 2002
Posts: 3404
|
|
Aspects? I doubt it because the problem is not of structure but protocol.
Thanks Lasse. . I'll remember to consider protocol first.
|
 |
 |
|
|
subject: JMS without reference to EJB
|
|
|