Either will work.
But what happens when you want to override
a property for a specific bean.
JBoss-3.0.5+ allows you specify system properties
in the *-service.xml
So you can set the system property to a default,
then use it for an attribute
If you need to not use the default, just change
the attribute to something more concrete.
Global defaults, like global variables have drawbacks.