On Tue, 4 Dec 2001, Janos Mucsi wrote:

> I think what you are suggesting is maintaining 3 separate files. The same
> problem remains: I need to regenerate them. Our product is fairly dynamic,
> the user creates certain objects, these become EJB's, the user tests them
> (this involves generating Java files, xml files, compiling, creating and
> deploying the ear file, etc.), so maybe I can't afford to regenerate
> session-beans.xml, entity-beans.xml and message-driven-beans.xml everytime
> and merge them in.

you've said that you "need to regenerate them" and "can't afford to
regenerate session-beans.xml, entity-beans.xml and
message-driven-beans.xml everytime and merge them in".  I assume what you
mean is that you cant do it manually.  yeah?  anyway, with that
assumption...

ok, so you have program, presumably a gui, that allows the user to create
beans without coding, or thats what it sounds like...?  in any case, you
somehow generate these beans, and have source code.  You then want xdoclet
to take the source code, and create snippets of ejb-jar.xml yeah?  the
templates approach should do this for your... not sure if some changes
would be required, but off the top of my head, it would do exactly as you
want... I'll check it tonight - to be honest I've never used the template
stuff... never needed to, but from what I know what I suggested will work
fine.  

> What are parallel merge points?

what app server are you using?  afaik all app servers have their own
vendor file(s)... jboss 2.4 has jboss.xml and jaws.xml in addition to
ejb-jar.xml.  so, presumably you would also need snippets of those files
yes?  by parallel merge points I meant places where you could also add
jboss.xml bits into the generated jboss.xml

> I need the specific steps with sample templates/xml files if you think this
> is doable.

not sure how much is in the docs... I'll have a look tonight, so hopefully
in another 8 hours or so I should be able to give you some more info.

hth
dim


_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to