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 EJB proxy
Date Wed, 03 Nov 2004 12:59:00 GMT
As the documentation is very lacking, I'll have to ask on the list:

I'm trying to receive the component interface for a remote stateless bean 
through HiveMind.

The client-code:

SessionFacade sf = (SessionFacade)
 	registry.getService("com.mypackage.SessionFacade",
 	SessionFacade.class);


The descriptor:

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



but this only results in:
General exception: Unable to construct service 
com.mypackage.SessionFacade: Index: 0, Size: 0


what's wrong?

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