can I add other methods other tahn getter/setters in java bean ?
posted 15 years ago
You can add as many methods to a bean as you would like, but only methods that follow the bean specification/convention will be exposed. Beans are just class files and can be created like any other class file so methods can be accessed like any class file. The bean convention is only so IDEs can easily grab a component and expose it to a user.