File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Web Component Certification (SCWCD/OCPJWCD)
Regarding JSP Custom Tags-performance issue
Vasanth Babu Raju
Joined: Sep 24, 2008
Sep 24, 2008 05:08:00
By using SimpleTagSupport, the tag handler class is not reused(For every tag call, the handler class is loaded, instanciated,doTag() called, object garbage collected).
But if we use classic tag, the tag handler instance is reused in pool.
So is using classic custom tag better than using SimpleTagSupport -on performance perspective?
Joined: Aug 06, 2007
Sep 24, 2008 06:23:00
Classic tag are more error pron as you have to initialize your instance variables in appropriate method, they are more complicated to develop that's for sure.
SCBCD - SCWCD - SCJD - SCJP - OCA
subject: Regarding JSP Custom Tags-performance issue
doubt in a mock exam question
How to access Simple parent tag from Classic Tag
SimpleTag handler objects are not reusable.(Is that behavior is guaranteed?)
Doubt in TagSupport (Classic Tag)
Cannot compile Tag Handler
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014