From: Attila S. <sze...@fr...> - 2003-06-19 08:46:05
|
Frankly, my experience has been that when you have Java on both sides of the socket, then using RMI is a better idea than coding up your own socket communication. You needn't deal with your own custom written low-level protocol layered upon TCP. You continue working with objects. The code remains much more maintainable. Attila. ----- Original Message ----- From: "Jonathan Simon" <jon...@ya...> To: "Jeff Emanuel" <JEm...@lg...>; "'Kay'" <ka...@gm...>; "jython-users" <jyt...@li...> Sent: Thursday, June 19, 2003 1:38 AM Subject: RE: [Jython-users] Get access to objects in other JVMs ? > You can also open up a port on the machine and communicate that way... > -jonathan > > > --- Jeff Emanuel <JEm...@lg...> wrote: > > > > Here are two ways you might be able to do it: > > > > 1) If the other program is an RMI server, you can connect > > to it as you would from any other Java program. > > > > 2) If the other program is running in debug mode, then > > you can connect to it via the Java Debug Interface. > > > > > > > > > -----Original Message----- > > > From: Kay [mailto:ka...@gm...] > > > Sent: Wednesday, June 18, 2003 3:10 PM > > > To: jython-users > > > Subject: [Jython-users] Get access to objects in other JVMs ? > > > > > > > > > Hello! > > > > > > It's possible to get access to java-programs/objects, which are > > > already running in another Java-Virtual-Machine(same client)? > > > I'm using jython-interpreter in the 'inspector'-application. > > > > > > For example: > > > > > > * A java-program 'A' is started an running in the JVM. > > > * Now I start my program with embeded jython-interpreter > > > and get acces to objects in program 'A' > > > > > > Is this possible? I don't know how to manage it. > > > > > > Regards, > > > Kay > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: INetU > > > Attention Web Developers & Consultants: Become An INetU > > > Hosting Partner. > > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly > > > Commission! > > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > > _______________________________________________ > > > Jython-users mailing list > > > Jyt...@li... > > > https://lists.sourceforge.net/lists/listinfo/jython-users > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: INetU > > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > _______________________________________________ > > Jython-users mailing list > > Jyt...@li... > > https://lists.sourceforge.net/lists/listinfo/jython-users > > > ===== > Jonathan Simon > Home - 732.777.0377 <----------- New!!! > Work - 646.674.2060 > Cell - 732.718.8844 > Music - www.mp3.com/jonathan_simon > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users > > > |