GraniteDS has examples for Seam (and will integrate with CDI). Weld doesn't care who integrates with it and pulls data/access the contexts etc.
even though JBoss Seam provides a lot more features, they do not necessarily make sense with a RIA front-end.
I am a newbie in Flex but am interested in integrating Flex eventually with Seam and/or CDI implementation.
I was reading the first chapter of Flex 3 in Action last night (I love Manning books). I observed a couple of possible advantages of using Flex (or possibly RIA in general) over JSF:
1) solves cross-browser support (e.g. no more of this
bug in IE but not in FF for same test case, etc.)
2) AMF3 protocol (binary ActionScript) to quickly transfer large sets of data from business tier to presentation tier. With AJAX (XML in particular), there is lots of XML data being shuttled across the wire (message payload) which is not good in terms of performance. There was something about RMTP, and publish/subscribe model rather than using AJAX polling to dynamically update your web pages.
AMF encodes remote procedure calls into a compact binary representation that can be transferred over HTTP/HTTPS or the RTMP/RTMPS protocol used by Flash Media Server. Objects and data values are serialized into this binary format, which is generally more compact than other representations, such as XML.
this does not include the aesthetic aspects (flashier front-ends) and charting support among many other things...
but the proprietary nature of the product (e.g. no JSR?) makes a disadvantage although I believe the SDK was open-sourced.
Also, what are the differences b/n Seam remoting and AMF3 protocol (wondering if Seam remoting is binary-based as well)?
Anyway, are there any general recommendations on using EE6/CDI and JSF2/RF4 vs. EE6/CDI with Flex3/4?
I am also interested in knowing how I can use Hibernate manual flush (yes, now I know it's a CDI PE feature in Seam3) with Flex or perhaps manual flush is independent of what presentation tier technology you're using...
I have a feeling that the official Redhat/JBoss
supportedrecommendation is JSF2/RF4 with CDI or Seam3. RIAs are not supported more likely...
I heard that Silverlight uses C# classes, not something like ActionScript, which is better potentially in terms of debugging, reusability and portability...