This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Default Entity Listeners Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Default Entity Listeners" Watch "Default Entity Listeners" New topic
Author

Default Entity Listeners

Amandeep Singh
Ranch Hand

Joined: Jul 17, 2008
Posts: 844
I am curious to know about,

that alway's Default Entity Listeners can be specified through only persistence.xml ?

Well i know that Listeners on Superclass and listeners on subclass are specified under classes.


SCJP 1.4, SCWCD 5, SCBCD 5, OCPJWSD 5,SCEA-1, Started Assignment Part 2
My blog- http://rkydesigns.blogspot.com
Chaminda Amarasinghe
Ranch Hand

Joined: May 17, 2006
Posts: 402
Originally posted by Amandeep Singh:
I am curious to know about,

that alway's Default Entity Listeners can be specified through only persistence.xml ?



yes. but you can exclude default listeners using annotations


Well i know that Listeners on Superclass and listeners on subclass are specified under classes.

[ November 25, 2008: Message edited by: Chaminda Amarasinghe ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Default Entity Listeners
 
Similar Threads
confused abt ServletContext listeners
Doubt regarding "Multiple Lifecycle Callback Methods for an Entity Lifecycle Event "
Entity callback doubt
Timer
Querying Inside Entities