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

servlets vs UseBean property

 
bhuvan bala
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using netbeans6.1.I am going to develop a web application project.which one is better "servlets or useBean".what are the advantages of servlets over UseBean?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64606
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
They are not competitors -- both have their place in modern web applications. It's like saying "What's better, a fork or a knife?" They are both tools that work together.

Now, if what you are asking is "Which should I use: Model 1 or Model 2?", then that answer is easy: Model 2.

You might find this article helpful.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic