A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
Web Component Certification (SCWCD/OCPJWCD)
bean method's convention
Joined: Aug 30, 2002
Mar 10, 2005 06:14:00
Can we declare mehtods in bean other than the standard naming convention(getter/setter) and call these mehtods in our
. If yes then it means that we can create a bean without any getter/setter mehtod. How it is?
Joined: Aug 04, 2004
Mar 10, 2005 07:44:00
I think we can't.
SCJP<br />SCWCD <br />ICSD(286)<br />MCP 70-216
Joined: Sep 10, 2004
Mar 10, 2005 09:47:00
I am not sure why you would want to...
If you declare methods in your bean, you
be able to use a tag library to access them. The functions in the bean would have to be public static and take a reference to your bean...
SCJP 1.4 SCWCD 1.4
I agree. Here's the link:
subject: bean method's convention
HFEJB mock question, Page 367
Questions about java bean
Showing Sequence No with datatable
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015