Geir Magnusson Jr. wrote, On 7/20/2005 4:53 PM:
On Jul 20, 2005, at 12:21 AM, Alan D. Cabrera wrote:
David Jencks wrote, On 7/20/2005 7:04 AM:
I'm against making coarser grained gbeans for this. In fact, I
would prefer to see gbeans for servlets, servlet mappings, and
filters as well.
I like the idea of a coarser grained GBean for simpler
configurations. Are the reasons for your preference for these
"detail" GBeans purely for management?
I like the idea too, for the user (and keep dealing with fine-grained
optional...)
If this is really a problem (i.e. it is something users will
actually want to configure rather than always using our setup) IMO
the way to fix it is with a specialized builder. An example is the
login config builder.
I don't like the idea of GBeans being factories for other GBeans. I
think that the GBean configuration should be frozen at deployment
time. With that said, I like your preference for a specialized
builder.
So the builder would create any fine-grained beans that the user
didn't specify by default?
Yes, that was what I was thinking.
Regards,
Alan