Skip to content
This repository has been archived by the owner on Sep 29, 2020. It is now read-only.

Latest commit

 

History

History
17 lines (15 loc) · 389 Bytes

README.md

File metadata and controls

17 lines (15 loc) · 389 Bytes

μServ

μServ = RestEasy + Undertow + Guice + Typesafe Config

public final class AppServer extends μServ {
	private AppServer() {
		application(MyApplication.class);
		pakcage("com.mycompany.app");
	}

	public static void main(String[] args) {
		final AppServer server = new AppServer();
		server.start();
		Runtime.getRuntime().addShutdownHook(new Thread(server::stop));
	}
}