On Wed, 2004-03-24 at 08:53, Peremsk� Jan wrote:
> What will be the impact of 'metadata' feature of J2SE1.5 on future
> versions of XDoclet?

It'll change; how remains to be seen.

Since the XDoclet 2 (or, more specifically, Generama) architecture
allows for pluggable metadata providers, I'd imagine there'll be one for
"normal" javadoc metadata (QDox) and one for 1.5 "standard" metadata
(QDox again, if they add support for it, or something else if they
don't).  Probably with a layer of abstraction so that the templates
won't know or care which of them was used.

On the output front, it'll make some of XDoclet unnecessary; when your
app server can read the 1.5 metadata attributes to determine e.g.
transaction behaviour instead of having it in a separate XML file, you
won't need XDoclet to generate it in the DD any more.  And the stuff in
the DD that can't be replaced by attributes in the class is generally
the stuff that you'd have put in merge files anyway rather than in @tags
(as it depends too much on the environment you're deploying to), so you
won't need XDoclet for that either, just a text editor.

There's plenty of other code generation tasks that it'll be useful for,
though - facade classes come to mind, DAOs, possibly home/remote
interfaces still (unless they replace them with dynamic proxies or
something in a future version of J2EE).  So there'll still be a place
for XDoclet, just not the same niche it occupies now.  And, of course,
plenty of people will be sticking with earlier JDK for a long time yet.

It'll be interesting to see how things turn out.  No doubt in another
few years the 1.5-style attributes will be just as unfashionable, and be
replaced by a new silver bullet.  Still, if IT didn't keep inventing new
ways of doing the same things, we'd soon be out of work ;-)


Andrew.



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to