This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Regarding JSP Custom Tags-performance issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Regarding JSP Custom Tags-performance issue" Watch "Regarding JSP Custom Tags-performance issue" New topic
Author

Regarding JSP Custom Tags-performance issue

Vasanth Babu Raju
Greenhorn

Joined: Sep 24, 2008
Posts: 5
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?
Musab Al-Rawi
Ranch Hand

Joined: Aug 06, 2007
Posts: 231
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
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Regarding JSP Custom Tags-performance issue
 
It's not a secret anymore!