File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Beans ................... Help!!!!!!!!!

 
sunil mirani
Ranch Hand
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,
I am new to java beans .. can any one tell me what are the steps involved in creating java beans .. ??
where can i get some info on how to create java beans..
i want the beans to be non visual components..
can any one send me some code or links to where i can get some info on this stuff ..
thanx
Sunil
 
Iain Lowe
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try http://java.sun.com/beans for more information. JavaBeans are classes that expose their properties and methods in a certain way and are Serializable.

This is an example of an extremely simple JavaBean. If you load it into the BDK you will be able to view and edit the "name" property.
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sunil -
Beans are the Java term for component development. They mirror similar constructs like OLE/ActiveX components in that they expose a class as collection of properties. Visual properties like size and color of course included but it's possible to extend the model and treat behavior as a property.
I've taught the subject for a couple of years now, so I'm accustomed to asking: you sure you're not talking about Enterprise JavaBeans (EJBs)? These are quite different; they are somewhat similar in concept to regular old JavaBeans, but that's about it. Just in case that's what you really want, visit the EJB forum for more.
------------------
Michael Ernest, co-author of: The Complete Java 2 Certification Study Guide
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic