Hello !
My project is a little more advanced, so I spent some time refactoring
the code. Along this refactoring, I saw that I have a lot if component
and class that inherit a base page (yes, that's why I have a base page ;).
I inject on this page some quite common services (for example, an
authorization service).
So, what is the best pattern, in regard of Tapestry 5, for a page or
component that extends my page base : inject (again) the services, or
get it from the parent (what suppose that these services have matching
getter in the base page).
I believe injection is cheap, but a base page is here to provide common
services, so I'm prone to choose the inherit pattern.
What do you think about it ?
--
Francois Armand
Etudes & Développements J2EE
Groupe Linagora - http://www.linagora.com
Tél.: +33 (0)1 58 18 68 28
-----------
InterLDAP - http://interldap.org
FederID - http://www.federid.org/
Open Source identities management and federation
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]