Posts
All the articles I've posted.
-
Dynamically load and execute compiled Java classes from byte array using a custom ClassLoader, without writing physical class files to disk. Highlights use cases like license validation, encrypted class delivery, and secure remote code execution.
-
Monitoring a directory for file system changes using Java NIO.2 WatchService API introduced in JDK 7, offering a more efficient alternative to manual polling threads.
-
Use Java's SignedObject with DSA public-key cryptography to digitally sign serialized Java objects before network transfer. The signed objects are verified at the receiving end ensuring data integrity and authenticity without relying on shared secrets.
-
Proactively prevent OutOfMemoryError crashes in Java by using Apache Derby's LowMemory utility class to set memory watermarks, allowing applications to gracefully degrade rather than terminate when heap space is exhausted.
-
A Java HTTP proxy server using socket-based request-response forwarding with configurable port binding, timeout handling, and continuous listening loop architecture.
-
Recovering encrypted database passwords from WebLogic server configuration files.