David Newton wrote:(like Spring's startup listener, or Hibernate's open-session-in-view filter)
I gave two examples; how many would you like?
Yesterday I searched for it & got two examples of listeners ie.
1) Creating a database connection before application starts & closing before it stops.
2) Counting the application startups.
& of filter is
modifying the request parameters before sending it to server.
changing the response before sending it to view etc.
And I got some idea.
Actually from your answer I couldnt even understand what is open-session-in-view & hence couldnt even be able to know that these are examples which you have given??
Hence I'd asked for examples again bymistake :confused:.
Anyways thanks for your co-operation David.