[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2141) Support for EL without reflection for better JSF performance

Mikhail Grushinskiy (JIRA) jira-events at lists.jboss.org
Thu Nov 8 23:02:56 EST 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-2141?page=comments#action_12386773 ] 
            
Mikhail Grushinskiy commented on JBSEAM-2141:
---------------------------------------------

"Compiling the JSP EL to bytecode" by Chris Nokleberg

http://sixlegs.com/blog/java/compiled-el.html 

looks very interesting...

Quote:

>This zip file ( http://sixlegs.com/misc/el.zip ) includes the entire project: Ant build file, JUnit tests, and all
>the necessary libraries. It uses ASM 3.0 (beta) for bytecode generation, and
>Jar Jar Links ( http://jarjar.sf.net/ ) to embed the ASM libraries when building the library Jar file. The source uses 
>the same license as GNU Classpath (GPL with library >exception).
...
>If people are interested in working on the code, let me know and I'll register a project somewhere like SourceForge.

I hope JBoss could consider it for its JBoss-EL implementation




> Support for EL without reflection for better JSF performance
> ------------------------------------------------------------
>
>                 Key: JBSEAM-2141
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2141
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: EL
>            Reporter: Mikhail Grushinskiy
>
> Support for EL without reflection for better JSF performance.
> The idea is to add a new tag to declare types of the variables used on a page and use this type information
> to compile EL expressions into byte-code during initialization (deployment)
> Ex:
> If the page contains at the beginning
> <s:typedef var="myBean" class="com.company.package.Bean" />
> then all EL expressions can be compiled into bytecode at initialization time (and no reflection will be used for myBean access.
> <h:outputText value="#{myBean.subBean.property}" rendered="#{myBean.renderText}" />
> Some examples of implementation of compiled EL can be found here 
> http://sixlegs.com/blog/java/compiled-el.html
> This should help much with JSF performance issues
> Thanks

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list