Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Microservices in Java - Java EE 7 example
public class ApplicationConfig extends Application {
public Set<Class<?>> getClasses() {
Set<Class<?>> resources = new HashSet<>();
return resources;
public class HelloResource {
public Response greet() {
return Response.ok("Hello World").build();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment