Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Perl with Java applet

by Zero_Flop (Pilgrim)
on Jun 06, 2005 at 20:58 UTC ( #464086=note: print w/replies, xml ) Need Help??


in reply to Perl with Java applet

Basicly there are two main ways. One is to pass the info in the HTML Parm as mentioned, the other way is to have the Applet pull a specific web page ( call a perl script, static file, or HTML ) that returns the informaiton you want. You can also encode the informaiton in the perl and decode it in the applet so it is not directly readable by someone monitoring the connection or going directly to the webpage.

I do the second option for a little game I programmed. The Java applet that displayes the users status calls a perl CGI script on the server which returns the status then the applet POSTs the responce to a perl script which writes back to the db on the sever.

Java can always write and read from the server it originates from, but it can only read and write locally if it is signed and the user accepts it.

IF you are interested let me know and I can send you a link to an example. I don't want to post links to WIP which will live in PM archives.

Replies are listed 'Best First'.
Re^2: Perl with Java applet
by ejal (Initiate) on Jun 07, 2005 at 01:01 UTC
    Yes Zero Flop, I am very intrested to see the example. Maybe you could send the link to my email ejaluum@yahoo.com .

    Thanks

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://464086]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2022-09-28 22:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (125 votes). Check out past polls.

    Notices?