开发者

Query on Jython with Web Start

开发者 https://www.devze.com 2023-04-06 18:37 出处:网络
I am looking at creating a jython application and deploying it as a java web start. My query is related to a concern that for web start deployment, we have to开发者_如何学运维 distribute the jython s

I am looking at creating a jython application and deploying it as a java web start.

My query is related to a concern that for web start deployment, we have to开发者_如何学运维 distribute the jython standard jar package also along with our application jar.

From all the web resources , this is what I hear. And the concern is that this will make the download time of the application significantly large as jython jar file is nearly 9 Mb.

If anyone of you has deployed a jython app through web start, can you clarify if we need to bundle the jython jar package along with our application files or only the application files in a standalone jar file ( this solves my problem)

Regards Shyam


OK , as I figured out...I have to package the jython jar also along with the application jar to make it work.

The reason is that, the application jar consists of python code which the client JVM has no way to understand unless it uses the jython jar package.

As I hear jython has no support currently to convert python code to java classes. Unless this is possible , the jython jar package has to be included.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号