Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 547 Bytes

Readme.md

File metadata and controls

24 lines (21 loc) · 547 Bytes

JBoss EAP

Usage

final EapConfiguration conf = EapConfiguration.builder().directory($EAP_HOME).profile("standalone-full.xml").xmx("2g").build();

try (Container cont = new EapContainer<>(conf)) {
	cont.start()
	try(Client cli = container.getClient()) {
		cli.execute(":whoami");
	}
}

Standalone client:

try (Client client = new EapClient<>(EapConfiguration.builder().build())) {
    client.execute(":whoami");
}

Compatibility

  • EAP 6 + Java 7/8
    • Default