> ok - I had a thought that maybe we could shift the dependency from the
b/e
> developers needing struts.jar to the f/e developers needing the ejb
source
> by running the struts form task inside the webdoclet, but got a
> ClassCastException with DocletContext - didn't look into it, not sure
if
> I am trying to bend things too far, or if its even a workable
workaround.
Though I really don't think the whole idea of generating ActionForm from
ejb is a good thing, but I do think that ejb->form is better than
form->ejb.
The case is really similar to dataobjects. In fact I think it's more
correct to generate an ActionForm by deriving it from the generated
dataobject. But how to handle the validate method? I think the answer is
a separate Validator object that operates on this ActionForm, more in
par with javabeans' propertylistener/etc, and it can be used by both web
tier and ejb tier.
That's the 'pattern' I have in my mind about it.
Ara.
> the other option I see is to put the generated form src somewhere that
it
> doesn't need to be compiled and have the f/e developers pick it up and
> compile it, so when the b/e devs give the f/e guys their ejb
interfaces,
> they also give them this source...? seems a nice middle ground to me.
>
> anyway, g'night (o:
> dim
>
> On Sun, 2 Sep 2001, Dmitri Colebatch wrote:
>
> > Update of /cvsroot/xdoclet/xdoclet/core/samples/script
> > In directory usw-pr-cvs1:/tmp/cvs-serv32079/core/samples/script
> >
> > Modified Files:
> > build.xml
> > Log Message:
> > Initial import of struts form generation based on entity
> > beans.
> >
> > _______________________________________________
> > Xdoclet-devel mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
> >
>
>
> _______________________________________________
> Xdoclet-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel