init parameters!

From: Oancea Daniel <>
Date: Mon, 17 Oct 2005 20:40:23 +0100

hi everybody,
 I have a question. It's possible to use init parameters inside of
deployment descriptor, something like they used in a web.xml descriptor
<description>Web Services</description>
<display-name>Stats Service Interface</display-name>
 I need that becouse I thinking to load some value for variables, using
getInitParameter() method in the implementation of the web service:
 public void init(Object obj){
 endPoint = (ServletEndpointContext) arg0;
servletContext = endPoint.getServletContext();
value = servletContext.getInitParameter("param1");
 Any help it will be appreciated!