Hi all,
can anyone tell me when should I use java beans instead of java?? I am working on and engine that runs and an application and has libraries (currently as separate packages and classes) which is basically a tool kit. wouldn't this be a good idea to use beans to build this.
hi deol,
Java bean is a java class which is reusable, a component! you do not remove java and use java beans, Instead you should make component that you can reuse again and again.
Read java bean in detail, they can be very helpful
-- Abdel Raoof Olakara
http://olakara.googlepages.com
thank you much for your response bud. I have read java beans but still there is a question in my mind. Are Java beans components only GUI components?? can you write code in the form of beans that doesn't really belong to a GUI??
Hi,deol
I think Java Beans are just like propreries wrapper class. They store values for fields, For example, Maybe where is a form on a web page,some fields should be input by you, we can use java beans as a wrapper object to store all these values.