What are JavaBeans?

GreyMan

New Member
I've read a little bit about JavaBeans, but I'm still somewhat <br />
unclear as to what they actually are, and what they're used for.<br />
<br />
Can somebody explain to me what they are, and possibly provide an<br />
example?<br />
<br />
Thanks.<br />
 

JimKata

New Member
javeBeans are reusuable Java classes that you can implement in your project. Wikipedia has a greate write up and example. Check it out.
 

fede_dev

New Member
Javabeans are reusable software programs that you can develop and assemble easily to create sophisticated applications
They are used to encapsulate many objects into a single object (the bean), so that the bean can be passed around rather than the individual objects.

You could find example and a basic tutorial at this link

http//java.sun.com/developer/onlineTraining/Beans/bean01/page2.html

Today you could found more documentation in EJB subject.

EJB (enterprise java beans) from wikipedia
The EJB specification intends to provide a standard way to implement the back-end 'business' code typically found in enterprise applications (as opposed to 'front-end' user-interface code). Such code was frequently found to reproduce the same types of problems, and it was found that solutions to these problems are often repeatedly re-implemented by programmers. Enterprise Java Beans were intended to handle such common concerns as persistence, transactional integrity, and security in a standard way, leaving programmers free to concentrate on the particular problem at hand.

http//en.wikipedia.org/wiki/Ejb

You could found other info about javabeans and ejb here

http//www.aurorainfo.com/wp10/index.htm

bye
fede
 
Top