473,385 Members | 1,838 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.

Python <-> Java RMI

Hello,
is there a possibility to connect to RMI Middleware from Python or
alternativ to Java?

--

Mit freundlichen Grüßen / best regards
Birgit Rahm

Jul 18 '05 #1
4 9580
Birgit Rahm wrote:
is there a possibility to connect to RMI Middleware from Python or
alternativ to Java?


As far as I know, "yes but" only with Jython, not with CPython.
Alex

Jul 18 '05 #2
Hi,
is there a possibility to connect to RMI Middleware from Python or
alternativ to Java?


As Alex mentioned, jython works (very well, indeed). However, all
standarized RPC methods should work. For example SOAP and CORBA (fnorb is
usable for python, but I didn't check that out for 2 years now).

AFAIK RMI and CORBA want to converge, so maybe there is a slim chance of RMI
exposed services beeing callable by CORBA-clients, and thus python. But I
wouldn't bet on that.

Diez
Jul 18 '05 #3
In article <bn************@ID-111250.news.uni-berlin.de>,
Diez B. Roggisch <no**********@web.de> wrote:
As Alex mentioned, jython works (very well, indeed). However, all
standarized RPC methods should work. For example SOAP and CORBA (fnorb is
usable for python, but I didn't check that out for 2 years now).

AFAIK RMI and CORBA want to converge, so maybe there is a slim chance of RMI
exposed services beeing callable by CORBA-clients, and thus python. But I
wouldn't bet on that.


CORBA clients can, in theory, connect to RMI servers, but there are
two problems. First, RMI over IIOP requires CORBA valuetypes, and
none of the Python CORBA implementations support valuetypes yet. The
current development version of omniORBpy does support valuetypes, but
it hasn't been tested with RMI yet.

The other problem is that the mapping from RMI interfaces to CORBA is
unpleasant in the extreme, and very difficult to program with.

By far the best option is to use CORBA directly at the Java level.

Cheers,

Duncan.

--
-- Duncan Grisby --
-- du****@grisby.org --
-- http://www.grisby.org --
Jul 18 '05 #4
> By far the best option is to use CORBA directly at the Java level.

Unfortunatly, I have only the RMI Middleware presented by an existing
server. I only write on the client program. Most of the classes are written
in Python (before I knew, that I have to connect to RMI). So that I had to
find now a way to connect.
Birgit
Jul 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Josh | last post by:
I've been trying to get Tix running with Python on Windows. Since there is no binary distributions of Tix for Windows, it seems the easiest way to install Tix is through IDiscovery's IDEStudio 1.9...
11
by: Maxim Khesin | last post by:
Hi, being recently introduced to the joys of programming in a powerful dynamic language (go snake!) I periodically rethink which parts of C++ I still miss. One thing I really enjoy is the generics...
0
by: Heiko Wundram | last post by:
Hi all, esp. list admins! Why is it that I always get bounces saying my mails have suspicious headers lately when I post to python-list? This only happens when I reply to myself (as I just did,...
0
by: Harald Massa | last post by:
I upgraded Python to 2.4 now the game really starts, looking all over the internet for all the packages ... I needed Tim Goldens WMI ... and googeld, dropping there: ...
6
by: Gonzalo Monzón | last post by:
Hi all! I have been translating some Python custom C extension code into Python, as I need these modules to be portable and run on a PocketPC without the need of compile (for the purpose its a...
1
by: yichun.wei | last post by:
Perl has the ability to do the following: print <<EOF; ...reams of text goes here... EOF Is there a Python equivalent of the above Perl code? This thread has previous discussion on the...
7
by: sturlamolden | last post by:
On Windows, the standard Python 2.4 distro is compiled with Microsoft Visual C++ 2003 and is shipped with msvcr71.dll as a part of the binary installer. That is ok, as those who has a license for...
24
by: Mark | last post by:
Hi, I'm new to python and looking for a better idiom to use for the manner I have been organising my python scripts. I've googled all over the place about this but found absolutely nothing. I'm...
4
by: R Wood | last post by:
Greetings - A recent Perl experiment hasn't turned out so well, which has piqued my interest in Python. The project is this: take a Vcard file exported from Apple's Addressbook and use a...
23
by: Python Maniac | last post by:
I am new to Python however I would like some feedback from those who know more about Python than I do at this time. def scrambleLine(line): s = '' for c in line: s += chr(ord(c) | 0x80)...
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.