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 J Boyersmith <mj...@us.ibm.com> on 2005/01/28 20:22:47 UTC

velocity and JET (java emitter templates)

Hi Does anyone have any any experience working with both of these template 
technologies?

I'm evaluating both and trying to get a feel for what they can and can't 
do, so far
I'm getting the impression that velocity provides a more flexible solution 
but wondering

whats your experiences out there might have been with both. 


Re: velocity and JET (java emitter templates)

Posted by Shinobu Kawai <sh...@gmail.com>.
Hi Mike,

Thanks for the report.  I'm sure it will be of value to other people
who will consider the template engines in the future.

## Somebody might want to make an xdoc/wiki page for this.  :)

> >>Sorry, I don't know anything about JET, but I was wondering if you
> >>could share with us what you have found about the two.
> >>Shinobu "Kawai" Yoshida <sh...@gmail.com>
> 
> Sure thing, What I have found is that JET or Java Emitter Templates is an
> Eclipse technology www.eclipse.org and part of EMF (though I'm sure it
> could have been made a separate plugin).
> Similar to Velocity, JET takes templates, script and data objects and
> merges the three to create a final output.
> JET uses a JSP like scripting language. JET also allows full translation
> from templates to resulting output
> or you can compile your templates to java classes, and simply invoke the
> java class.
> 
> If your interested in this I have found two really good tutorials on the
> technology which can be found at:
> 
> http://www.eclipse.org/articles/Article-JET/jet_tutorial1.html
> and
> http://www.eclipse.org/articles/Article-JET2/jet_tutorial2.html
> 
> I haven't really come to any conclusions other than JET is built into
> eclipse and supports eclipse projects. The few tests I have
> ran with JET have been very favorable, I didn't run into any problems with
> what I Was trying to do.
> 
> Performance wise I have no ideas how the two compare, though the compile
> to class feature might be nice.
> 
> ALSO I thought I'd mention that while I was researching JET I ran into
> another new technology that is for reporting
> that is being worked on called BIRT (B.I.R.T.). Business Intelligence and
> Reporting Tools,  take a look at
> 
> http://www.eclipse.org/birt/
> 
> Though thats about the extent of my knowledge at this point on it.

Best regards,
-- Shinobu

--
Shinobu Kawai <sh...@gmail.com>

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Re: velocity and JET (java emitter templates)

Posted by Mike J Boyersmith <mj...@us.ibm.com>.
>>Sorry, I don't know anything about JET, but I was wondering if you
>>could share with us what you have found about the two. 
>>Shinobu "Kawai" Yoshida <sh...@gmail.com>


Sure thing, What I have found is that JET or Java Emitter Templates is an 
Eclipse technology www.eclipse.org and part of EMF (though I'm sure it 
could have been made a separate plugin). 
Similar to Velocity, JET takes templates, script and data objects and 
merges the three to create a final output.
JET uses a JSP like scripting language. JET also allows full translation 
from templates to resulting output
or you can compile your templates to java classes, and simply invoke the 
java class. 

If your interested in this I have found two really good tutorials on the 
technology which can be found at:

http://www.eclipse.org/articles/Article-JET/jet_tutorial1.html
and
http://www.eclipse.org/articles/Article-JET2/jet_tutorial2.html

I haven't really come to any conclusions other than JET is built into 
eclipse and supports eclipse projects. The few tests I have
ran with JET have been very favorable, I didn't run into any problems with 
what I Was trying to do. 

Performance wise I have no ideas how the two compare, though the compile 
to class feature might be nice. 

ALSO I thought I'd mention that while I was researching JET I ran into 
another new technology that is for reporting 
that is being worked on called BIRT (B.I.R.T.). Business Intelligence and 
Reporting Tools,  take a look at 

http://www.eclipse.org/birt/

Though thats about the extent of my knowledge at this point on it. 

Re: velocity and JET (java emitter templates)

Posted by Shinobu Kawai <sh...@gmail.com>.
Hi Mike,

> Hi Does anyone have any any experience working with both of these template
> technologies?
> 
> I'm evaluating both and trying to get a feel for what they can and can't
> do, so far
> I'm getting the impression that velocity provides a more flexible solution
> but wondering
> 
> whats your experiences out there might have been with both.

Sorry, I don't know anything about JET, but I was wondering if you
could share with us what you have found about the two.  Maybe we can
add a new page under "Comparisons".  :)

Best regards,
-- Shinobu

--
Shinobu "Kawai" Yoshida <sh...@gmail.com>

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org