Thats something i really wanna see.. i think seam 3 will suppor it, the best choice for client side presentation is Flex... if anyone made some sample pls blog about it :)
I deploy it to tomcat 6.0.18 and work fine
The example from the GraniteDS 2.1 RC1 distribution used to work with JBoss 5.2.x and GlassFish v3 build 70.
A few things have changed since then in Weld, so you will have to get a nightly build or wait for RC2 (due very soon) to get something working with JBoss 6.0 M1 or GlassFish v3 final. I'll post an update on the GDS blog soon.
Also note that if you want to use Flex 4, you will also have to get a nightly build, Flex 4 SDK beta 2 has a major bug which breaks GraniteDS (build 13472 works fine for me).
All this stack is really on the edge, but once everything is set up, it's a pleasure to work with.
He youlin, that would be nice if you can post your setup for Tomcat, either here or on the GraniteDS forums.
Sorry clicked too fast on Save :( (would be nice to be able to edit posts)
We have just released GraniteDS 2.1 RC2 with an updated Flex and CDI/Weld integration.
It now supports GlassFish v3 final and JBoss 6.0 M1 and brings a few improvements. See here for more details.
The provided example for Flex/CDI integration demonstrates a collaborative address book and fully benefits from new JEE6 features, in particular in GFv3 :
- easy framework integration with Servlet 3
- scalable server push using Servlet 3 asynchronous support
- Bean Validation
Thanks William. I'll start looking at it this weekend. Is there any intent to use Maven in your build process? I'm just looking for good examples of using Maven / Flex within a multi-module project. The Sonatype stuff looks interesting.
William, are there any additional extensions you need adding to the Weld SPI? Are you having to depend on anything in Weld's core?
In fact the only dependency we have on Weld is the conversation handling but it's completely isolated in an interceptor class.
I had to copy/paste a whole pile of code from the JSF integration to begin and cleanup a conversation context, so I guess that would be very useful to have this ability in the standard SPI. Indeed I believe I have seen the same copy/paste somewhere in the Wicket integration ;-).
Yup, Nik is working on this - Nik, can you make sure to get William to review your changes to the Conversation Manangement APIs when it done?
Unfortunately, according to the FlexMojos guys (and my own testing), the FlexMojos generator isn't yet compatible with GraniteDS 2.1.RC2, so I need to use 2.0.x
I posted too soon. Based on a comment from William Drai, I was able to get FlexMojos (3.6-SNAPSHOT) workign with GraniteDS 2.1.RC2. When I get a complete example working, I'll post the POMs.