[cleanup] Applied codestyle
[cleanup] Use commons-io for copying between streams instead of a custom method.
[json-client] Make the testing file work regardless of the host or port number where the application is running
[cleanup] Removed trailing whitespace
[cleanup] Replaced System.out with proper logging
[json-client] Refactoring
- "public static" fields and methods into "private"
- Replaced the static initialization block with a proper init() usage
- Made the configuration file readable even when JNDI isn't available