This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Listeners

 
Amruth Puppala
Ranch Hand
Posts: 295
  • 0
  • Mark post as helpful
  • send pies
  • 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 ]
 
Anand Bhatt
Ranch Hand
Posts: 189
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic