So does AMF; it's just transferring binary data instead of ASCII data. The reason you need a server side piece is to translate that binary data into something usable by the application server. I will admit, I responded to your e-mail without reading the original question; though. So, if I was out of line I apologize.
Wesley Acheson wrote:
Yes I know. I guess I got the impression from the origional post he was trying to directly communicate from java. I also thought rest and SOAP went over http?



On Fri, Jul 24, 2009 at 11:02 PM, Jeffry Houser <[email protected] <mailto:[email protected]>> wrote:




     I don't think your post is completely accurate.  Flex can connect
    to any backend including Java using SOAP Webservices or REST
Webservices which do not require BlazeDS or anything similar.
    Wesley Acheson wrote:
    I think you may be a bit confused.  Flex won't talk directly to a
    Java server application without something like BlazeDS in the
    backend (or by making http requests).  Its a different model to
    Struts which generates your view directly, and handles the
    response from it automatically.  Session handling can be done in
    the normal way except you have to realise that any data that
    changes on the server has to be sent to the flex app.  Any data
    thats on the client has to be sent to the Java app.

    For your question about EJB from flex again look at BlazeDS.  Try
    taking a look at the sample applications.

    Regards,

    Wesley Acheson

    On Thu, Jul 23, 2009 at 8:23 PM, guess what
    <[email protected] <mailto:[email protected]>> wrote:


        I am struggling to get the Best Architecture. Can anyone
        suggest me some direction .
        Its a very simple Web App , which needs some data grid and
        filters on the page .


        Front End Flex
        This has to be used : EJB 3.0 , JPA
        Back End - Oracle .

        Having just worked with Struts and Beehive technologies I am
        used to having a Controller
        and My Flex Front End  would talk to a controller .
        Now that if I dont have a Front End Controller(Struts Action)
        , if do  have user input page how can i pass
        values to the  EJB 3.0 from flex .


        Some other Questions

        1. I am not sure how to do basic Session Handling of the App
        directly on the Flex Page .
        2. Load App Related Properties  :
             Here even , if I have an initialize Servlet and Load all
app properties into my Stateful Session Bean inside my Servlet .
               How to access the bean directly  from inside Flex and
        change the properties of Stateful Session bean
        3.  User Input Page values : How to pass them back and Forth





        ------------------------------------

        --
        Flexcoders Mailing List
        FAQ:
        http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
        <http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt>
        Alternative FAQ location:
        
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
        
<https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847>
        Search Archives:
        http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo
        <http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo>!
        Groups Links


           (Yahoo! ID required)

           mailto:[email protected]
        <mailto:[email protected]>





-- Jeffry Houser, Technical Entrepreneur
    Adobe Community Expert: http://tinyurl.com/684b5h 
<http://tinyurl.com/684b5h>
    http://www.twitter.com/reboog711 <http://www.twitter.com/reboog711>  | 
Phone: 203-379-0773
    --
    Easy to use Interface Components for Flex Developers
    http://www.flextras.com?c=104 <http://www.flextras.com?c=104>
    --
    http://www.theflexshow.com <http://www.theflexshow.com>
    http://www.jeffryhouser.com <http://www.jeffryhouser.com>
    --
    Part of the DotComIt Brain Trust






--
Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl.com/684b5h
http://www.twitter.com/reboog711  | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com?c=104
--
http://www.theflexshow.com
http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust

Reply via email to