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 Servlets and the fly likes suppourt for Annotation Programming  . In servlets 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 » Java » Servlets
Bookmark "suppourt for Annotation Programming  . In servlets" Watch "suppourt for Annotation Programming  . In servlets" New topic
Author

suppourt for Annotation Programming . In servlets

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Servlet 2.5 provides suppourt for Annotation Programming . In this there are two methods

@preconstrct

@Predestroy


PLease tell me what is the difference when compared the above methods to init and destroy

Save India From Corruption - Anna Hazare.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Nothing really.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

(To be exact, these are @PostConstruct and @PreDestroy)


[My Blog]
All roads lead to JavaRanch
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Thanks for your help Paul and Christopeh.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: suppourt for Annotation Programming . In servlets
 
Similar Threads
java.util.Collection related classes suppourt in Java based Webservices
How can i add Log4j suppourt to my Application
IS it advisable to use Transaction suppourt from servlets of with in EJB Bean class
Hibernate suppourt with JPA