Hi Libby, I'm no J2EE expert and I do not use servlets with Flex, but I do use RemoteObjects. Can't you instantiate your servlet from a Java RemoteObject and call the servlets methods from within the RemoteObject?
Regards, Simon Fifield -----Original Message----- From: Libby Chantel [mailto:[EMAIL PROTECTED] Sent: 05 April 2005 17:55 To: [email protected] Subject: RE: [flexcoders] Run MXML on PC, Calling to Java on Remote Server - Help I read your chapter but it didn't explain how to do what I am trying to do. I think my favorite part was on page 5, where it says: "... if youre implementing an RIA interface on an existing J2EE infrastructure that has business logic contained in your Servlet tier, consult the Flex documentation to see how you can use RemoteObject to invoke methods exposed on Servlets in your app server." That note was particularly helpful <sarcasm> in light of the fact I can't find any such info so far in the MM documentation. Eventually I will figure out exactly where to look, I'm sure. So far I can find tidbits, but no examples, of how to write mxml on one machine in flexbuilder, then run it from flexbuilder to invoke java on a remote app server, as if it were a client-server app. Libby --- Steven Webster <[EMAIL PROTECTED]> wrote: > > Libby, > > Chapter 20 of "Developing Rich Clients with > Macromedia Flex" is a free > download (I posted > in an earlier message) and covers in great detail > the use of the > RemoteObject tag, to > achieve just what you are trying to do. > > Steven > > > -----Original Message----- > > From: Libby Chantel > [mailto:[EMAIL PROTECTED] > > Sent: 04 April 2005 18:59 > > To: [email protected] > > Subject: [flexcoders] Run MXML on PC, Calling to > Java on > > Remote Server - Help > > > > > > I am a newbie with Flex, trying to get it going > for a proof > > of concept. I have Flex installed on my remote > Java Server > > (Websphere). I can successfully make calls from > Flash apps on > > my pc to the java programs running on the server. > So far, I > > cannot get the very same calls from Flex to work. > I cannot > > find an example of this setup in the MM doco for > Flex. Could > > someone PLEASE either post a link to the doco that > explains > > it in terms a dummy like me can understand, or, > post sample > > MXML code that works for you? Or, maybe even do > both :) > > > > Thank you very much, > > Libby > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Small Business - Try our new resources > site! > > http://smallbusiness.yahoo.com/resources/ > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > -- > > No virus found in this incoming message. > > Checked by AVG Anti-Virus. > > Version: 7.0.308 / Virus Database: 266.9.2 - > Release Date: 05/04/2005 > > > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.9.2 - Release > Date: 05/04/2005 > > > > > > Yahoo! Groups Links > > > [EMAIL PROTECTED] > > > > > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Yahoo! Groups Links Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

