I've created a SpringFramework WebApplication and now I want to distribute it. A client asked me to evaluate the applications on his own server. I want to protect my code encrypting the source. Is it possible? If yes, what's the best tool? Are there performance loss using it?
Asked
Active
Viewed 65 times
1 Answers
0
We use ProGuard in ant task for our release, which makes classes harder to reverse-engineer. Also it seems better for performance.
Notice that all variables which are based on injection annotations should be declared as private
, otherwise they won't be injected correctly after the process of ProGuard.

Jiang
- 590
- 2
- 10
-
Thanks! Do you have an example of configuration? – user3399743 Mar 13 '14 at 09:25