This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Theory and practice : Lifecyle event PreDestroy Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Theory and practice : Lifecyle event PreDestroy" Watch "Theory and practice : Lifecyle event PreDestroy" New topic
Author

Theory and practice : Lifecyle event PreDestroy

Arnold Reuser
Ranch Hand

Joined: Nov 20, 2003
Posts: 194
I am looking for a real world use case that requires the PreDestroy event of a SFSB
For the past years I have only seen this event used in flawed application designs.
If anyone has a practical use case
That would really help me understand the rationale of this event.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Theory and practice : Lifecyle event PreDestroy
 
Similar Threads
Callbacks with System Exceptions
@PreDestroy annotation
Best practices for initializing backing bean?
When all @PreDestroy gets called?
@Predestroy and timeout