Manage Learn to apply best practices and optimize your operations.

Chapter 2: Decompiling classes

This chapter from the book Covert Java, by Alex Kalinovsky, explains when, why and how to decompile Java code.

In an ideal world, decompilation would probably be unnecessary, except when learning how other people who don't like to write good documentation implemented a certain feature. In the real world, however, there are often situations where a direct reference to the source code can be the best, if not the only, solution. Here are some of the reasons to decompile:

  • Recovering the source code that was accidentally lost
  • Learning the implementation of a feature or trick
  • Troubleshooting an application or library that does not have good documentation
  • Fixing urgent bugs in third-party code for which no source code exists
  • Learning to protect your code from hacking

In this chapter from the book Covert Java: Techniques for Decompiling, Patching, and Reverse Engineering, by Alex Kalinovsky, you'll learn:

  • How to determine when to decompile (page 13)
  • What the best decompilers are (page 14)
  • How to decompile a class (page 16)
  • What makes decompiling possible (page 22)
  • Potential problems with decompiled code (page 23)

Don't forget to take the quick quiz at the end of the chapter to test your reading comprehension.

Click here to download this free book chapter.

Dig Deeper on Java for Lotus Notes Domino

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...