when one block want to use other block
service,currently
it using servicemanager passed by serviceable
interface.

when my block dirve other modules, these moudles want
to
use other block's service, my block must pass it's
servicemanager
to these driven modules.

i write a block for jetty, jetty drive a servlet, the
servlet 
want to use other block's service, i must pass jetty
block's 
servicemanager to servlet in servletcontext, then the
servlet
get jetty block's servicemanager from servletcontext
and access
other block's services.

if my block logic complex , i must allways pass the
block's
servicemanagr from here the here.

i write a block for apache axis, axis is a soap
engine, it 
can translate a soap message to a rpc invoking to a
webservice,
the soap engine only translate a soap message to a
webservice 
rpc invoking. my webservice can not get the blocks
servicemanager,
so my webservice lonely and can not get other blocks
help(services).

 --- Stephen McConnell <[EMAIL PROTECTED]>
的正文:> 
> 
> liu jie wrote:
> 
> > i want to use merlin as services server(services
> >container),especially my module will be blocks. my
> >blocks don't want to access(dependency) other
> services
> >using servicemanager but jndi way.
> >
> 
> This is for components inside a servlet ?
> 
> >
> >i saw Peter Donald's excalibur-naming-1.0, i
> suggest
> >plug the jndi MemoryContext  in merlin kernal.
> >
> 
> The approach I've been working on is to embed the
> kernel inside a JNDI 
> implementation.  This will enable full naming and
> directory 
> functionality while maintaining all of the
> publication/isolation 
> features within the merlin system.
> 
> >
> >if my block can access other services using jndi,
> what
> >is the function of servicable interface. 
> >
> 
> They are orthoginal.
> 
> The serviceable interface provides support for a
> container to "push" 
> services to a component.  JNDI provides support for
> an implememntation 
> to "pull" services in based on a standard naming and
> directory structure.
> 
> Cheers, Steve.
> 
> -- 
> 
> Stephen J. McConnell
> mailto:[EMAIL PROTECTED]
> http://www.osm.net
> 
> Sent via James running under Merlin as an NT
> service.
> http://avalon.apache.org/sandbox/merlin
> 
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>  

_________________________________________________________
Do You Yahoo!? 
网恋的诠释:真情还是放纵?
http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.surveys.yahoo.com/netlove

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

Reply via email to