Please join us at the new JavaWorld Q&A Forums. Your existing login will work there. The discussions here are now read-only.


JavaWorld Talkback >> 958484

Pages: 1
Anonymous
Unregistered




Using Javabeans
      #1718 - 09/10/03 04:45 PM

I just read the article and some of the posts. I am kind of new in Java programming, but the thing is this article made an impact on me. first, the title sure maske you want to read it.
When I was in college, I remember my first programming teacher once said that the attributes of an object are private and that you provide public methods to access or modify those attributes. Then when I started working, while still in college, I remeber my boss told me to use Javabeans to provide this behavior. So for me, Java beans are basically get/set methods. Maybe its right what was mentioned in the article that it is the simple or easy way to go. I started reading an article about javabeans and then a coworker came to me and said: "just get and set mehotds". So pretty much that was the idea I had in mind.
Now working, I find people here create Javabeans arguing to be following the Valueobject pattern, but they create many of them.
Anyway I just wanted to say, that maybe we have a bad conception of javabeans or OO itself. I found the article very interesting and would like to see some code samples.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 1 anonymous users are browsing this forum.

Moderator:   

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 5385

Rate this topic

Jump to

Contact us JavaWorld

Powered by UBB.threads™ 6.5.5