By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,767 Members | 1,987 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,767 IT Pros & Developers. It's quick & easy.

communicating with Java (from Python)

P: n/a

Hi,

I want to communicate my Python application with the Java one.
The most obvious choice is XML-RPC, but ... I wonder about something
more pythonic and powerful, like pyro.

Could you suggest something?

Using Jython to be able to use pyro is not technically feasible.

.... A scientist builds in order to learn; an engineer learns in order to
build.
-- FRED BROOKS
Jul 18 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Max Ischenko <ma*@ucmg.com.ua.remove.it> writes:
Hi,

I want to communicate my Python application with the Java one.
The most obvious choice is XML-RPC, but ... I wonder about something
more pythonic and powerful, like pyro.

Could you suggest something?

Using Jython to be able to use pyro is not technically feasible.

... A scientist builds in order to learn; an engineer learns in order
to build.
-- FRED BROOKS


There was a thread to this topic a few weeks ago and XML-RPC came up
as the best bet, even for on-the-same-box communication.

I'd really like to try JPE:
http://jpe.sourceforge.net/
When I tried to run it, I couldn't get the pieces to compile (it's
been a while so I don't remember details).

--
ha************@boeing.com
6-6M31 Knowledge Management
Phone: (425) 342-5601
Jul 18 '05 #2

P: n/a
> I want to communicate my Python application with the Java one.
The most obvious choice is XML-RPC, but ... I wonder about something
more pythonic and powerful, like pyro.

Could you suggest something?

Using Jython to be able to use pyro is not technically feasible.


I know some work has been done porting twisted's perspective broker
(PB) to java. That could be an interesting way to go.

Jul 18 '05 #3

P: n/a
Harry George wrote:
I want to communicate my Python application with the Java one.
The most obvious choice is XML-RPC, but ... I wonder about something
more pythonic and powerful, like pyro.

There was a thread to this topic a few weeks ago and XML-RPC came up
as the best bet, even for on-the-same-box communication.


OK, thanks.
Jul 18 '05 #4

P: n/a
In article <c0**********@hyppo.gu.net>,
Max Ischenko <ma*@ucmg.com.ua.remove.it> wrote:
I want to communicate my Python application with the Java one.
The most obvious choice is XML-RPC, but ... I wonder about something
more pythonic and powerful, like pyro.


Depending on how complex your problem is, CORBA may be a sensible
choice. If your communication needs map easily to XML-RPC, I'd go with
that. On the other hand, if you find yourself having to explicitly
manage lots of state, to make up for the lack of objects in an RPC
system, CORBA is a good choice. It is a full object oriented system
like pyro, just standardised and cross platform.

Cheers,

Duncan.

--
-- Duncan Grisby --
-- du****@grisby.org --
-- http://www.grisby.org --
Jul 18 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.