2006年01月21日 星期六 12:11
这里谁用过JPYPE,我是在潘俊勇的BLOG上看到的,好像在邮件列表或一些论坛上很少听人讲过,基本都是在讲JPYTHON,不过这个开发者已经转到IRONPYTHON那里去了,所以想了解一下JPYPE http://jpype.sourceforge.net/ 好像很不错 JPype - JPype is an effort to allow python programs full access to java class libraries. This is achieved not through re-implementing Python, as Jython/JPython has done, but rather through interfacing at the native level in both Virtual Machines. Eventually, it should be possible to replace Java with python in many, though not all, situations. JSP, Servlets, RMI servers and IDE plugins are good candidates. Once this integration is achieved, a second phase will be started to separate the Java logic from the Python logic, eventually allowing the bridging technology to be used in other environments, I.E. Ruby, Perl, COM, etc ... Why such a project? As much as I enjoy programming in Python, there is no denying that Java has the bulk of the mindshare. Just look on Sourceforge, the are 3267 Python-related projects, and 12126 Java-related projects. And that not counting commercial interests. Server-side Python is also pretty weak. Zope may be a great application server, but I have never been able to figure it out. Java, on the \ other hand, shines on the server. So in order to both enjoy the language, and have access to the most popular libraries, I have started this project. What about Jython? Jython (formerly known as JPython) is a great idea. However, it suffers from a large number of drawbacks, i.e. it always lags behind CPython, it is slow and it does not allow access to most Python extensions. My idea allows using both kinds of libraries in tandem, so the developer is free to pick and choose. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060121/8003b53c/attachment.html
2006年01月21日 星期六 13:10
On 1/21/06, jejwe <jejwester at gmail.com> wrote: > > > 这里谁用过JPYPE,我是在潘俊勇的BLOG上看到的,好像在邮件列表或一些论坛上很少听人讲过,基本都是在讲JPYTHON,不过这个开发者已经转到IRONPYTHON那里去了,所以想了解一下JPYPE > http://jpype.sourceforge.net/ > 好像很不错 > > JPype - > 我看不出来这个东西有什么用, 需要互相调用的话用简单的 xmlrpc/web service甚至简单的HTTP就可以完成, 而且是低耦合的, 两头都可以随时替换 这人抱怨Jython版本跟不上, 结果自己也不维护JPype. -- simple is good http://datastrategy.org/number5 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060121/9c72192d/attachment.htm
2006年01月21日 星期六 13:14
也不能这么说。 有时候是需要对java程序进行脚本化处理的。这时候低偶合的xmlrpc是无法胜任的。 -- 张骏 <zhangj at foreseen-info.com> 敏捷来自Python 简单源于我们 丰元信信息技术有限公司
2006年01月21日 星期六 13:16
On 1/21/06, 张骏 <zhangj at foreseen-info.com> wrote: > > 也不能这么说。 > > 有时候是需要对java程序进行脚本化处理的。这时候低偶合的xmlrpc是无法胜任的。 > > 这种时候有Jython啊 -- simple is good http://datastrategy.org/number5 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060121/1fe6eb70/attachment.html
2006年01月21日 星期六 13:36
在 2006-1-21 13:16:56,Bruce Wang <number5 at gmail.com> 写道: > On 1/21/06, 张骏 <zhangj at foreseen-info.com> wrote: > > > > 也不能这么说。 > > > > 有时候是需要对java程序进行脚本化处理的。这时候低偶合的xmlrpc是无法胜任的。 > > > > 这种时候有Jython啊 > > > -- > simple is good > http://datastrategy.org/number5 Jython 效率过低而且java现在也有自己的脚本包了 另外如果接口过多的话,除非有自动化包装的工具,用rpc开发效率还是比较低的。 所以 python-java桥还是有存在的价值的。 -- 张骏 <zhangj at foreseen-info.com> 敏捷来自Python 简单源于我们 丰元信信息技术有限公司
Zeuux © 2025
京ICP备05028076号