Re: Openamf-user digest, Vol 1 #276 - 3 msgs
Greg Lindquist <[email protected]>
| Newsgroups | gmane.comp.java.openamf.user |
|---|---|
| Message-ID | <[email protected]> |
I didn't download them.. So, when I was doing a little snooping (I quickly realized that flash did not come standard with them), so I found the correct components, and now flash works with java... thanks for all the help! On 4/14/05, [email protected] <[email protected]> wrote: > Send Openamf-user mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/openamf-user > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Openamf-user digest..." > > Today's Topics: > > 1. Re: servlets (Greg Lindquist) (Kenny Jenkins) > 2. netservices.as (Greg Lindquist) > 3. Re: netservices.as (Leif Wells) > > --__--__-- > > Message: 1 > Date: Thu, 14 Apr 2005 05:13:23 -0700 (PDT) > From: Kenny Jenkins <[email protected]> > To: [email protected] > Subject: [Openamf-user] Re: servlets (Greg Lindquist) > Reply-To: [email protected] > > Servlet services, as described in the Macromedia Flashremoting > documentation, are not currently implemented in OpenAMF. Your best > alternatives include a JavaBean service, Java Class (POJO) service, or > EJB. The Macromedia FlashGateway does implement a Servlet service, > which basically forwards your request on to your servlet. You can pass > objects created in your Actionscript that you can retrieve on the > server side from your servlet request attributes using the attribute > name "FLASH.PARAMS". > > If you are using OpenAMF, but want to simulate Servlet services, a > workaround is to just create a simple Java Class service that gets a > RequestDispatcher and calls forward() to send your request on to your > servlet. I have written small test programs that do this, but have not > looked in depth as to how this may affect your program context...if at > all. > > Servlet services (and all the other types of Flash Remoting services) > are described in the Macromedia Flash Remoting documentation at this > url: > > http://livedocs.macromedia.com/flashremoting/mx/Using_Flash_Remoting_MX/usingFRJ2EE5.htm#1166890 > > Servlet services are also discussed in the Oreilly Flash Remoting book > starting on page 254. > > All the Flash Remoting Java services are described here: > http://livedocs.macromedia.com/flashremoting/mx/Using_Flash_Remoting_MX/usingFRJ2EE.htm > > Incidentally, I pointed out some time ago that Servlet services were > not implemented in OpenAMF and one of the OpenAMF developers (Sean?) > indicated he did not know they existed, but it should be easy to > implement. I guess it has just sort of slipped through the cracks. > > > Message: 1 > > Date: Fri, 8 Apr 2005 15:56:45 -0500 > > From: Greg Lindquist <[email protected]> > > To: [email protected] > > Subject: [Openamf-user] servlets > > Reply-To: [email protected] > > > > Hi, I'm new here and am pretty much new to the world of remoting. So, > > here's my question and be gentle... > > > > I have a simple servlet that takes a variable and matches it up > > with an oracle database... So here's an example... > > > > Name = Bill this returns [email protected] > > ... Easy, right? > > > > Well, this servlet is stored in tomcat, and is able to operate > > great > > with html. But I'm experimenting with flash, as I enjoy the > > possibilities with that come with it. > > > > In flash, I'd like to take a button that has a variable tied to it. > > That variable is named Bill... So when you click on the button with > > the value of bill, I want to retrieve the database info attached to > > bill.. > > > > How to I forward Name = Bill to the servlet with the use of > > openAMF? is this possible? > > --__--__-- > > Message: 2 > Date: Thu, 14 Apr 2005 11:23:03 -0500 > From: Greg Lindquist <[email protected]> > To: [email protected] > Subject: [Openamf-user] netservices.as > Reply-To: [email protected] > > Where is netservices.as? > > --__--__-- > > Message: 3 > Date: Thu, 14 Apr 2005 14:10:27 -0400 > From: Leif Wells <[email protected]> > To: [email protected] > Subject: Re: [Openamf-user] netservices.as > Reply-To: [email protected] > > ------=_Part_5295_3330801.1113502227401 > Content-Type: text/plain; charset=ISO-8859-1 > Content-Transfer-Encoding: quoted-printable > Content-Disposition: inline > > Now that *is* a loaded question! > > I am going to make an assumption here that you downloaded the Flash MX 2004= > =20 > Remoting Components Actionscript 2.0.=20 > > [if my assumption is incorrect, please read no further] > > If that is the case, then you have to move your components onto the stage= > =20 > for Flash to compile. To locate the actual components, go to Window > Other= > =20 > Panels > Common Libraries > Remoting and drag those little mothers to the= > =20 > stage. Then your file should compile. > > Another (better) way to use the Flash MX 2004 Remoting Components=20 > Actionscript 2.0 is to download the source ( > http://www.macromedia.com/software/flashremoting/downloads/components/ then= > =20 > scroll down to the label "Source Code for Macromedia Flash Remoting for=20 > Flash MX 2004 ActionScript 2.0" ) and then follow these instructions ( > http://www.macromedia.com/support/documentation/en/flash_remoting/mx2004/re= > adme_source.html > ). > > With these files in place, you can compile without placing anything on your= > =20 > stage *AND* review the source files to understand what is going on! > > Good luck. > > Leif > > On 4/14/05, Greg Lindquist <[email protected]> wrote: > >=20 > > Where is netservices.as? > >=20 > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://ads.osdn.com/?ad_ide95&alloc_id=14396&opclick > > _______________________________________________ > > Openamf-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/openamf-user > > > > ------=_Part_5295_3330801.1113502227401 > Content-Type: text/html; charset=ISO-8859-1 > Content-Transfer-Encoding: quoted-printable > Content-Disposition: inline > > Now that *is* a loaded question!<br> > <br> > I am going to make an assumption here that you downloaded the Flash MX 2004= > Remoting Components Actionscript 2.0. <br> > <br> > [if my assumption is incorrect, please read no further]<br> > <br> > If that is the case, then you have to move your components onto the > stage for Flash to compile. To locate the actual components, go to > Window > Other Panels > Common Libraries > Remoting and drag > those little mothers to the stage. Then your file should compile.<br> > <br> > Another (better) way to use the Flash MX 2004 Remoting Components > Actionscript 2.0 is to download the source > (<a href=3D"http://www.macromedia.com/software/flashremoting/downloads/comp= > onents/">http://www.macromedia.com/software/flashremoting/downloads/compone= > nts/</a> > then scroll down to the label "<span>Source Code for Macromedia Flash > Remoting for Flash MX 2004 ActionScript 2.0" ) and then follow these > instructions > (<a href=3D"http://www.macromedia.com/support/documentation/en/flash_remoti= > ng/mx2004/readme_source.html">http://www.macromedia.com/support/documentati= > on/en/flash_remoting/mx2004/readme_source.html</a>).<br> > <br> > With these files in place, you can compile without placing anything on > your stage *AND* review the source files to understand what is going on!<br= > > > <br> > Good luck.<br> > <br> > Leif<br> > <br> > <br> > </span><div><span class=3D"gmail_quote">On 4/14/05, <b class=3D"gmail_sende= > rname">Greg Lindquist</b> <<a href=3D"mailto:[email protected]">b= > [email protected]</a>> wrote:</span><blockquote class=3D"gmail_quo= > te" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt= > 0.8ex; padding-left: 1ex;"> > Where is netservices.as?<br><br>-------------------------------------------= > ------------<br>SF email is sponsored by - The IT Product Guide<br>Read hon= > est & candid reviews on hundreds of IT Products from real users.<br> > Discover which products truly live up to the hype. Start reading now.<br><a= > href=3D"http://ads.osdn.com/?ad_ide95&alloc_id=14396&opclick">http= > ://ads.osdn.com/?ad_ide95&alloc_id=14396&opclick</a><br>___________= > ____________________________________ > <br>Openamf-user mailing list<br><a href=3D"mailto:[email protected]= > eforge.net">[email protected]</a><br><a href=3D"https://li= > sts.sourceforge.net/lists/listinfo/openamf-user">https://lists.sourceforge.= > net/lists/listinfo/openamf-user > </a><br></blockquote></div><br> > ------=_Part_5295_3330801.1113502227401-- > > --__--__-- > > _______________________________________________ > Openamf-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/openamf-user > > End of Openamf-user Digest > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click