GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  J2EE  >  JSP
Go To First  |  Previous Question  |  Next Question 
 JSP  |  Question 269 of 306    Print  
What is difference between custom tags and JavaBean?

  
Total Answers and Comments: 4 Last Update: December 29, 2006     Asked by: Fatima.sultana 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
November 03, 2006 02:11:38   #1  
Surendhar        

RE: What is difference between custom tags and JavaBea...
And in hindsight, you can use either a JavaBean or a custom tag to perform some tasks, such as manipulating strings or adding up numbers.The primary difference is that tags work directly on whatever's between the two tags, as in bold whereas JavaBeans are objects that actually save and offer data through the set and get methods.
 
Is this answer useful? Yes | No
November 03, 2006 02:16:18   #2  
surendhar Member Since: November 2006   Contribution: 1    

RE: What is difference between custom tags and JavaBea...
And in hindsight, you can use either a JavaBean or a custom tag to perform some tasks, such as manipulating strings or adding up numbers.The primary difference is that tags work directly on whatever's between the two tags, as in bold whereas JavaBeans are objects that actually save and offer data through the set and get methods.
 
Is this answer useful? Yes | No
December 07, 2006 06:43:38   #3  
delindia fathima        

RE: What is difference between custom tags and JavaBea...

Javabeans are used for encapsulating data management logic(ie., used for storage)whereas customtags are used for computational logic related to particular request.

Tags are thread safe,beans are not.It should be made threadsafe by developers.

Tags are aware of the environment in which they execute, beans are not.

Tags can access implict objects,bean cannot.

Tags have only page scope.Beans have different scopes.

Tags are not persistent.Beans are persistant


 
Is this answer useful? Yes | No
December 29, 2006 01:34:18   #4  
Srinivasan        

RE: What is difference between custom tags and JavaBea...

Custom tag is used to design  our own tag using taglib directive.

JavaBean used to define  a  core java manipulation.

Initialization the data using setter and getter method.


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape