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. I am looking for a J2ME programmer that can create
View Tutorial          By: Gary Wallis at 2007-10-14 15:35:00

2. Nice Intro to start J2Me
View Tutorial          By: Mak at 2009-07-04 10:36:00

3. sir i want this following pattern using loops

View Tutorial          By: teju at 2015-09-13 22:46:58

4. Thanks ,It is very useful...
View Tutorial          By: SABARISH at 2014-08-08 05:46:43

5. Hi, thank you so much for this. I am going to give
View Tutorial          By: Eddie at 2011-02-21 14:10:04

6. Please don't use DataInputStream to read text. Unf
View Tutorial          By: Peter Lawrey at 2013-01-30 23:46:47

7. 27: What happens if the producer and the customer
View Tutorial          By: Spender at 2010-07-25 14:42:08

8. # include <iostream.h>
void main()
View Tutorial          By: Ali Jafar at 2011-09-18 03:47:47

9. very good example and explanation. This kind of p
View Tutorial          By: jagdish at 2011-07-03 15:15:02

10. hiiis
i m working on project related to SM

View Tutorial          By: Parveen at 2008-08-08 13:23:20