No ext-scripting uses some myfaces impl internals,
the 1.0 version definitely will not work in Mojarra.
The reason for now is we use internals of the impl, to get things going
like the bean reloading of application and session scoped beans.
Those parts are not big and maybe in the end can be added into framework
adapters, but I am pretty sure while not knowing the internals of
mojarra that some extensions to mojarra have to be done as well.
(We had to do that as well in myfaces on the classloading and startup
part of the impl)
Werner
Kito Mann schrieb:
Werner, do you know if ext-scripting will work in Mojarra?
---
Kito D. Mann | twitter: kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info |
twitter: jsfcentral
+1 203-404-4848 x3
Sign up for the JSFCentral newsletter: http://oi.vresp.com/?fid=ac048d0e17
On Wed, Dec 9, 2009 at 4:42 PM, Werner Punz <[email protected]
<mailto:[email protected]>> wrote:
Hello everyone I just wanted to give a small report regarding
ext-scripting.
The status looks very good, I am getting very close to a possible
alpha release, I have two big open things (and a handful of minor
ones, like dropping qdox and and class rewriting, and finally fixing
the dreaded windows issues)
The one I am working now on is concurrency/aka multiuser handling,
that is being worked on currently, the other is JSF2 Groovy
annotation support, that will be the next task.
After that bugfixing and then I will make a vote for an alpha release.
I will start to work on the documentation post alpha!
So I am right in time to get it at least up to beta status for the
JSF days.
Anyway here is what you will get for 1.0
Groovy Support:
JSF Artefacts, Bean reloading (also session and application beans),
JSF2 dynamic annotation support
Java Support:
JSP like dynamic recompilation and reloading für all JSF artefacts,
dynamic Bean reloading, also for session and application scoped beans.
JSP like dynamic recompilation also for annotated JSF2 artefacts!
(most of you probably have seen my youtube video)
Currently all this works as a simple plugin to myfaces with a few
parameters in the web.xml and for now I could avoid any javaagents
to be set!
I guess with all this we will be way ahead of what Mojarra currently
can deliver.
Post 1.0: My plan is once the core is stable enough to integrate
as many scripting languages as possible. Currently we can support
pretty much every scripting language which can compile against the VM.
So possible candidates are Scala, JRuby and Jython.
Also Kito asked me for portlet support, currently not supported, but
this one is also an important post 1.0 target to aim for.
Theoretically it would be possible also to support the Java
scripting API but from what I have seen the API is very limiting.
I dont think I will ever try to integrate it at least I dont have
any plans to do it for now, I also dont think it will be needed in
the forseeable future since more and more scripting languages seem to
target the VM directly with their compilers.
Werner