0

Python vs Jython performance

asked 2013-02-26 10:42:10 +0800

anismouali gravatar image anismouali
18

Hi, I am doing a technical study about a software. I am checking articles on combining ZK with Python or Jython, I am not expert on both technologies, so could you help me please to know:

1- What should I useto improve performance, Jython or Python ? 2- combining with this language, does we really need to use ZK 6 EE ? what is the advantages, specially when we will not use many frameworks like Spring....?

Thanks

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-02-26 11:09:08 +0800

Bobzk gravatar image Bobzk
444 1 8

Hi,

First of all as ZK, tomcat, jetty, etc etc are all based around JAVA therefore you should use Jython. In fact I don't think you can use straight Python.

But don't get confused, Jython is Python. It is just that Jython interprets/compiles you Python code into Java classes for execution using a Java Virtual Machine.

You don't need ZK EE edition. Jython works fine with the Community edition. You should use the latest ZK though, so 6.5 is best.

You don't need Spring or any other framework. Of course you can use if you need.

Suggest you look at my Small Talk link text that will show you a complete example.

Note that even though the Small Talk says it works with ZK 3.6, it all works with any version of ZK from 3.6 to 6.5.

We have a number of production sites running that are based on ZK 6.5, Jython and Tomcat. Performance is fine and development time is reduced by (in our estimation) 25%-50% compared to using Java.

Bobzk

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2013-02-26 10:42:10 +0800

Seen: 15 times

Last updated: Feb 26 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More