Joel Riedesel wrote:
>
> Ok. I've done a bunch more reading and have a very rudimentary
> understanding of J2EE, Connector, JMS, and EJB (2.0).
>
> I really want an Entity Bean that can participate in a publish
> subscribe model. The idea put forth here was to wrap it in a
> Message Driven Bean. Yet Message Driven Beans are completely
> anonymous. So, that seems like it won't work directly.
>
> Does this mean that I'd have to put data in my JMS message about
> the entity bean I really want to deal with and then have the
> anonymous message driven bean lookup that entity bean and basically
> act as a proxy for it?
Yes, that is what I had in mind. Seems to me it would give you the caching you
need and the pub-sub mechanism you need in a single architecture exploiting J2EE
technologies appropriately.
> [Suppose I have a calcluate entity bean. Different 'instances' of this
> calculate bean calculate different functions. I want to send a message
> to one of them that some input data that they use changed so that it
> can re-calculate. Thus, these calculate beans are subscribed to topics
> that correspond to the input data that they need - yet another matter, can
> one dynamically create topics in JMS?]
>
> That's all that comes to mind so far for using JMS in the EJB enviornment
> for what I'd like. I'd appreciate any other thoughts (or concurrence).
>
> So much for obvious simplicity! <grin>
Well I expressed the idea in 30 words or less well enough so that you got it!
Can't have been THAT complex!
cheers... Ian
========================================
Ian McCallion
Alexis Systems Limited
Romsey, UK
========================================
===========================================================================
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".