Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

newbie q.: how to access a CF array from a java applet?

Status
Not open for further replies.

cadoltt

Programmer
Joined
Jun 9, 2005
Messages
85
Location
CA
Hi everybody!

I am completely new to CF, jast started some reading, maybe my questions will be stupid, please forgive me.

My task in general terms is to build a query in my java applet, pass the query to the CF program (?), make CF connect to a database, populate a CF array with the data, then get the data back in the applet and process it. I've read a bit about CF db connections and arrays - looks pretty straightforward, but I can't find about how to communicate between the applet and CF program: 1) how to pass a query string from the applet to the program, and 2) how to access a CF array from the applet.

Any advice will be appreciated. And first of all where to read, useful links etc.

Thanks,
Alex
 
This isn't really a CF question i don't think. Sounds more like a "java remoting" question. You're asking how to use java to reach out and touch someone. I dunno.

We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true.
 
I agree with TruthInSatire - what you really need to know is how to use an applet to retrieve data remotely perhaps from a url or webservice. You could also do this mind you with Flash and if you're using cfmx then flash remoting is built in making things a bit easier. Sorry haven't messed with applets in years.
 
TruthInSatire, Pigsie,

Thank you guys anyway for your advice, I've posted my question in the java forum.

Alex
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top