Concurrency in general is one of the most challenging area of programming. Check out the awesome and easy to understand explanation from Ron Swanson.
Using so many years vi or vim (vi improved) it is coming quite annoying that nano is the default editor. I understand that new users find it easier to use nano, but for all old school guys out there, this post describes how to set the vi or vim as default editor on deb based distributions like Debian, Ubuntu, etc.
If you want to display a file structure of a folder and the
tree command is not available, use sed to replace to create a tree structure based on the find output.
Custom variables can be stored via JNDI over the naming subsystem in JBoss. Following example were executed for Java EE 6 and JBoss EAP 6.4.
For local testing, the logging is an essential tool. If you have to make changes to loggers, some conflicts arise. The easiest way is to remove the previous configuration. If you want to cleanup your previous logging, this article demonstrates the basic steps for a CLI script, that can be used for each test.
Having some text configuration or working with CLI (command line interface) ASCII Art can improve the separation of input and output. Below some ASCII art generators are listed.
Non-blocking I/O (usually called NIO, and sometimes called “New I/O”) is a collection of Java programming language APIs that offer features for intensive I/O operations.
This post demonstrates how to retrieve the pid of a dedicated JBoss application server, running parallel on a linux server with other application servers. The combination of
awk allows a operator friendly output.