Storing configuration data for JAVA applications


    Many times it is required to store some configuration settings for your application so that it can use again and again from where it left. Or the application can start with some specific parameters. The properties file can come in handy in such requirements. First, let’s write something to the properties file.   Code: import; import; import; import java.util.Properties; public class App {   public static void main(String[] args) {     Properties prop = new Properties();     OutputStream output = null;     try {        …

Read More