This tutorial shows how to install Webmin on AWS EC2 server. Webmin is web-based management interface for system administration of *nix systems. It allows remote management of your system without having to manually modify the configuration files. It lets you install packages like LAMP stack, mail servers, wordpress etc. and setup & configure – firewalls, […]
This tutorial shows how to split a string in Java. Below, we present three options to split a string in Java namely – with StringTokenizer class, with split() method of the String class and with Pattern class. Each of the options has its utility and advantage over the other. You can use either of them as per your need.
This article presents an implementation of a tracking thread pool in Java. A tracking thread pool is a usual thread pool that records the task execution statistics like total number of tasks executed, average execution time of tasks and total execution time of all tasks. The default thread pools created by Executors class in Java does not […]
This article shows how to create a deadlock in Java. A deadlock occurs when two threads each hold a lock that the other thread is waiting for. Neither of them can proceed without acquiring the lock held by the other thereby creating a deadlock. To study and analyse a deadlock you should be able to […]