Hi, I now understand that there are many Java decompilers that simply reverse your classes to the source code. What prevention do we as programmers have to keep this evil away as this is a big threat to copyright. How can I write my code in a way that it cannot be decompiled, is this possible?
Obfuscation is pointless; all it really does is obscure variable names, and most IP is bound up into design and algorithms.
Personally I believe that security through obscurity is a waste of time. You're far better off enforcing your IP rights via contracts with your customers than by trying to prevent them from doing anything to your application code.
Think of it; no matter what you do to a program, at some point it needs to be interpretable by the machine. So if the person can't crack your obfuscation, all they need to do is crack the deobfuscator and get it to output its results during execution.
and, failing that, reverse engineering most applications is not difficult.
McFinnigan? Never heard of him. Nobody here but us chickens...<br /> <br />SCJP for Java 1.4<br />SCJD for Java 5.0
incandescent light gives off an efficient form of heat. You must be THIS smart to ride this ride. Tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss