Bean class is a pojo. You have private instance variables, with public
get/set methods. A property is an instance field with a get/set method. I
forget though if you need both.. there are some cases where you may want to
make a mutable property by using a constructor to set it, then only have a
getter so it can't be changed.

On Sun, Jan 23, 2011 at 11:52 AM, FrankG <[email protected]> wrote:

> Hi Hari.
> Just my two cents but if you mean
> the Java Bean specification, then the spec is
> a J2SE technology  (
> http://www.oracle.com/technetwork/java/javase/documentation/spec-136004.html
> )
> and comes into world long before the people start to thinking in terms
> of EJBs and so on. Good luck ! Frank
>
> On 23 Jan., 02:24, Hari Edo <[email protected]> wrote:
> > On Jan 22, 7:50 pm, TreKing <[email protected]> wrote:
> >
> > > I have no idea what a "bean class" is.
> >
> > It's one of those J2EE things that they shove at you in
> > diploma-mill university IT classes.  Basically, an object
> > with a hashmap of properties, so that it's trivial to make
> > GUI front-ends that can manipulate the properties directly.
> >
> > While I haven't weaned myself off all of the Collections
> > classes, I'd say heavy Beans and lightweight Android are
> > at diametric odds with regard to garbage collection
> > stressors.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to