Specific performance question - Python vs. Java

2006-05-19 Thread reinsn
Hi, I have got a specific question on performance: Is the overhead of object creation in Python lower than in Java? I mean, I would argue, in Java by object creation, the complete class is the model and all methods and attributes are generated for the object. In Python, methods and objects are onl

Other languages for PVM

2006-03-15 Thread reinsn
Hi, I am cuurently working with Python and the PVM. I found that there is something interesting like Jython, which allows to compile python source code in *.class file. What I am looking for, are languages for the Python Virtual Machine, which means, languages that could be compiled to the Python b

Implement EJBs in Python/Jython

2006-03-13 Thread reinsn
Hi, I'd like to know, if it's possible to implement EJB bean classes in Python. I mean, Jython provides to possible to create *.class files from python modules. How must my python module look like to create a valid enterprise bean class from it. Thanks in advance, -- http://mail.python.org/mail

How to dervie from an instance object?

2006-03-09 Thread reinsn
Hi, I am currently working with ZopeX3. Because python doesn't include concept of interfaces, those were defined by the module zope.interface. So interfaces were defined like: class IMyInterface(zope.interface.Interface): . I have looked into the module zope.interface and found, that zo