Tom,

Thanks for your feed back on GDS. I have one question for you though. When I
ran the simple Pojo example, I saw in the output from my Tomcat server that
GDS was using AMF0, although it was supposed to be using AMF3. Do you know
why that is?

Thanks,

Bruce

On 10/16/07, tomeuchre <[EMAIL PROTECTED]> wrote:
>
>
> I can tell you what my experience has been so far with Granite Data
> Services:
> 1) I installed Granite Data Services and was able to get the
> Graniteds-pojo example up and running in no time. It is clearly what
> it says it is -- a good replacement for FDS, although I have not
> tried the EJB or Spring versions.
> 2) I am able to have integrated Flex apps with the web app or I can
> run my Flex app from my Flex builder and have it remotely invoke my
> bean methods in my web app running separately. This was cool.
> 3) MY PROBLEM (and I am open for suggestions for users of GDS) is
> that my production web apps (not the test pojo beans/methods I use
> for the GDS tests) are JSP/JSF applications with managed beans. My
> problem for using GDS with RemoteObject calls into my managed beans
> is that the methods expect there to be a FacesContext in the
> dependent methods that are utilized in other utility beans (why not --
> it was built for JSP Pages after all.)
> This has caused me to spend several days trying to come up with a way
> to create a facescontext from nothing within the main bean I am
> calling remotely from Flex (with lifecycle, application,
> servletcontext, etc.) so that I can fool my utility beans that are
> being called to not throw nullargumentexceptions when there is no
> context. I have seen examples of how to do this in servelets, but I
> just can't come up with a way to do it in the bean. I could use
> HTTPservice calls to invoke jsp pages, but that's not quite as sexy
> as using remote object calls with RPC and Granite, and it ruins the
> ideal framework I was planning using Cairngorm-style delegates, etc.
>
> So....I thank the wonderful folks at Granite that have provided
> insight, but they are in a catch-22. They are so busy it seems
> putting in features that they don't have time to make really good
> documentation, so I spend a lot of time doing full LOG4J debug traces
> and stepping through code (yes -- I can run my separate Flex app
> started from FlexBuilder in Debug mode and step through my Flex app
> to the remote bean and back -- ain't it cool?)
>
> If I ever am able to create a FacesContext on demand in my bean when
> invoked by a remote call from Flex through GDS, then I will cry from
> the mountaintops in favor of GDS and urge Adobe to throw LCDS into
> the open-source realm, because GDS rocks and LCDS is keeping too many
> people away from using Flex. I want to use my existing web apps and
> their dozens of beans without having to change them (and add only a
> facade bean to interface to them -- if I can do that, there is no
> limit.)
>
> My two cents. I'll post updates when I have more, but it is very
> promising.
>
>  
>

Reply via email to