hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johan Lindquist" <jo...@kawoo.co.uk>
Subject Re: EJB proxy
Date Wed, 03 Nov 2004 13:16:10 GMT
Hi,

I am not that familiar with the EJBProxyFactory, but I noticed that the  
interface attribute value has 2 dots in it - a possible typo or?

Also, the service point you should be asking the registry for is  
"com.mypackage.func.SessionFacade" - the module id + the service point id.

Hope that helps,

Johan

On Wed, 3 Nov 2004 13:59:00 +0100 (CET), David J. M. Karlsen  
<david@davidkarlsen.com> wrote:

> 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
>
>



-- 
you too?

---------------------------------------------------------------------
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