Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #9552

Re: Use of beans in my design possible?

Date 2011-11-04 21:10 -0400
From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: Use of beans in my design possible?
References <edaed3bf-2eec-4891-b1dd-e6878665f2f3@l19g2000yqc.googlegroups.com>
Message-ID <4eb48d1d$0$286$14726298@news.sunsite.dk> (permalink)
Organization SunSITE.dk - Supporting Open source

Show all headers | View raw


On 11/4/2011 12:19 PM, mike wrote:
> I am considering using java beans ( and it was a while since I used
> it) to store/update data.
> I use a series of commands to access a 3:rd party system. I parse the
> data ( output from command) and generate an Activity object with
> getters/setters.
>
> I am considering using beans since I remember that updates/new objects
> can be done easier using beans. Is that correct?
>
> How will beans be updated if new data for an object is generated when
> commands are executed?
>
> What do I have to do in order to use beans? ( I am using jdk 1.5 ....
> yes I know it is old ).

Most likely your data classes are already so close to beans
that making them beans will have no impact on your code
at all.

That is assuming "java beans" not "enterprise java beans" or
"managed beans".

Arne

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Use of beans in my design possible? mike <mikaelpetterson@hotmail.com> - 2011-11-04 09:19 -0700
  Re: Use of beans in my design possible? markspace <-@.> - 2011-11-04 10:27 -0700
  Re: Use of beans in my design possible? Lew <lewbloch@gmail.com> - 2011-11-04 12:46 -0700
  Re: Use of beans in my design possible? Arne Vajhøj <arne@vajhoej.dk> - 2011-11-04 21:10 -0400

csiph-web