Here you can find the source of getRequestContext()
private static JAXBContext getRequestContext()
//package com.java2s; //License from project: Apache License import javax.xml.bind.JAXBContext; import javax.xml.bind.JAXBException; public class Main { private static JAXBContext jaxbRequestContext = null; private static JAXBContext getRequestContext() { try {// ww w.j a v a 2s . c om if (jaxbRequestContext == null) jaxbRequestContext = JAXBContext.newInstance("flowers.salta.resource.request"); } catch (JAXBException je) { je.printStackTrace(); } return jaxbRequestContext; } }