providerList.add(new org.codehaus.jackson.jaxrs.JacksonJsonProvider());
// providerList.add(new org.apache.cxf.jaxrs.provider.json.JSONProvider());
bean.setProviders(providerList);
List singletonRequestList = new ArrayList();
singletonRequestList.add(new SingletonResourceProvider(new FlightList()));
bean.setResourceProviders(singletonRequestList);
bean.setAddress("http://localhost:9998/jsonfromjaxb/");
bean.create();
}