Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
What is bean?
- From: kevinj@xxxxxxxxxxx (Kevin Jones)
- Subject: What is bean?
- Date: Thu, 30 Nov 2000 12:04:12 -0000
This is a multi-part message in MIME format. ------=_NextPart_000_006F_01C05AC5.A7291B00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit RE: What is bean?A bean is any class that has a default constructor and is serializable. Anything beyond that is optional, Kevin Jones DevelopMentor www.develop.com -----Original Message----- From: Tim O'Neil [mailto:Tim.O'Neil@xxxxxxxxxxx] Sent: 30 November 2000 00:29 To: advanced-java@xxxxxxxxxxxxxxxx Subject: RE: What is bean? Beans share two things in common that classes do not ordinarily have to have: They all implement serializable, and they all have methods that can set and retrieve properties. Those two factors are the minimum requirements for a bean. You're right, it ain't much. But beans turn out to be powerful little buggers. Read more about them. George asked; > Sorry for basic questions, but I just do not see any > differences between > regular class and bean? > Just by looking at the class haw do you know it is bean? ------=_NextPart_000_006F_01C05AC5.A7291B00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD><TITLE>RE: What is bean?</TITLE> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR></HEAD> <BODY> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN = class=3D953565711-30112000>A bean=20 is any class that has a default constructor and is serializable. = Anything beyond=20 that is optional,</SPAN></FONT></DIV> <DIV> </DIV> <P><FONT size=3D2>Kevin Jones<BR>DevelopMentor<BR>www.develop.com</FONT> = </P> <BLOCKQUOTE=20 style=3D"BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: = 0px; PADDING-LEFT: 5px"> <DIV align=3Dleft class=3DOutlookMessageHeader dir=3Dltr><FONT = face=3DTahoma=20 size=3D2>-----Original Message-----<BR><B>From:</B> Tim O'Neil=20 [mailto:Tim.O'Neil@xxxxxxxxxxx]<BR><B>Sent:</B> 30 November 2000=20 00:29<BR><B>To:</B> advanced-java@xxxxxxxxxxxxxxxx<BR><B>Subject:</B> = RE: What=20 is bean?<BR><BR></DIV></FONT> <P><FONT size=3D2>Beans share two things in common that classes</FONT> = <BR><FONT=20 size=3D2>do not ordinarily have to have: They all implement = serializable,</FONT>=20 <BR><FONT size=3D2>and they all have methods that can set and retrieve = properties.</FONT> <BR><FONT size=3D2>Those two factors are the = minimum=20 requirements for a bean.</FONT> <BR><FONT size=3D2>You're right, it = ain't much.=20 But beans turn out to be powerful</FONT> <BR><FONT size=3D2>little = buggers. Read=20 more about them.</FONT> </P> <P><FONT size=3D2>George asked;</FONT> <BR><FONT size=3D2>> Sorry = for basic=20 questions, but I just do not see any </FONT><BR><FONT size=3D2>> = differences=20 between</FONT> <BR><FONT size=3D2>> regular class and bean?</FONT> = <BR><FONT=20 size=3D2>> Just by looking at the class haw do you know it is bean? = </FONT><BR><FONT size=3D2> </FONT> = </P></BLOCKQUOTE></BODY></HTML> ------=_NextPart_000_006F_01C05AC5.A7291B00-- --- To unsubscribe, mail advanced-java-unsubscribe@xxxxxxxxxxxxxxxx To get help, mail advanced-java-help@xxxxxxxxxxxxxxxx
- References:
- What is bean?
- From: Tim O'Neil
- What is bean?
- Prev by Date: HP Java applet
- Next by Date: HP Java applet
- Previous by thread: What is bean?
- Next by thread: What is bean?
- Index(es):