I've often seen discussions about this topic. Basically, here is the question. If you have code like this: What does it print? More than 50% of the programmers will answer 1, some of the…
Read article ↗A POJO is simply an object built using a Java class that does not implement any special interfaces such as those defined by the EJB 2 framework. An example of a POJO is a class containing…
Read article ↗When using RegEx in Java you might need to treat one or more metacharacters as ordinary characters. As a reminder, the metacharacters in a Java RegEx are: ([{^$|)?+. If you want to treat…
Read article ↗When you develop an application you might want to protect your code. A good way to accomplish this is to use obfuscation. ProGuard is a good open-source tool you can use for this purpose.…
Read article ↗