vendredi 11 septembre 2015

Using java beans / command / java class with getter setter almost same every where is good practive

We are using Spring, Hibernate and DWR in our web application and I have question regarding using of beans / command in application.

Currently we are reusing most of beans where ever its possible. So at some places we need only 3-4 fields and that are available in one bean but that bean also have other many fields (in many cases this other fields are more that 20-25).

So is this creates any problem or its perfectly okay.

Thanks.

Aucun commentaire:

Enregistrer un commentaire