Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Explain the difference between, Java Class and Bean?

Answer Posted / almeja del río

from:
http://forums.sun.com/thread.jspa?threadID=526214


Java Beans follow the Bean conventions:

(1) Default, no-arg ctor,
(2) Serializable,
(3) getX()/setX() or isX()/setX() naming convention for
read/write access to private data member X,
(4) Can use java.bean.PropertyChangeEvent to notify
interested parties when values change.
(5) Can use java.bean.PropertyChangeListener to register for
notification when a particular property changes.

"Normal" Java classes aren't required to follow any of these
conventions.

There's a great
[url=http://java.sun.com/docs/books/tutorial/javabeans/]tutorial[/url]
on Java Beans from Sun.

Is This Answer Correct ?    12 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the architectural relationship between JavaBeans and JTA?

3021


Is soap stateless or stateful?

1012


How does ejb invocation take place?

1018


How does ejb container work?

957


What is EJB server provider?

1114


What is ejb ql?

1069


What are the various types of entity beam?

1017


Mention the three levels for applying interceptor methods.

1009


Is ejb be called from another ejb? If yes then how?

986


How entity beans support container managed persistence?

2450


What is the difference between ejbcreate() and ejbpostcreate?

952


What is @injectmock?

936


What is the difference between @requestparam and @pathvariable?

973


How can enterprise javabeans be accessed from active server pages?

1025


How does ejb invocation happens?

995