File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes java beans and custom tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "java beans and custom tags" Watch "java beans and custom tags" New topic
Author

java beans and custom tags

jonny jinny
Greenhorn

Joined: Oct 29, 2002
Posts: 11
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

Joined: Sep 14, 2001
Posts: 582
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

Joined: Oct 29, 2002
Posts: 11
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
 
subject: java beans and custom tags