Hi,
I was wondering what do experts recommend:
inside Action�s execute method we should pass the attributes to the Facade
or create the business objects in the Action and pass them on?
1)
execute(....){
Facade.addUser(name, surname, login, birth, ....);
}
or
2)
execute(....){
User u = new User();
u.setName(name);
u.setSurname(surname);
......others setters.
Facade.addUser(u);
}
Tks
Felipe
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]