This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Servlets and the fly likes Confusion with beans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Confusion with beans" Watch "Confusion with beans" New topic

Confusion with beans

aymane chetibi
Ranch Hand

Joined: Apr 12, 2006
Posts: 175
Hi all,
I am still confused with what a Bean really means ?
Is it just a class dedicated to perform a kind of job -- specialized in the Model part of the MVC paradigm or is it something else ? (a class that has to extend Bean or something ?)

Can anyone please give me a clear explanation of what a Bean is and what JavaBeans are ?

Thank you in advance.
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Look at chapter 13 (downloadable PDF) from this book.
It has a really good explanation for what beans are and how they are used in an MVC app.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
aymane chetibi
Ranch Hand

Joined: Apr 12, 2006
Posts: 175
thank you!
I agree. Here's the link:
subject: Confusion with beans
It's not a secret anymore!