您如何(部分)隐藏 XPage 应用程序的设计? [英] How can you (partly) hide the design of your XPages application?

查看:26
本文介绍了您如何(部分)隐藏 XPage 应用程序的设计?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在分发 XPage 应用程序时,您可以(部分)隐藏它们的设计吗?您应该如何做?

Can you (partly) hide the design of your XPages application when distributing them and how should you do so?

推荐答案

我没有亲自测试过,但我会尝试打包为 XPage 生成的代码的 .class 和 .xml 定义(一般是 WebContent\WEB-INF 文件夹)放入单个 JAR 并将其部署到另一个数据库.如果您的代码依赖于不同数据库中的视图和表单,这将非常有效,因此您无需费心隐藏常规的 Notes 设计元素.

Did not test it for myself, but I would try to pack .class and .xml definitions of code generated for XPages (generally, content of WebContent\WEB-INF folder) into single JAR and deploy it to another database. This would work very well in case your code relies on views and forms in different database so you need not to bother with hiding regular Notes design elements.

仍然可以选择反编译这样的类,这将揭示所有绑定/脚本和组件名称,但至少你让某人很难.

There is still the option to decompile such classes what will reveal all bindings/scripts and component names, but at least you make it hard for someone.

这篇关于您如何(部分)隐藏 XPage 应用程序的设计?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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