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



Ask a Question

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. Thanks for the info
View Tutorial          By: info at 2010-01-31 12:17:58

2. Good explanation... very helpfull
View Tutorial          By: Ananth at 2009-02-02 00:26:05

3. In the above program, the instance variables like
View Tutorial          By: Abhikumar.M at 2012-08-02 17:25:55

4. great resource
View Tutorial          By: Anonymous at 2011-04-14 03:14:43

5. thank u sir ,this helped a lot
************

View Tutorial          By: yugandharr at 2012-09-11 15:47:19

6. Can anybody tell the steps to go ahead with the ex
View Tutorial          By: Sunpenn at 2009-10-12 03:57:58

7. Hi,
Even if the while loops (in Producer an

View Tutorial          By: Pranay at 2012-09-19 19:08:45

8. Hi Mirna,
U r talking abt speech to text co

View Tutorial          By: akshat at 2012-04-02 14:38:31

9. hey,m i suspend the process before start to execut
View Tutorial          By: koustubh nakate at 2010-04-01 22:16:16

10. i want my program to allow more than one trainee&a
View Tutorial          By: carl at 2011-01-30 22:21:21