Comment on Tutorial - Advantages of Java Beans By Priya



Comment Added by : Andreas

Comment Added at : 2012-09-23 23:01:01

Comment on Tutorial : Advantages of Java Beans By Priya
This says nothing meaningful.

So how having a non-args constructor makes my code reusable? And doesn't having setters for all fields compromise security? A field may not not need a setter, but rather be the result of computation.

Everyone uses the word bean, nobody seems to understand the advantages of writing your class as one, and when its suitable to do so. This is just generic examples of nothing...


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Is it possible for you to create for me a mobile a
View Tutorial          By: Meme at 2008-12-23 06:24:42

2. could u pls tell me whcih class is implemted by it
View Tutorial          By: AMIT at 2009-10-04 00:21:30

3. Hi Gaurav, The sample in this tutorial is just a c
View Tutorial          By: Ramlak at 2009-01-28 20:00:08

4. Amazing new function atoi() , it shows c,c++ are p
View Tutorial          By: Hari at 2009-05-05 22:20:17

5. Just what I was looking for. Thank you.
View Tutorial          By: Babool at 2008-05-08 08:32:50

6. Till now, I have'nt done any certifications. I am
View Tutorial          By: Subhash at 2012-03-15 10:48:29

7. This is Nice start for programmer '
Thanks

View Tutorial          By: Sagar Ikhankar at 2011-07-22 06:12:44

8. Answer for Comment 4 :

" n=n++

View Tutorial          By: NewB_of_java at 2012-02-16 16:52:05

9. plz send me 1 ex that will explain how to use conn
View Tutorial          By: abhijit marne at 2011-12-09 06:32:07

10. well an easy code to understand
thanks muc

View Tutorial          By: narmada at 2011-01-17 09:47:02