jQuery in Action, 3rd edition
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Taglibs vs Javabeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Taglibs vs Javabeans" Watch "Taglibs vs Javabeans" New topic

Taglibs vs Javabeans

Chiran Mathur
Ranch Hand

Joined: Feb 07, 2001
Posts: 63
Can some give pros/cons of each or point to a article comparing the two...
Maha Annadurai
Ranch Hand

Joined: Oct 27, 2002
Posts: 87
Here are some comparisions I took from the SCWCD Exam Study Kit.
1. Tags are thread safe while Java beans are Not.
2. Tags can access jsp page's implicit objects while Java Beans can't
3. Tags reside in PAGE_SCOPE while Java Beans can reside in any scope
4. Tags know about the environment (pageContext) in which it executes while Java Beans do not.
Maha Anna
[ November 29, 2002: Message edited by: Maha Annadurai ]
I agree. Here's the link: http://aspose.com/file-tools
subject: Taglibs vs Javabeans
It's not a secret anymore!