|
From: Patrick Y. <kc...@ce...> - 2003-07-10 09:25:03
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html;charset=3DUTF-8"=
>
<title></title>
</head>
<body text=3D"#000000" bgcolor=3D"#ffffff">
Thanks for your effort ... yes, if we have an example, it is easier for
us to evaluate the mechanism. <br>
Cheers, -Patrick<br>
<br>
<br>
Ronald van Kuijk wrote:<br>
<blockquote type=3D"cite"
cite=3D"mid...@po...">
<meta http-equiv=3D"Content-Type" content=3D"text/html; ">
<title></title>
<meta content=3D"MSHTML 5.50.4916.2300" name=3D"GENERATOR">
<div><span class=3D"301411608-10072003"><font face=3D"Arial"
color=3D"#0000ff" size=3D"2">not only lookup the url, but find the
corresponding class as well. But I agree, if it becomes to complicated
don't use it. Therefor i'll try to create a small example over the
weekend.</font></span></div>
<div>=C2=A0</div>
<div><span class=3D"301411608-10072003"><font face=3D"Arial"
color=3D"#0000ff" size=3D"2">Should it be able to run in a servlet engin=
e?
Good question. Answer could be yes, but otoh if additional freatures
that are already part of j2ee are 'rebuild'</font></span></div>
<div><span class=3D"301411608-10072003"><font face=3D"Arial"
color=3D"#0000ff" size=3D"2">- queue's</font></span></div>
<div><span class=3D"301411608-10072003"><font face=3D"Arial"
color=3D"#0000ff" size=3D"2">- transactions</font></span></div>
<div><span class=3D"301411608-10072003"><font face=3D"Arial"
color=3D"#0000ff" size=3D"2">- connection pools</font></span></div>
<div><span class=3D"301411608-10072003"><font face=3D"Arial"
color=3D"#0000ff" size=3D"2">- ...</font></span></div>
<div>=C2=A0</div>
<div><span class=3D"301411608-10072003"><font face=3D"Arial"
color=3D"#0000ff" size=3D"2">If it is done with hooks, both could be use=
d,
the hermes-custom-build transactions/pools or those that are already in
a j2ee server. I don't know. </font></span><span
class=3D"301411608-10072003"><font face=3D"Arial" color=3D"#0000ff" size=
=3D"2">Even
tomcat already supports connectionpools, and to some extend
transactions.</font></span></div>
<div>=C2=A0</div>
<div><span class=3D"301411608-10072003"><font face=3D"Arial"
color=3D"#0000ff" size=3D"2">I'll try to draw up a picture as well and p=
ut
in on the wiki site. I'll try to summarize these discussions as wel
(busy weekend)</font></span></div>
<div>=C2=A0</div>
<div><span class=3D"301411608-10072003"><font face=3D"Arial"
color=3D"#0000ff" size=3D"2">Ronald</font></span></div>
<div><font face=3D"Tahoma"><br>
<font size=3D"2">-----Oorspronkelijk bericht-----<br>
<b>Van:</b> Patrick Yee [<a class=3D"moz-txt-link-freetext" href=3D"mai=
lto:kc...@ce...">mailto:kc...@ce...</a>]<br>
<b>Verzonden:</b> donderdag 10 juli 2003 10:03<br>
<b>Aan:</b> <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:ebxmlm=
s-d...@li...">ebx...@li...</a=
><br>
<b>Onderwerp:</b> Re: [ebxmlms-develop] Hermes 1.0 (JMS delivery)<br>
<br>
</font></font></div>
<blockquote
style=3D"border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margi=
n-left: 5px;">On
the second thought... are we sure to introduce JNDI lookup even we just
want to lookup a HTTP URL? Using JNDI to lookup JMS location makes
sense, this is a common practice as far as I know. But, is it too heavy
to introduce a JNDI provider if the role of the JNDI is just to lookup
a simple URL?<br>
<br>
One of the "features" of Hermes is that it can run on a simple servlet
engine. Is it desirable to keep that feature?<br>
<br>
Cheers, -Patrick<br>
<br>
<br>
Ronald van Kuijk wrote:<br>
<blockquote
cite=3D"mid...@po..."
type=3D"cite">
<meta content=3D"MSHTML 5.50.4916.2300" name=3D"GENERATOR">
<style></style>
<div><span class=3D"381441121-09072003"><font face=3D"Arial"
color=3D"#0000ff" size=3D"2">Great, but the file and url providers could
be implemented in the same way. </font></span></div>
<div>=C2=A0</div>
<div><span class=3D"381441121-09072003"><font face=3D"Arial"
color=3D"#0000ff" size=3D"2">Use a jndi lookup to find a 'server-side
delivery provider' which knows how and where to read it's own
properties.=C2=A0The url is a property of this provider, just like the jm=
s
server, factory, username's, passwords, certificates=C2=A0etc. (in any mi=
x).
Dynamic registration could follow the same lines.</font></span></div>
<div>=C2=A0</div>
<div><span class=3D"381441121-09072003"><font face=3D"Arial"
color=3D"#0000ff" size=3D"2">URL and File are just=C2=A0pre-packaged cus=
tom
delivery options</font></span></div>
<div>=C2=A0</div>
<div><span class=3D"381441121-09072003"><font face=3D"Arial"
color=3D"#0000ff" size=3D"2">Ronald</font></span></div>
<div>=C2=A0</div>
<div>=C2=A0</div>
<div>=C2=A0</div>
<blockquote dir=3D"ltr"
style=3D"border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margi=
n-left: 5px; margin-right: 0px;">
<div class=3D"OutlookMessageHeader" dir=3D"ltr" align=3D"left"><f=
ont
face=3D"Tahoma" size=3D"2">-----Oorspronkelijk bericht-----<br>
<b>Van:</b> Patrick Yee [<a class=3D"moz-txt-link-freetext"
href=3D"mailto:kc...@ce...">mailto:kc...@ce...</a>]<br>
<b>Verzonden:</b> woensdag 9 juli 2003 15:07<br>
<b>Aan:</b> <a class=3D"moz-txt-link-abbreviated"
href=3D"mailto:ebx...@li...">ebxmlms-develop@li=
sts.sourceforge.net</a><br>
<b>Onderwerp:</b> Re: [ebxmlms-develop] Hermes 1.0 (JMS
delivery)<br>
<br>
</font></div>
<div><font face=3D"Arial" size=3D"2">Agreed with JNDI contexts.
That's why I propose to use a Properties object. My proposal is: we
provide hook for a client to specify which server side delivery hook to
be used. To specify, the client specify the class name of the hook,
together with a Properties object for configuration like JNDI contexts.
Hermes can then initialize the class using the Properties object in
server side. When an incoming message arrives, the onMessage() method
of that class will be called to delivery the message.</font></div>
<div>=C2=A0</div>
<div><font face=3D"Arial" size=3D"2">This proposal is what I call=
ed
"customized server side delivery".</font></div>
<div>=C2=A0</div>
<div><font face=3D"Arial" size=3D"2">Regards, -Patrick</font></di=
v>
<div>=C2=A0</div>
<blockquote dir=3D"ltr"
style=3D"border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; paddin=
g-left: 5px; margin-left: 5px; margin-right: 0px;">
<div
style=3D"font-family: arial; font-style: normal; font-variant: normal; f=
ont-weight: normal; font-size: 10pt; line-height: normal; font-stretch: n=
ormal; font-size-adjust: none;">-----
Original Message ----- </div>
<div
style=3D"background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz-=
background-clip: initial; -moz-background-inline-policy: initial; -moz-ba=
ckground-origin: initial; font-family: arial; font-style: normal; font-va=
riant: normal; font-weight: normal; font-size: 10pt; line-height: normal;=
font-stretch: normal; font-size-adjust: none;"><b>From:</b>
<a title=3D"rv...@ab..." href=3D"mailto:rv...@ab...">Rona=
ld
van Kuijk</a> </div>
<div
style=3D"font-family: arial; font-style: normal; font-variant: normal; f=
ont-weight: normal; font-size: 10pt; line-height: normal; font-stretch: n=
ormal; font-size-adjust: none;"><b>To:</b>
<a title=3D"ebx...@li..."
href=3D"mailto:%27e...@li...%27">'ebxmlms-dev=
el...@li...'</a>
</div>
<div
style=3D"font-family: arial; font-style: normal; font-variant: normal; f=
ont-weight: normal; font-size: 10pt; line-height: normal; font-stretch: n=
ormal; font-size-adjust: none;"><b>Sent:</b>
Wednesday, July 09, 2003 07:00 PM</div>
<div
style=3D"font-family: arial; font-style: normal; font-variant: normal; f=
ont-weight: normal; font-size: 10pt; line-height: normal; font-stretch: n=
ormal; font-size-adjust: none;"><b>Subject:</b>
RE: [ebxmlms-develop] Hermes 1.0 (JMS delivery)</div>
<div><br>
</div>
<div><span class=3D"328575010-09072003"><font face=3D"Arial"
color=3D"#0000ff" size=3D"2">don't use url's but an alternative method
(jndi contexts?)=C2=A0The can be used for filesystem etc. as well.</font>=
</span></div>
<div>=C2=A0</div>
<div><span class=3D"328575010-09072003"><font face=3D"Arial"
color=3D"#0000ff" size=3D"2">A client registers which jndi name has to b=
e
used by the server to lookup the component for delivery.</font></span></d=
iv>
<div>=C2=A0</div>
<div><span class=3D"328575010-09072003"><font face=3D"Arial"
color=3D"#0000ff" size=3D"2">Ronald</font></span></div>
<blockquote
style=3D"border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margi=
n-left: 5px;">
<div class=3D"OutlookMessageHeader" dir=3D"ltr" align=3D"left=
"><font
face=3D"Tahoma" size=3D"2">-----Oorspronkelijk bericht-----<br>
<b>Van:</b> Patrick Yee [<a class=3D"moz-txt-link-freetext"
href=3D"mailto:kc...@ce...">mailto:kc...@ce...</a>]<br>
<b>Verzonden:</b> woensdag 9 juli 2003 12:30<br>
<b>Aan:</b> <a
href=3D"mailto:ebx...@li...">ebxmlms-develop@li=
sts.sourceforge.net</a><br>
<b>Onderwerp:</b> Re: [ebxmlms-develop] Hermes 1.0 (JMS
delivery)<br>
<br>
</font></div>
How to specify the JMS destination in the form of a URL, if the single
server-side mode only provides an interface for specifying a URL?<br>
Regards, -Patrick<br>
<br>
<br>
Mayne, Peter wrote:<br>
<blockquote
cite=3D"mid...@s-...=
m.au"
type=3D"cite">
<meta content=3D"MSHTML 6.00.2800.1141" name=3D"GENERATOR">
<div><font size=3D"2"><font color=3D"#0000ff"><span
class=3D"361055900-09072003"><font face=3D"Arial" color=3D"#000000" size=
=3D"2">(Server
side delivery mode)</font></span></font></font></div>
<div>=C2=A0</div>
<div><font size=3D"2"><font color=3D"#0000ff"><font
face=3D"Arial">- Shouldn't all (server side ones) implement the same
interface<span class=3D"361055900-09072003"> </span></font></font><font
face=3D"Arial"><font color=3D"#0000ff">(onMessage()?) and File and URL
just be some de</font><font color=3D"#0000ff">fault included<span
class=3D"361055900-09072003"> </span></font></font></font><font
face=3D"Arial" color=3D"#0000ff" size=3D"2">implementations? (Isn't this
also a 'hook'?)</font></div>
<div>=C2=A0</div>
<div><span class=3D"361055900-09072003"><font face=3D"Arial=
"
size=3D"2">I was thinking exactly the same thing. :-) There should be
only one server-side=C2=A0mode, with a trusted repository and URL redirec=
t
provided as implementations of that mode. If "customised mode" isn't
good enough to implement trusted repository or URL redirect, then it
probably isn't good enough for much else either.</font></span></div>
<font color=3D"#0000ff" size=3D"2"><font face=3D"Arial"
color=3D"#0000ff" size=3D"2">
<p align=3D"left">I'd vote for a jms implementation to and
volunteer to implement one</p>
</font></font>
<div><font face=3D"Arial" size=3D"2"><span
class=3D"361055900-09072003">I've done a JMS implementation, which is
what sparked some of the discussion about delivery modes. However,
including it with Hermes may be problematic: since JMS isn't part of
the standard JRE, it would not be possible to build Hermes unless you
had a JMS implementation. Maybe we could have a "contributions" library.<=
/span></font></div>
<div>=C2=A0</div>
</blockquote>
------------------------------------------------------- This SF.Net
email sponsored by: Parasoft Error proof Web apps, automate testing
& more. Download & eval WebKing and get a free book. <a
class=3D"moz-txt-link-abbreviated"
href=3D"http://www.parasoft.com/bulletproofapps">www.parasoft.com/bullet=
proofapps</a>
_______________________________________________ ebxmlms-develop mailing
list <a class=3D"moz-txt-link-abbreviated"
href=3D"mailto:ebx...@li...">ebxmlms-develop@li=
sts.sourceforge.net</a>
<a class=3D"moz-txt-link-freetext"
href=3D"https://lists.sourceforge.net/lists/listinfo/ebxmlms-develop">ht=
tps://lists.sourceforge.net/lists/listinfo/ebxmlms-develop</a></blockquot=
e>
</blockquote>
</blockquote>
</blockquote>
------------------------------------------------------- This SF.Net
email sponsored by: Parasoft Error proof Web apps, automate testing
& more. Download & eval WebKing and get a free book.
<a class=3D"moz-txt-link-abbreviated" href=3D"http://www.parasoft.com/bul=
letproofapps">www.parasoft.com/bulletproofapps</a>
_______________________________________________ ebxmlms-develop mailing
list <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:ebxmlms-develop=
@lists.sourceforge.net">ebx...@li...</a>
<a class=3D"moz-txt-link-freetext" href=3D"https://lists.sourceforge.net/=
lists/listinfo/ebxmlms-develop">https://lists.sourceforge.net/lists/listi=
nfo/ebxmlms-develop</a></blockquote>
</blockquote>
</body>
</html>
|