> Hi!
>
> "Lahooti, Hamid" wrote:
> > >EJB/JMS integration is unspecified, but nothing prevents you
> from making
> > >a simple proxy that delegates incoming JMS messages to beans. And then
> > >you would communicate with the bean through the EJBObject, which would
> > >give the behaviour Bernd outlined (as the proxy is only
> > >yet-another-client).
> >
> > There is a design fault with this approach IMO. You are moving what is
> > essentially infrastructure server/side functionality out of the
> middle tier
> > and making it client's responsibility and introducing unnecessary
> > dependencies in the process.
>
> Indeed. This is a temporary fix until EJB/JMS integration is specified
> formally. But until that is specified, this is a rather ok solution
> which gives you much flexibility with minimal hassles (I think).
>
> What solution would you propose instead? You can't say that a solution
> is bad and show a better one ;-)
>
> BTW, it is not the clients responsibility, but the application/bean
> developers. Also, what unnecessary dependencies are you referring to?
> The beans are not reliant on the proxies. The only one that knows of
> them at all is the "installer" which registers them as JMS-listeners.

The only real problem with this solution is that you have to rely on
vendor-specific "startups" for making the proxy subscribe to the connection
at server-startup. But one only has to write minimal vendor-specific code.

We're going for this solution. But I honestly can't wait for the EJB-JMS
integration being specified.
BEGIN:VCARD
VERSION:2.1
N:Tirsén;Jon;;;
FN:Jon Tirsén
ORG:Itec;
TITLE:Chief Architect
TEL;WORK;VOICE:+46 (8) 343431
TEL;CELL;VOICE:+46 (709) 306109
TEL;WORK;FAX:+46 (8) 343438
ADR;WORK:;;Box 23049;Stockholm;;104 35;Sweden
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Box 23049=0D=0AStockholm 104 35=0D=0ASweden
ADR;POSTAL:;;Ynglingagatan 17;Stockholm;;104 35;Sweden
LABEL;POSTAL;ENCODING=QUOTED-PRINTABLE:Ynglingagatan 17=0D=0AStockholm,  104 35=0D=0ASweden
URL:
URL:http://www.itec.se
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
EMAIL;INTERNET:[EMAIL PROTECTED]
REV:19990417T134712Z
END:VCARD

Reply via email to