如果我嵌入GPL 2 Java小程序到我的web应用程序,我必须版本的Web应用程序源代码? [英] If I embed a GPL 2 Java applet into my web app, do I have to release the web app source?

查看:130
本文介绍了如果我嵌入GPL 2 Java小程序到我的web应用程序,我必须版本的Web应用程序源代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假如我工作的一个Web应用程序,有显著专有code,用JavaScript编写/ HTML /等。

Suppose I am working on a web application that has significant proprietary code, written in JavaScript/HTML/etc.

进一步假设,存在一个具有一些相关的GPL v2的的Java应用功能我想提供我的用户,当我部署我的应用程序不同客户的网站。

Suppose further, there exists a GPL v2 Java application that has some related functionality I'd like to offer my users, when I deploy my app to various customer sites.

所以,我打算将Java应用程序转换为Java小程序,并将其嵌入到我的web应用程序。我的web应用程序不会直接调用applet的任何功能,只是用基本的浏览器功能来启动它在一个特定空间中的特定页面上。

So I plan to convert the Java application to a Java applet, and embed it into my web application. My web application would not be directly calling any functions of the applet, just using basic browser functionality to launch it in a particular space on a particular page.

这是否构成基于程序的作品,在GPL条款(或作为的常见问题),这样,我现在有义务释放所有我原来的JavaScript / HTML code的GPL下? *

Does this constitute "a work based on the Program" in terms of the GPL (or "linking" as used in the FAQ), such that I am now obligated to release all of my original JavaScript/HTML code under the GPL?*

如果是这样,没有这是否意味着每个的嵌入一个GPL小程序也必须采用GPL许可协议,与原始资料的HTML页面提供的? (考虑PHP的Web应用程序!)

If so, doesn't this mean that every HTML page that embeds a GPL'd applet must also be licensed under the GPL, with original sources provided? (Consider PHP web apps!)

或者是嵌入applet在我只是指着一些相关意义上的单纯聚集,而是独立的功能?

Or, is embedding an applet "mere aggregation" in the sense that I'm just pointing to some related, but independent functionality?

最后,将使用Java Web Start启动原来的Java应用程序改变什么?如果是这样,为什么?

Finally, would using Java Web Start to launch the original Java application change anything? If so, why?

(*自然,我将分发Java小程序本身的来源。)

(* Naturally, I will distribute sources of the Java applet itself.)

推荐答案

真是有趣的场景......我想任何Java code您修改为实际的小程序的部分需要进行分配,但它应该是确定使用它,因为它生成为一个独立的实体,你可以保持你的HTML / JS专利(虽然人们已经有code,如果他们能够查看源代码吧)

Really interesting scenario... I think any Java code you modify that is part of the actual applet needs to be distributed, but it should be ok to use it since it is spawned as a separate entity and you can keep your HTML/JS proprietary (though people already have that code if they can view source it)

我看到你的情况为HTML / JS在于推出具有GPL code中有一个程序的脚本。它的优良做到这一点,该脚本并不需要被释放,但需要分布内部正在启动什么东西。只是我2C - 我可能是非常错误的。

I see your scenario as the HTML/JS being a script that launches a program that has GPL code in it. It's fine to do that and the script doesn't need to be released, but anything inside what is being launched needs to be distributed. Just my 2c - I could be very wrong.

这篇关于如果我嵌入GPL 2 Java小程序到我的web应用程序,我必须版本的Web应用程序源代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆