You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Mike Williams <mi...@cortexebusiness.com.au> on 2001/12/02 23:36:34 UTC
XDoclet w/ Velocity
Geir> What is xdoclet?
Konstantin> http://www.sourceforge.net/projects/xdoclet
Geir> That's wild. I wonder if they would use Velocity for templating :)
I've been working on just such a thing: an EJB code-generator using
Velocity. Unfortunately, my employer wants to keep it in-house at the
moment, but there's a chance that I might convince them to release it as
open-source eventually.
My experience so far has been that doing it with Velocity has made for a
much cleaner, MVC-ish design. And the templates are considerably more
readable than the XDoclet equivalents. Of course, I haven't matched all of
their functionality yet :-)
--
cheers, Mike
"In the beginning the Universe was created. This has made a lot of people
very angry and been widely regarded as a bad move."
-- Douglas Adams
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: XDoclet w/ Velocity
Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
On 12/2/01 5:36 PM, "Mike Williams" <mi...@cortexebusiness.com.au> wrote:
> Geir> What is xdoclet?
>
> Konstantin> http://www.sourceforge.net/projects/xdoclet
>
> Geir> That's wild. I wonder if they would use Velocity for templating :)
>
> I've been working on just such a thing: an EJB code-generator using
> Velocity. Unfortunately, my employer wants to keep it in-house at the
> moment, but there's a chance that I might convince them to release it as
> open-source eventually.
That would be cool. Please try.
>
> My experience so far has been that doing it with Velocity has made for a
> much cleaner, MVC-ish design. And the templates are considerably more
> readable than the XDoclet equivalents. Of course, I haven't matched all of
> their functionality yet :-)
Yah, I know that feeling. I like generating XML with Velocity because the
control and logic stand out. Using XSLT, for example, it all becomes a blur
for me. JSP too, to some degree as well...
--
Geir Magnusson Jr. geirm@optonline.net
System and Software Consulting
"They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety." - Benjamin Franklin
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>