Jon Tirsen wrote:
> > "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.

Exactly. The bean code should be unchanged. Which is a very important
point IMHO.

It would be possible to have a separate "bootup"-app which does these
registrations. This would be fully portable between the different
vendors.

> We're going for this solution. But I honestly can't wait for the EJB-JMS
> integration being specified.

Ditto.

/R

--
Rickard �berg

@home: +46 13 177937
Email: [EMAIL PROTECTED]
Homepage: http://www-und.ida.liu.se/~ricob684

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to