You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hivemind.apache.org by "David J. M. Karlsen" <da...@davidkarlsen.com> on 2004/11/03 14:35:03 UTC

got the ejbproxy to work now

<module id="com.mypackage" version="1.0.0">
         <service-point id="SessionFacade" 
interface="com.mypackage.SessionFacade">
         <invoke-factory service-id="hivemind.lib.EJBProxyFactory">
                 <construct
                 home-interface="com.mypackage.SessionFacadeHome"
                 jndi-name="ejb/com.mypackage/SessionFacadeHome"/>
         </invoke-factory>
         </service-point>
</module>


for the interested.

The client simply does a:

SessionFacade sf = (SessionFacade) 
registry.getService(SessionFacade.class);

to obtain the component interface now - clean and mean.

But still, I think HM would achive success [a lot earlier] if the 
documentation was better, providing a complete and common example - 
showing how all the parts relate.


David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.com

---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-user-help@jakarta.apache.org


Re: got the ejbproxy to work now

Posted by Howard Lewis Ship <hl...@gmail.com>.
Documentation is very hard; I've been concentrating on keeping the
documentation accurate.

Because HiveMind has a Wiki, you don't have to wait for approval to
start improving the documentation!


On Wed, 3 Nov 2004 14:35:03 +0100 (CET), David J. M. Karlsen
<da...@davidkarlsen.com> wrote:
> <module id="com.mypackage" version="1.0.0">
>          <service-point id="SessionFacade"
> interface="com.mypackage.SessionFacade">
>          <invoke-factory service-id="hivemind.lib.EJBProxyFactory">
>                  <construct
>                  home-interface="com.mypackage.SessionFacadeHome"
>                  jndi-name="ejb/com.mypackage/SessionFacadeHome"/>
>          </invoke-factory>
>          </service-point>
> </module>
> 
> for the interested.
> 
> The client simply does a:
> 
> SessionFacade sf = (SessionFacade)
> registry.getService(SessionFacade.class);
> 
> to obtain the component interface now - clean and mean.
> 
> But still, I think HM would achive success [a lot earlier] if the
> documentation was better, providing a complete and common example -
> showing how all the parts relate.
> 
> David J. M. Karlsen - +47 90 68 22 43
> http://www.davidkarlsen.com
> http://mp3.davidkarlsen.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: hivemind-user-help@jakarta.apache.org
> 
> 


-- 
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-user-help@jakarta.apache.org