File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Applets and the fly likes Putting Applet on my first site. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Putting Applet on my first site." Watch "Putting Applet on my first site." New topic

Putting Applet on my first site.

Joe Ridener
Ranch Hand

Joined: Jul 16, 2012
Posts: 88
Hello Everyone,

I am putting a JApplet on my site. I know these days .php and other scripting is preferable on servers. My files reside on a public server which makes this more difficult ( can't do as I please with everything).
I am wandering if there is anyway to engineer a way to establish a connection from a JApplet for chatting, contacting via a JApplet online form? I am at 2 years of software development experience and as many of you know these topics are not always touched upon in college course work. My idea was ( I have a section for employers) to contact me via an online form and perhaps bypass the scripting ways. I would either have to learn php and really bog my studying progress down (though not out of the question) or engineer some way to transmit data (if I remember correctly a security policy of Applets is they cannot establish a network connection that resides outside of the server that the file was transmitted from originally... correct?). I dont have alot of experience with these types of things. I am assuming you could place a jar file or something in the cgi directory or something. But I would need specifics on the passing of the data from the applet and to awaken the .jar file on the server. I know my stuff well. I can do animation and probably one of the better programmers that started at the same time; but simple little things still have yet to. Can someone help me with this before I try a 100 things that don't work?
Pat Farrell

Joined: Aug 11, 2007
Posts: 4659

Why are you trying to do this with applets? Applets are a dead technology.

See the discussion at
I agree. Here's the link:
subject: Putting Applet on my first site.
It's not a secret anymore!