File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java beans and custom tags

 
jonny jinny
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I have a confusion regarding java beans and custom taglibs used with jsp's.
What one should prefer beans or taglibs while programming and why?
I wouold like to know some good comparison points between both techno's.
Thanks
 
Fisher Daniel
Ranch Hand
Posts: 582
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Both are reuseable component and to reduce the length of our scriptlet...
Tags is used to process computational logic, and Beans is used to handle data..
Tags are thread safe and Beans are not.
Tags are aware of the environment and Beans are not.
Tags can access implicit object and Beans cannot
Correct me if i am wrong
daniel
 
jonny jinny
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ur correct.
please tell me one should prefer using wht in which scenario??
Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic