I don't claim to know beans about "beans", but my understanding of a "bean" is in line with Barney's JavaBean description.

"Beans are primarily carrier objects, used for passing encapsulated
data between application layers (model-view-controller or
architectural tiers)."
This description sounds a lot like a TransferObject to me (based primarily on "used for passing encapsulated data between application layers").

I'm fairly new to all of this "OO lingo", but I've concluded that calling an object a "bean" describes its structure and calling it a TransferObject (or ValueObject, or pick-a-pattern-name) describes how it is being used (its role) in the application.

On 8/26/05, Brian Kotek <[EMAIL PROTECTED]> wrote:
I suppose it might provide some context to say that my perception of a
Bean came from this article at Mach-II.com, where a Bean is described
as:

Beans are primarily carrier objects, used for passing encapsulated
data between application layers (model-view-controller or
architectural tiers). They typically contain minimal business logic
(if any), and they have simple, consistent interfaces.

http://www.mach-ii.com/downloads/docs/Beans%20in%20Mach-II.pdf


On 8/26/05, Barney Boisvert < [EMAIL PROTECTED]> wrote:
> The only "beans" I know of are JavaBean and Enterprise JavaBean.  The
> former is a set of rules for objects; in particular a zero-argument
> constructor, and get/set/is methods for all properties.  The later is
> obviously of no real use to this thread. ;)
>
> On 8/26/05, Brian Kotek <[EMAIL PROTECTED] > wrote:
> > In fact, while I'm at it, does anyone know where a good definition of
> > a Bean is located, so that I can make sure that my vocabulary is in
> > line with the accepted standard? Thx.
> >
>
> --
> Barney Boisvert
> [EMAIL PROTECTED]
> 360.319.6145
> http://www.barneyb.com/
>
> Got Gmail? I have 50 invites.
>
>
> ----------------------------------------------------------
> You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.
>
> CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).
>
> CFCDev is supported by New Atlanta, makers of BlueDragon
> http://www.newatlanta.com/products/bluedragon/index.cfm
>
> An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
>
>
>


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).

CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm

An archive of the CFCDev list is available at www.mail-archive.com/[email protected]



----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).

CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm

An archive of the CFCDev list is available at www.mail-archive.com/[email protected]

Reply via email to