[JBoss-user] [Beginners Corner] - Re: JBoss as a RMI Server

2005-12-13 Thread chris.mag
It did!
Thanks a lot for your reply!
Now I need to dig a bit deeper to see how to set that up at deployement time 
(for now, I've just tested from the Duke's Bank Sample client app, by launching 
the configuration of my server app via a call to a StatelessSessionBean...)
Thanks again
Cheers
Chris


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3912287#3912287

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3912287


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - JBoss as a RMI Server

2005-12-09 Thread chris.mag
Hi, 
I'm really new to JBoss and would really appreciate any help on this...

Following lies some details but my real question is :
How to set up a couple of plain old RMI Remote object available through a 
lookup (be it rmi registery or JNDI?)

First of all some background information:
I'm trying to port our current project to JBoss for:
1- commercial reasons (ie we *have to* use an application server anyway)
2- be able to benefit mostly from the persistence framework and other cool 
stuff (but that's for later)

The current application is a swing-based and connects to the serverside via RMI.
There are 4 RMI RemoteObjects registered in the RMI Registery (these could be 
considered as stateless), one of them providing methods to return some other 
Remote objects ( these not beeing registered in the RMI registery and could be 
considered as statefull).

I haven't found how to expose the 4 RMI RemoteObject in the RMI registery from 
JBoss.
So if there is a way of doing it, I'd greatly appreciate if someone could point 
me to how to do it.

We're are not really willing to use EJB, nor SessionBeans if we can keep away 
from the J2EE stack, by using simple POJOs. (Actually, all of our remote 
objects are enhanced at run-time by CGLib (FYI) )

Then, I thought that I could declare the 4 RMI RemoteObject (the ones that are 
exposed in the RMI registery) as StatelessSessionBeans and live with it 
happilly. 
Unfortunately, JBoss won't allow me to declare a method returning a Remote 
object (not an EJB, just a plain RMI Remote object). (I guess that it would 
prevent the container to handle the Remote object )

So the question really is: 
How to set up a couple of plain old RMI Remote object available through a 
lookup (be it rmi registery or JNDI?)

Thanks in advance for any help
Cheers
Chris


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3911695#3911695

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911695


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user