aspose file tools*
The moose likes JSP and the fly likes  how to work on javabean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark " how to work on javabean " Watch " how to work on javabean " New topic
Author

how to work on javabean

saswat rashmi
Greenhorn

Joined: Jul 31, 2007
Posts: 14
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

Joined: Dec 11, 2004
Posts: 13410

Most servlet/JSP tutorials and books cover the use of JavaBeans in a web application.
Have you looked at any?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
praveen sharma
Ranch Hand

Joined: May 27, 2006
Posts: 44
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

Joined: Dec 28, 2006
Posts: 893
Maybe you should have a look at the following link

JavaBeans


Remko (My website)
SCJP 1.5, SCWCD 1.4, SCDJWS 1.4, SCBCD 1.5, ITIL(Manager), Prince2(Practitioner), Reading/ gaining experience for SCEA,
saswat rashmi
Greenhorn

Joined: Jul 31, 2007
Posts: 14
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

Joined: Jun 27, 2007
Posts: 41
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to work on javabean