hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David J. M. Karlsen" <da...@davidkarlsen.com>
Subject got the ejbproxy to work now
Date Wed, 03 Nov 2004 13:35:03 GMT
<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


Mime
View raw message