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]> 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
> Alternative FAQ location:
> https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> Links
>
>
>
>

Reply via email to