0

Applications like H2 DB run cmd prompt and then open a webpage on 8082 port number.

Can anyone please help me?

1 Answers1

0

H2 DB is running an embedded web server so that you you can manage it.

If your application needs to serve web pages then you cab use jetty which you can embed right in your code: http://www.eclipse.org/jetty/

You can open a url or a local file in a browser using the answers here:

Getting java gui to open a webpage in web browser

Community
  • 1
  • 1
Robert Moskal
  • 21,737
  • 8
  • 62
  • 86
  • Yes, embedded web server. Got this link when searching for it. http://www.codeproject.com/Articles/128145/Run-Jetty-Web-Server-Within-Your-Application – user2059387 Oct 16 '15 at 16:55