Until you get to Enterprise Java Beans, a bean is nothing other then a
class where you have a set*() function ( and get*() for retrieving the
value ) for every variable a user ( or you ) could care about.
This makes the class ("bean") much easier to reuse, because it can be
configured to meet individual needs.
Anywhere you can make a class, you can make a bean. Just put those
set/get functions in and I reccomend you put the suffix "*Bean" on the
end of your class name.
Steve
Angel Belda wrote:
>
> Can anybody tell me (in a nutshell), the beneficts of use a Bean
> Class where I can create a 'Normal' Class.
>
> Am I not able to do the same with two tools ?
>
> Thank you
>
> Angel Belda
> [EMAIL PROTECTED]
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
--
Steve's Home Page:
http://www.geocities.com/beforewisdom/
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets