Is synchronisation required here ?



Hi All,

Does the m_glblstatic required to be synchronised in this servlet.
Appreciate your inputs

public class xyz_servlet extends HttpServlet {

/* create fc_asm4800_bean class */
private xyz_static m_glblstatic = null;

/** Create bean objects
*/
public void init() throws ServletException {
m_glblstatic = new xyz_static();
}


processGetReq()
{
m_glblstatic.get_xyz_unit_bean(equipID).get_param(a,b,c);
}
}

.



Relevant Pages

  • Re: Servlet parameter passing question
    ... The form will have no action or will call into a generic controller servlet. ... > checkbox next to it using a form that stores the inventory number of the ... > public class ListingManagerServlet extends HttpServlet { ...
    (comp.lang.java.help)
  • Re: db woes big time...
    ... | javax.servlet.ServletException: Class com.conn is not a Servlet ... change it to public class conn extends HttpServlet ... Programs that have duplicated logic are hard to modify. ...
    (comp.lang.java.help)
  • Re: Need help w. Image Servlet.
    ... servlet, but it still failed on me at runtime with an exception saying ... public class Outputstream_Img extends HttpServlet { ... Jon Martin Solaas wrote: ...
    (comp.lang.java.programmer)
  • Need help w. NullPointerException.
    ... but when I try to execute it in my browser I always get a ... The servlet, incidentally, ... public class My_Image extends HttpServlet { ...
    (comp.lang.java.programmer)