| Author |
Listeners
|
Amruth Puppala
Ranch Hand
Joined: Jul 14, 2008
Posts: 295
|
|
In HFSJ 1st edition 206 page it has been give . Lifecycle events related to sessions(excluding attributes related events) ->sessionCreated()m sessionDestroyed() Lifecycle events related to requests (excluding attributes related events)->requestInitialized(),requestDestroyed(). Lifecycle events related to contexts(excluding attributes related events)-> contextInitialized(),contextDestroyed(). But as per my understanding -> the bolded events should be methods please share your views... [ July 28, 2008: Message edited by: Chintu sirivennela ]
|
SCJP 5 |SCWCD 5| Started thinking about Web Services ?
|
 |
Anand Bhatt
Ranch Hand
Joined: May 30, 2007
Posts: 187
|
|
|
In book these are specified as "Lifecycle events" as these are methods that are called when some events generate.So its up to you either you call it lifecycle events or methods.I do not think there is any difference in what you named them.
|
 |
Amruth Puppala
Ranch Hand
Joined: Jul 14, 2008
Posts: 295
|
|
Thanks for the response. But we already have events rite, but how can we call methods as Lifecycle events . I have shown some other way is it correct or not Lifecycle events related to sessions(excluding attributes related events) ->HttpSessionEvent Lifecycle events related to requests (excluding attributes related events)->ServletRequestEvent Lifecycle events related to contexts(excluding attributes related events)-> ServletContextEvent
|
 |
 |
|
|
subject: Listeners
|
|
|