No obvious difference in performance when you are referring to
JavaBeans on Application Server (Assume your bean class do not look like serveral Mega bytes.)
When you are refering to Data Access Object in EJB 2.0 and the dao is huge in size, there can obvious drop in performance. For the dao with a lot of setter and getter and attributes, it is called fine-grained. It will create more network load if you always use lots of fine-grained dao.
The opposite of fine-grained is called coarse-grained.
Thanks! When should we prefer to use small beans over big beans. In addition, is there any security issues using beans. If yes what is it that we need to take of in our coding. Will appreciate your input.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.