473,385 Members | 1,872 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

communicating with Java (from Python)


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
4 1614
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
> 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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Dave Brueck | last post by:
Below is some information I collected from a *small* project in which I wrote a Python version of a Java application. I share this info only as a data point (rather than trying to say this data...
2
by: Eric Brunel | last post by:
Hi all, We're trying to communicate with Microsoft Visual C++ 6.0 via COM to make it perform a few operations. Our main need is to set a breakpoint on a given line in a given file. We ended up...
1
by: greg.knaddison | last post by:
Hi, I'm trying to use the httpclient within Jython (see http://jakarta.apache.org/commons/httpclient/ for more information on the httpclient). My Jython version is: Jython 2.1 on...
114
by: Maurice LING | last post by:
This may be a dumb thing to ask, but besides the penalty for dynamic typing, is there any other real reasons that Python is slower than Java? maurice
11
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in...
1
by: valere | last post by:
I look for information for communicating between JavaScript and a native plugin. I noticed that LiveConnect is oriented to communicate as a "bridge" between Java and JS. But how to process with a...
12
by: Mark Fink | last post by:
I wrote a Jython class that inherits from a Java class and (thats the plan) overrides one method. Everything should stay the same. If I run this nothing happens whereas if I run the Java class it...
4
by: Mikael Olofsson | last post by:
I am interested in peoples experience with communicating with DLLs under Linux. Situation: I'm an electrical engineer that finds pleasure in using my soldering iron from time to time. I also...
1
by: Evrim | last post by:
Dear All I am using JDK 6 , Tomcat 6 and Jena 2.5.2. I would like to use javascript on my jsp page to pass the values of text boxes to a java function I have. This java function uses the Jena...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.