Protecting J2EE Applications

Sentinel LDK Envelope can be used under Windows to protect J2EE applications. The protected applications can be deployed under Windows, Linux, and macOS.

J2EE applications typically consist of code developed by the vendor and a number of third party libraries. It is recommended that you apply protection using Sentinel LDK Envelope before you bundle the third party libraries into your package.

The reasons for working in this manner are:

>This significantly reduces the time required for the protection process.

>If you bundle third party libraries before you protect your application, these libraries will be included in the default selection process for protection. Protecting these libraries may violate the license agreements of the libraries, because the protection process will execute binary modifications on the libraries as well as on your own code. If the libraries are removed from the protection process, possible license violations are avoided.

When using an automated build server to bundle a .war application, the application typically includes the vendor code class files and all required third party libraries. However, it is necessary to perform this process before using Sentinel LDK Envelope to protect the .war file, because Envelope only accepts .war and .jar files. Therefore, it is recommended that you proceed as follows:

1.After the automated build server bundles a .war application, remove the third party libraries from the bundle.

2.Use Sentinel LDK Envelope to protect the .war file.

3.Add the third party libraries back into the .war file.

Related Topics

Defining Java Program Protection Details

Optimizing Protection Settings for Performance and Security

JEE Runtime Considerations

Protection Details