users@glassfish.java.net

start RMI registry in glassfish ?

From: <glassfish_at_javadesktop.org>
Date: Mon, 04 May 2009 23:24:05 PDT

Does glassfish has some sttings for starting a rmi registry ?

The only way i succeed doing this was using spring :

"<bean id="rmi.Registry" class="org.springframework.remoting.rmi.RmiRegistryFactoryBean">
                <property name="port" value="1099" />
        </bean>

        <bean id="rmiServiceExporter" class="org.springframework.remoting.rmi.RmiServiceExporter">
                <property name="serviceName" value="RemoteService" />
                <property name="serviceInterface" value="core.service.RemoteService" />
                <property name="service" ref="remoteService" />
                <property name="registry" ref="rmi.Registry" />
        </bean>

[b]If i do not want to use spring how this can be done easier using glassfish?[/b]
[Message sent by forum member 'csergiu77' (csergiu77)]

http://forums.java.net/jive/thread.jspa?messageID=344985