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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-- you too?

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



  • EJB proxy David J. M. Karlsen
    • Johan Lindquist

Reply via email to