This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

diff betwn Java BEan and Taglib

 
Mahesh Pinnamaneni
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello guys,
can anyone of u just tell me the difference between java Bean and i know that both of them are reusable components.apart from that what other specific funtionality does they differ.
thanks®ards,
Mahesh
 
Manoj Gundawar
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mahesh,

You can find that in many JSP/J2EE books. Here are few, (as I remember) from Hanumant Deshmukh's book:

1. Beans are data handler used for storage, tags are used for computational/presentation logics.
2. Tags are thread safe, beans are not.(developer has to make it thread safe)
3.Tags can access JSP environment context, beans can not. (Pagecontext etc)
4. Tags can access implicit objects, beans can not.

You can find many more in other books.
happy reading.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic