Hello,
is there a possibility to connect to RMI Middleware from Python or
alternativ to Java?
--
Mit freundlichen Grüßen / best regards
Birgit Rahm 4 9619
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
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
In article <bn************ @ID-111250.news.uni-berlin.de>,
Diez B. Roggisch <no**********@w eb.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.o rg --
-- http://www.grisby.org --
> 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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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
(http://starship.python.net/crew/mike/Idle/). This went fine and I
ran the "Install Tix into Python" option at the end of the
installation, with the target Python installation being the Python 2.2
I just mentioned. I also ran the "Run Tix...
|
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 of C++ - i think
they are the single strong benefit of a strongly typed system. I was
wondering about the possibility of implementing STL-like algorithms in
Python and the one thing that I cannot think of doing without a kludge
is the object...
|
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, because my reply to "Partitions of an Integer" contained two
little mistakes, which I wanted to correct in a followup...) I've never had
this before mail.python.org switched to XS4ALL...
If any of the mail admins happen to be reading this, it'd...
|
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:
http://www.microsoft.com/technet/scriptcenter/scripts/python/misc/wmi/defau
lt.mspx
With comment: Sample scripts for retrieving WMI configuration information.
|
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 must 2.4 as it is the last
PythonCE release with great improvements).
But I've been stuck with a script wich does not work as expected once
translated to python, 2.4
| |
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 topic:
http://groups.google.com/group/comp.lang.python/browse_thread/thread/14b5b084ebbcdc0e/b1788afc3150d280?lnk=st&q=python+EOF+perl&rnum=2&hl=en#b1788afc3150d280
|
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 Microsoft Visual
C++ 2003 is allowed to redistribute msvcr71.dll. Without a license for
Microsoft Visual C++ 2003 one it not allowed to redistribute this DLL.
This has some interesting implications:
** If you don't have Microsoft Visual C++...
|
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 a linux/unix command line guy quite experienced in shell scripts
etc. I have a heap of command line utility scripts which I run directly.
What is the best way to create python command line scripts but exploit
the (loadonly) speed-up benefit of...
|
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 language that is good at parsing text to convert
it into a mutt alias file. There are better ways to use Mutt with Mac's
addressbook, but I want to be able to periodically convert my working
addressbook file into an alias file I can then transfer...
|
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)
return s
def descrambleLine(line):
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |