I like this approach:
http://www.macromedia.com/devnet/mx/flash/articles/firefly_components.html

In essence, Struts as implementation of MVC allows for separation of presentation from data (so you could unit test each module for example).

So if DAO or Beans run on server, and you access them from a (on the client sortable CRUD multi row) grid, we have separation of Data and Presentation.

There is more posts coming up on mvc mail list about Flash at http://www.basebeans.net:8080/mailman/listinfo/mvc-programmers
Also... I think there are more advanced Struts users signed up on the MVC list, so you are welcome if you are advanced Struts user (or want more about "MVC" Flash)


.V



Adrian Roston wrote:
The quantum leap forward for flash as a front end for J2ee apps came
with flash remoting.  Check out the open source version at openamf.org .
You can basically send Java objects back and forth via calling methods
in any class on the server.  Good stuff.




Adrian Roston Software Engineer Integrated Data Corporation 1601 Cloverfield Dr. 2nd Floor Santa Monica, CA 90404 310.309.4729 310.367.7031Cell [EMAIL PROTECTED] www.idc-global.com





-----Original Message-----
From: Bill Chmura [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 11:10 PM
To: 'Struts Users Mailing List'
Subject: RE: struts and flash




Are you talking about XML.sendAndLoad() as an action script inside the
flash file?

If this is the case, then you just really need to embed the flash file
in the first page from your application.  After that all of your
subsequent calls to actions on the server would need to return XML only
for the flash actionscript to handle.

So pretty much once the flash loads in the beginning the "HTML" page
your browser has loaded does not change.  The flash movie running would
do all the communications.

I know what your saying...  I think it is a horrible idea to use flash
in this manner...  but it sounds do-able.  Just output XML back from
your JSP's.

Could be cool looking, but its gonna probably be a maintaince nightmare
on the client side (essentially you are moving away from a thin client I
think) working in the flash.  If its simple could be nice eye candy.  I
would never try it, but best of luck there!

Vuud


> -----Original Message-----
> From: Micael [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 27, 2003 2:38 AM
> To: Struts Users Mailing List; Struts Users Mailing List
> Subject: RE: struts and flash
> > > If you are embedding the Flash object in the web page, then > none of the > other questions have a thing to do with Flash. So, what > you do is just > what you would do in any case. The fact that Flash is > embedded is as > irrelevant to these other issues as the fact that a JPEG > file might be > called by an <img> tag. Okay?
> > Micael
> > At 09:22 AM 8/26/2003 -0400, Daniel Blumenthal wrote:
> >my current plan of attack is to embed a flash object in > the web page, > >and then use XML.sendAndLoad() to send queries to the > server and get > >information back. i have one Action which is specifically > tasked with > >receiving all internal requests by my application (it > accepts things > >like "GetRecord.do?row=1", "SetRecord.do?row=1&value=foo") and > >returning information (using ObjectOutputStreams). it > *seems* like i > >should be able to do something like > >myXmlObject.sendAndLoad("GetRecord.do",result), and just > reformat the > >return data a little.
> >
> >does this sound doable?
> >
> >
> > > -----Original Message-----
> > > From: Micael [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, August 26, 2003 1:06 AM
> > > To: Struts Users Mailing List; Struts Users Mailing List
> > > Subject: Re: struts and flash
> > >
> > >
> > > There are real issues with this, unless you merely > embed the Flash. > > > If you just embed the Flash, everything is simple, of > course. If > > > you don't, there are real problems of referencing this > and that. > > > What do you want to
> > > do? If you say you can embed the Flash images in the > JSP pages, then
> > > everything is easy. Which way is it?
> > >
> > > Micael
> > >
> > > At 03:02 PM 8/25/2003 -0400, Daniel Blumenthal wrote:
> > > >i saw a thread on using flash with struts from about a > year ago,
> > > and i was
> > > >wondering what the current state of affairs was. i was a good > > > >doobie and wrote my application in pretty strict MVC > form, but now > > > >i'm looking at refactoring it to use a flash front-end (with > > > >dynamic
> > > communication back to
> > > >the server), and it's looking like a complete mess. > basically, i > > > >want my Model layer to remain as it is (java / jdbc / > mysql), and > > > >the
> > > View layer to
> > > >be flash - i'd prefer to leave the Controller as a struts
> > > application. is
> > > >this possible, while still allowing the front-end to > talk to the > > > >server dynamically?
> > > >
> > > >daniel
> > > >
> > > >
> > > > >-------------------------------------------------------------------
> > > >--
> > > >To unsubscribe, e-mail: > [EMAIL PROTECTED]
> > > >For additional commands, e-mail: > [EMAIL PROTECTED]
> > >
> > >
> > >
> > > LEGAL NOTICE
> > >
> > > This electronic mail transmission and any accompanying > documents > > > contain information belonging to the sender which may be > > > confidential and legally privileged. This information > is intended > > > only for the use of the individual or entity to whom > this electronic > > > mail transmission was sent as indicated above. If you > are not the > > > intended recipient, any disclosure, copying, > distribution, or action > > > taken in reliance on the contents of the information > contained in > > > this transmission is strictly prohibited. If you
> > > have received this transmission in error, please delete the
> > > message. Thank
> > > you
> > >
> > >
> > >
> > > > --------------------------------------------------------------------
> > > -
> > > To unsubscribe, e-mail: > [EMAIL PROTECTED]
> > > For additional commands, e-mail: > [EMAIL PROTECTED]
> > >
> > >
> >
> >
> >-----------------------------------------------------------
> ----------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: > [EMAIL PROTECTED]
> > > > LEGAL NOTICE
> > This electronic mail transmission and any accompanying > documents contain > information belonging to the sender which may be > confidential and legally > privileged. This information is intended only for the use of the > individual or entity to whom this electronic mail > transmission was sent as > indicated above. If you are not the intended recipient, any > disclosure, > copying, distribution, or action taken in reliance on the > contents of the > information contained in this transmission is strictly > prohibited. If you > have received this transmission in error, please delete the > message. Thank > you > > > > ------------------------------------------------------------
> ---------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

-- Vic Cekvenich, Struts Instructor, 1-800-917-JAVA

Advanced <a href ="baseBeans.com">Struts Training</a>, mentoring and project recovery in North East.
Struts conversion and <a href ="baseBeans.com"> fixed bid development</a>.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to