我有一个关于 GWT 的问题。我知道(我认为这是正确的)用 GWT 编写的应用程序的逻辑已上传到客户端 UI。所以每个人都可以看到我是如何“编码”和我所有的算法(它是javascript)!那么并发企业就可以欺骗我的算法!!
我想知道 GWT 中是否有内置的安全机制来避免这种情况。
谢谢
最佳答案
别担心,GWT 会处理好它。
By default, GWT obfuscates the JavaScript it produces. This is partly done to protect the intellectual property of the application you develop, but also because obfuscation reduces the size of the generated JavaScript files, making them faster to download and parse.
Why is my GWT-generated JavaScript gibberish?
但是,如果您想让代码易于阅读,您可以 compile与 style -PRETTY
。
关于javascript - GWT : logic of my application embeded in the ui interface?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15878634/