Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to work on javabean

 
saswat rashmi
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi every one,

i want to know how to work on javabean as i am usinf netbeans5.5.i want to learn jabvabean.
can anyone tell me about the javabean.what is the basic fundamental of java bean .why we are using.and were i can use.
waht is the advantagehow it makes jsp program easy to maitain.it will be bettter if anyone can expalin me woth example
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most servlet/JSP tutorials and books cover the use of JavaBeans in a web application.
Have you looked at any?
 
praveen sharma
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

JAVA bean is just like a normal class.well this class contains getter and setter method with respect to attributes you specify in the class.suppose if you have declared any field/attribute as name then its corresponding getter/setter method would be and keep a note that first char of name must be in capital letter. getter / setter function.if you let it be small then during compile time an error will pop up.Most important thing i forgotten to told you is JAVA bean are used to hold data.


BYE
PRAVEEN
 
Remko Strating
Ranch Hand
Posts: 893
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe you should have a look at the following link

JavaBeans
 
saswat rashmi
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi praveen

thanku for answering

now i have got an idea of java bean .now i want to implement in my program

thanku
 
Sahid Khan
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if you let it be small then during compile time an error will pop up.


will it really? Your jstl may fail, but java compiler will not complain I guess.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic