Skip to content

Instantly share code, notes, and snippets.

@fabriziocucci
fabriziocucci / App.java
Created January 24, 2017 23:09
@Immediate binding fail after Container#reload
package com.github.fabriziocucci;
import javax.inject.Inject;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.core.Feature;
import javax.ws.rs.core.FeatureContext;
import javax.ws.rs.core.UriBuilder;
@fabriziocucci
fabriziocucci / HelloWorldResource.java
Created May 19, 2016 12:28
REST resource that triggers a bug on Liberty with Java EE 7 Web Profile 8.5.5.9
package sample.helloworld;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.client.ClientBuilder;
@Path("/")
public class HelloWorldResource {