-
1. Re: Weld GraniteDS Examples
diegocoronel Jan 16, 2010 9:58 PM (in response to mdesignz)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 :)
-
2. Re: Weld GraniteDS Examples
alin.heyoulin.qq.com Jan 17, 2010 6:16 AM (in response to mdesignz)I deploy it to tomcat 6.0.18 and work fine
-
3. Re: Weld GraniteDS Examples
william.drai Jan 17, 2010 5:40 PM (in response to mdesignz)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.
-
4. Re: Weld GraniteDS Examples
william.drai Jan 25, 2010 6:24 PM (in response to mdesignz)We have just released GraniteDS 2.1 RC2 with an updated CDI/Weld integration.
It now supports GlassFish v3 final and JBoss 6.0 M1 and brings a few improvements. See here for more details.
-
5. Re: Weld GraniteDS Examples
william.drai Jan 25, 2010 6:39 PM (in response to mdesignz)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
- CDI
- Bean Validation
William
-
6. Re: Weld GraniteDS Examples
mdesignz Jan 26, 2010 12:09 AM (in response to mdesignz)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.
-
7. Re: Weld GraniteDS Examples
pmuir Jan 26, 2010 3:11 PM (in response to mdesignz)William, are there any additional extensions you need adding to the Weld SPI? Are you having to depend on anything in Weld's core?
-
8. Re: Weld GraniteDS Examples
william.drai Jan 26, 2010 4:45 PM (in response to mdesignz)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 ;-). -
9. Re: Weld GraniteDS Examples
pmuir Jan 26, 2010 6:01 PM (in response to mdesignz)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?
-
10. Re: Weld GraniteDS Examples
mdesignz Feb 2, 2010 11:54 AM (in response to mdesignz)Hello,
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 -
11. Re: Weld GraniteDS Examples
mdesignz Feb 2, 2010 12:40 PM (in response to mdesignz)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.