|
From: Christophe Hartwig-P. <chr...@re...> - 2003-11-03 08:59:46
|
Hi all, I've been thinking more about it this week end... Here is a new approach to the problem: There is no specification in J2EE concerning messages that should get out of the system. JMS only concerns sending messages reliably to a queue. Even JMS bridges simply allow sending messages to a queue and forwarding to an external queue (JSM to Tibco bridge for instance)... There is no way to take JSM messages out ! What we need is a JMS postoffice ! That's why the match between JMS and ebXML is not easy : ebXML is a distribution (in the sense of mail distribution) protocol. What would be cool is to think in terms of an ebXML postoffice. When you want to send snail mail, you post your letter in a mailbox, except this mailbox is then emptied by the postman, and the mail is dispatched. Internal mail (in a company) does not go through a postoffice, you put the letter in you recepient's mailbox : that's JMS... ebXML actually determines the distribution : to whom should the messages be delivered, should a receipt be expected, should the message be signed, should the message use the HTTP or SMTP path (remember the AirMail stickers on letters ?), should a return address be used for replying, etc... I like this approach because : - everybody now understands the difference between JMS and ebXML goals - the need for ebXML is obvious - the lack of an existing standard is obvious too - the mismatch of JAXM and these goals is obvious (because JAXM does not try to play this postoffice role, does not have postoffice semantics) - the fact that JMS and ebXML are related is clear : JMS is for posting the letter, ebXML is sending it in the right place. ebXML is receiving the mail from the postoffice, JSM is for opening and reading the letter... - CPAs are used to tell the postoffice what it should do, how the message can reach its recepient, etc... Do you like it this way ? I like the idea of a JSR... Because ebXML is now different than JMS (but related to it!), is not about reliable messaging, but about inter-system reliable routing and sending of messages... This is a functional area not yet covered by other Java specifications, so there should be some place for it... Note that there are JSRs related to CPPs/CPAs already... I'm eager to hear your opinion ! Bye Chris --------------------------------------------------------------------- Christophe HARTWIG - Interface Technologies cha...@re... 17, avenue Andre Roussin http://www.reservit.com ZAC de Saumaty-Seon Tel : + 33 4 91 03 64 90 13016 MARSEILLE - FRANCE Fax : + 33 4 91 03 64 92 --------------------------------------------------------------------- |