Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Taglibs vs Javabeans

 
Chiran Mathur
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can some give pros/cons of each or point to a article comparing the two...
 
Maha Annadurai
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Regards,
Maha Anna
[ November 29, 2002: Message edited by: Maha Annadurai ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic