I'd like to test them and think this is a huge opportunity for Struts 2. I
am, however, surprised that you're only seeing a 30% improvement. I would
have thought it would have been orders of magnitude better. I know your
profiling is probably rudimentary at this point and the code hasn't been
tuned yet so there's probably still more performance to be had. Great news
for the framework in my opinion!

On Tue, Dec 16, 2008 at 1:14 PM, Musachy Barroso <musa...@gmail.com> wrote:

> Hi all,
>
> anyone up for beta testing the java templates? These are the steps to try
> them
>
> 1.Check out src from
>
> https://svn.apache.org/repos/asf/struts/sandbox/trunk/struts2-javatemplates-plugin
> 2. Build them and install them
> 3. Add them to your web app
>  <dependency>
>       <groupId>org.apache.struts</groupId>
>       <artifactId>struts2-javatemplates-plugin</artifactId>
>       <version>2.1.3-SNAPSHOT</version>
>  </dependency>
> 4. Set this in your struts.xml:
>  <constant name="struts.ui.templateSuffix" value="java" />
>  <constant name="struts.ui.theme" value="simple" />
> 5. ...
> 6. Profit!
>
> Couldn't avoid the South Park reference :). The supported tags are:
>
> text,select,form,a,checkbox,file,password,label,reset,submit,textarea,actionerror,token,actionmessage,head,hidden,fielderror,div
>
> On my very superficial benchmarking, they are around 30% faster than
> the regular tags. Feedback always welcome.
>
> musachy
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> For additional commands, e-mail: dev-h...@struts.apache.org
>
>

Reply via email to