This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
This is a general coding question, Whicj would be the best method and why, using an object to store a lot of data such as a vector of objects. Or using a bean to hold the vector of objects. As I see it a object can be used the same as a bean. When should I use a bean and when should I use an odinary object. Thanks for any info Tony
The distinction you are making isn't clear. A bean is an "ordinary" object that just follows some conventions that make it easy to access. In that light, I make all objects that are exposed on-page bean-patterned since that makes their properties easy to access through the JSP and JSTL actions without having to resort to on-page Java.