-
1. Re: JBoss communicating with Flash?
blackers Feb 20, 2003 12:09 AM (in response to isabella)Yes it is possible, I am not sure if this is the best way, but in the past I have used a jsp where the output of the jsp is simply just something like:
param1=value1¶m2=value2¶m3=value3 etc...
and then I just read use getvariablesnum() function from actionscript. I will confirm this function asap. -
2. Re: JBoss communicating with Flash?
isabella Feb 23, 2003 4:54 AM (in response to isabella)hello blackers,
thx alot for your advice...
however, as i shall be sending at least 10 objects (each with a list of attributes themselves), it seems better (or easier to program) using XML....
pls correct me if i am mistaken...=P
cheers,
isabella~ -
3. Re: JBoss communicating with Flash?
hoos Feb 23, 2003 8:18 PM (in response to isabella)isabella
If you are using flash mx you can open an xml socket to a servlet deployed onto Jboss, this works well for us but this approach does require a good level of understaing of servlets and xml parsing APIs (SAX or DOM).
I have been working on Flash front ends integrated with J2EE apps for a few weeks, my first aproach was simply post to a servlet from Flash and display the results.
Cheers Hoos -
4. Re: JBoss communicating with Flash?
isabella Feb 25, 2003 5:42 AM (in response to isabella)hello Hoos,
thx for your advice..i am quite interested in your suggestion and i would like to clarify a few points for the moment:
the xml socket u mentioned, is it the XMLSocket object in flash??
why must i use SAX or DOM?? can i use the XMLEncoder/XMLDecoder instead??
also, do u mind telling me a bit more on how to receive/send data thru servlet?? i am quite unknown to it...
thx alot,
isabella~ -
5. Re: JBoss communicating with Flash?
isabella Feb 25, 2003 5:44 AM (in response to isabella)hello Hoos,
thx for your advice..i am quite interested in your suggestion and i would like to clarify a few points for the moment:
the xml socket u mentioned, is it the XMLSocket object in flash??
why must i use SAX or DOM?? can i use the XMLEncoder/XMLDecoder instead??
also, do u mind telling me a bit more on how to receive/send data thru servlet?? i am quite unknown to it...
thx alot,
isabella~