Reverse engineering is catching on the in the development world. Mocha is the first and most widely known Java decompiler. If you are writing Java classes and distributing them over the Internet, you should know that people can reverse-engineer, disassemble, or decompile your classes into Java source code. The most widely used decompiler is Mocha. Mocha reads one or more files of bytecodes (classes) and converts them back to Java source code.
Although the code generated by Mocha is not exactly the same as the original source code, it is close enough for someone to understand and modify. When distributing Java classes over the Internet, you can protect your Java bytecode from the risk of being reverse-engineered using obfusticators. Mocha is 100% Pure Java, so the essential distribution consists of a Java class library and instructions to invoke it. They're all a little quirky to set up and use, a characteristic shared by many standalone Java applications. These are all command-line-oriented tools, so the most practical way to invoke them is to embed the detailed class path and other invocation instructions in a command file.
The decompilers easily produce output that is virtually compiler-ready. Incidentally Mocha was sought to be banned by many developers and programmers because it easily made available the source code to any one, at the drop of a hat. The distribution of the decompiler has come to halt, not because of the efforts of the jealous developers but because of the untimely demise of the inventor of Mocha in 1996.
Java Development India offers MOCHA development, MOCHA consulting and MOCHA related solutions from our offshore software development outsourcing centre at Kochi, Kerala in India.
|