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. Very good tutorial, but I have a small question he
View Tutorial          By: Mohammad NABIL at 2010-07-20 05:58:19

2. Hey thnx. Solved my "inconvinience" ;P
View Tutorial          By: Hesam Ossanloo at 2013-12-19 15:13:31

3. The name OAK was changed to java because ,once the
View Tutorial          By: Sowminarayanan at 2010-11-28 06:17:42

4. This is all the code that you need for creating dr
View Tutorial          By: subduedjoy at 2012-03-20 20:52:18

5. Great! Thanks!
View Tutorial          By: sciarp at 2008-05-11 05:04:17

6. some more examples should be given...
View Tutorial          By: flora at 2010-12-08 03:32:50

7. example is good for understand what is the functio
View Tutorial          By: Ankit Shukla at 2009-09-17 15:25:17

8. Can i have CreateAddressBook.java?? really need it
View Tutorial          By: KIM at 2012-12-02 11:45:20

9. tnx man that was short and well explained...
View Tutorial          By: jsf noob at 2012-02-02 13:24:12

10. It's so crazy to the adventures of J2ME side and w
View Tutorial          By: jaikarthik at 2009-01-18 23:42:42