________________________________
Hi, 

I'm trying to understand JSF application development by creating a Contacts 
Management page. I have the list of contacts in a XML format - each contact 
represented by a ContactBean, incidentally the backing bean.

Does it make good sense to separate the event handling methods of the backing 
bean to a more meaningful say, ContactsHandler class and leave the ContactBean 
with just the getters and setters. I read one good thing about JSF is to tie 
the action methods on the properties of the beans in the backing bean class. 
Does such a thing in this case - having all the updating methods, summary 
results etc, add any performance overhead? Also, how would I handle such a Bean 
- at the session level or the request level?

Thanks 
Bala 
/________________________________

I try to consider the ManagedBean as the single point of view-logic for a 
use-case.
And then the primary event-handling is concentrated in the MB.
The MB will then talk to its busines-logic partner using DTO's as data-trasnport
vehicles.

hth
Alexander

Reply via email to