Currently i have a back-end system written in Java that process, massage and forward the data to a external HSM module for encryption. It was consider secure enough back then. However, recent audit findings requires all back-end Java classes to be secured as well.
I have read about GCJ, it compiles the Java Byte codes to Native code. This will definitely make it harder to reverse engineer.
After more than 30 hours googling & trying, i couldn't even get the compile going. I failed to To compile with GCJ on my 5 servlets and more than hundreds other java classes. That also means, I have not test it with tomcat yet, i have no idea where this is going.
So here are the questions i wish to know:
1) anyone out there has any success compiling java sevlets with GCJ and running it under Tomcat? If yes, is there any guide or sample directly related to compiling a java servlet?
2) am i on the right path in securing java classes? If not, then what is the better approach?