• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Why do i call a Java Bean a Java Bean ?

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

i have this doubt hitting me hard ? why do i call a Java Bean a Java Bean. only that i store properties and retrieve them and it seems no different from any Java file. Can any one enlighten me as to whether there is any special significance attached to being called Java BEAN ?
 
Ranch Hand
Posts: 1209
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

i agree, any java file can be made a java bean by following certain naming conventions.
If that bean happens to be a Visual Bean then the user automatically understands that it w'd probably respond to other events as well. By the way C# has built in the idea of a property in the language itself which is quite innovative.
Just my thoughts.
karthik.
 
Ranch Hand
Posts: 547
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
i think your right, there is no much difference between a class and a bean.
if you stick to these naming conventions, then you can use visual tools to put your beans together (as the BDK).
these tools use introspection (i guess) and rely on the correct naming of methods and variables. thats about it.

pascal
 
reply
    Bookmark Topic Watch Topic
  • New Topic