This week's book giveaway is in the Java 9 forum. We're giving away four copies of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications and have Sander Mak & Paul Bakker on-line! See this thread for details.
@PreDestroy not found in javaee.jar ( Sun JavaEE 5 SDK update 1)
posted 11 years ago
Hi ppl, I tried compiling a session bean with a @PreDestroy annotation. It gave me a 'cannot find symbol' for class PreDestroy. I checked the javaee.jar and found that only PrePassivate and PostActivate are present. Can anyone help me out? I have given the code below:
Thanks in advance, Malan [ November 05, 2006: Message edited by: Malan Subramanian ]