geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan D. Cabrera" <...@toolazydogs.com>
Subject RE: [jira] Commented: (GERONIMO-454) Support Group Name = Role Name Role Mapping
Date Thu, 06 Jan 2005 00:12:52 GMT


> -----Original Message-----
> From: Dain Sundstrom [mailto:dsundstrom@gluecode.com]
> Sent: Wednesday, January 05, 2005 11:43 AM
> 
> On Jan 5, 2005, at 7:06 AM, Alan D. Cabrera wrote:
> 
> >> From: Dain Sundstrom [mailto:dsundstrom@gluecode.com]
> >>
> >> On Jan 4, 2005, at 7:54 AM, Alan Cabrera (JIRA) wrote:
> >>
> >>>      [
> >>> http://issues.apache.org/jira/browse/GERONIMO-454?
> >>> page=comments#action_57267 ]
> >>>
> >>> Alan Cabrera commented on GERONIMO-454:
> >>> ---------------------------------------
> >>>
> >>> Automapping at the "descriptor" level is a bad idea.  This should
be
> >>> done in the deployment tool where the deployer can review the
> >>> automapping.
> >>
> >> Then how do we do it given that our deployment tool is a
> >> non-interactive command line tool?
> >
> > We could enhance the non-interactive command line tool to provide
those
> > features that seem compelling for its typical use cases.
> > Auto-generating role mappings with no review strikes me as a scary
> > thing.
> 
> Isn't this the palace of deployment descriptors?  We have this same
> problem is CMP.  May administrators find it scary to auto map a cmp
> bean to their database, but that is exactly what users demand.
Anyway,
> I think anything you can do with a gui tool we need to support in our
> batch command line tool.  This is also the interface that maven and
ant
> builds will use, so I strongly we really do need to support this
> without user interaction (and without having to write vendor
deployment
> descriptors).

I am not arguing against automapping, I am arguing against automapping
taking place at after the delivery of the DDs.  I am also not arguing
for users writing our DDs directly.

Your analogy to CMP mapping is not quite the same as automapping of
roles for a number of reasons.  DB schema is not as likely to change and
when it does, the results are immediately known; role automapping can
have unwanted results that may not be discovered for a long time, if
ever.  The CMP automapping always results in the exact same mapping, the
role automapping does not.


Regards,
Alan



Mime
View raw message