A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Web Component Certification (SCWCD/OCPJWCD)
how server will know ?
Joined: Mar 29, 2005
Nov 17, 2005 00:02:00
How the server will know, when it can invoke init, service,destroy methods of
Thanks in advance.
" Don't be afraid of pressure. Remember that pressure is what turns a lump of coal into a diamond... " <br /> <br />Thanks & Regards...<br />Sakthi<br />SCJP1.4, OCA
Joined: Mar 02, 2005
Nov 17, 2005 03:47:00
When a class is loaded its init method is called
(class is loaded on first request or on specifying in DD by giving <load-on-startup>tag)
For each Request from client, service method is called
When server is shutdown
hth(hope this helps--Bert Bates)
It is sorta covered in the
JavaRanch Style Guide
subject: how server will know ?
to know the no of client requesting
how can I know client died from server class??
cannot upload file in safari working fine in firefox
difference between container and application server
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014