Win a copy of Microservices Testing (Live Project) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Listeners

 
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 295
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic