Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Is synchronisation required here ?

Reply
Thread Tools

Is synchronisation required here ?

 
 
vanisathish@gmail.com
Guest
Posts: n/a
 
      07-17-2006
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);
}
}

 
Reply With Quote
 
 
 
 
Chris Smith
Guest
Posts: n/a
 
      07-17-2006
<(E-Mail Removed)> wrote:
> Does the m_glblstatic required to be synchronised in this servlet.
> Appreciate your inputs


This is ambiguous in the specification. I would probably add
synchronization just to be safe.

--
Chris Smith - Lead Software Developer / Technical Trainer
MindIQ Corporation
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
simple programs to deal with data format, data synchronisation Ram VHDL 1 02-24-2005 05:34 PM
Synchronisation problem Olivier Merigon Java 1 07-29-2004 02:43 AM
synchronisation JULES Firefox 0 04-20-2004 07:39 AM
Session End Synchronisation Glenn ASP .Net 1 10-31-2003 12:43 AM
data synchronisation - java server side or www server side? Thor Java 1 07-02-2003 05:44 PM



Advertisments