> -----Original Message-----
> From: Peter Donald [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 06, 2001 3:28 PM
> To: Avalon Development
> Subject: Re: avalon and soap (+ JMS + JNDI)
>
>
> On Mon,  6 Aug 2001 17:45, Michael Bachran wrote:
> > I wonder if it is easy to make a Avalon component run within Phoenix and
> > within any EJB-Container interchangable by making the component a EJB.
>
> Possible yes ... but I wouldn't advise it ;)
> I would pefer to keep buisness objects as EJBs and other doing
> utilitys as
> Blocks.
>
> > This
> > way using the features of the container for any component.
> > Is there allready a component that works as a 'gateway' to
> > EJB-applications? Or how would I realize an integration into existing
> > EJB-based systems that use anycommercial container.

Ok! So maybe I would implement metadata classes as EJBs ...
What about a locking mechanism in Avalon? Can it be imlemented based of an
object pool?
Or is there already one?

> I don't know the specifics (as I said not an EJB guy really) but
> I believe
> weblogic offers the ability to enter "T3 startup classes" that
> can be mapped
> into JNDI space somehow. (No idea what that means though). There
> is at least
> one group I know of who use parts of Avalon/Phoenix and James in
> this way. I
> don't know the specifics or even if it is a good solution.
>
> Hopefully when the Services JSR actually starts Avalon will also offer

Services JSR? What's that about?

> services using its API and thus be able to be integrated into any
> arbitrary
> EJB container or whatever.
>
> > Am I right that Phoenix (or the Component look up mechanism at all) is
> > using an rmiRegistry for lookup?
>
> nope ;)
> Some blocks *may* be registered with rmi registry if you use JMX
> manager and
> use RMI agent for JMX manager ... but there is nothing that requires it.

Oh! I see! Its based on a HashMap!

>
> > Actually I am more interested in JMS than in EJB. How does JMS
> match with
> > Avalon?
>
> JMS could be integrated with Avalon and work well but isn't at
> the moment. I
> see JMS as no different from other resources (ie see SocketManager, or
> ConnectionManager).
>

So you don't see the neccessity to use it?

> > Does it make sense to use both in an integrated way? JMS seems to
> > have a potential for scalable distributed (server-)applications.
>
> yup.
>
> >But JMS
> > uses JNDI for lookup. And when do I use JMS and when Avalon to do a
> > lookup/kommunication?
>
> I would implement a MessagingManager interface that did all the
> JNDI magic
> behind it and just gave you basic access to
> topics/queues/sessions/whatevers
> via a simple interface.

What about combining the MessagingManager interface with a
JNDIComponentManager (as Jeffs mentioned)?

> >Maybe there might be an interface a block can
> > implement that makes tha block able to send and consume messages?
>
> Probably like ConnectionHandler (consumer of connections) in the
> ConnectionManager setup?

Hmmm... Yes! Maybe a 'DefaultMessagingManager' might become member of a
component that wants to communicate through the MessagingManager Iterface.
I am not sure about the seperation. Maybe I need a JMSConnectionHandler.
Maybe I want two seperate iterfaces for sending and consuming. I don't know
jet.



Thanks for youe feedback,

Michael


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to