vendredi 21 octobre 2016

Run maven java application in browser with main method

I have developed a maven java project. Project has main method and its running as an application. I am using intellijidea as IDE and maven. What I want to do is, I want to add html files to the project.When I run project as application, I want to display results in browser. How can I do it?

this is my main method:

public class ChemInformatics {

public static void main(String[] args) throws Exception {
    IterativeStreaming streamTest = new IterativeStreaming();
    String path = ChemInformaticsConstants.smallSdfFilePath;
    long startTime = System.nanoTime();

    streamTest.sdfStreamReaderSecondMethod(path);

    long endTime = System.nanoTime();
    streamTest.trackExecutionTime(startTime, endTime);
}

}




Aucun commentaire:

Enregistrer un commentaire