I'm learning how to create javaapplets, however among the things being taught, is how to transfer the compiled program from your computer to the website server.
Problem: I don't own a website.
My goal is simply to test the applet to see if it appears on my web browser. Second to that is actually moving the program from computer to server.
Are there any free web domains or places where you can get a free website (even for a limited time) so that I can try out this applet on the web browser? Or perhaps a program that somehow recreates whatever it is I'm trying to test?
Any ideas or suggestions would be fine
You can install a webserver on your local machine. Just search for open source webservers. Then you can either serve up a static HTML page or define a JSP (if you use something like Jetty or Tomcat) that has the appropriate tags for the applet you want to run
The best ideas are the crazy ones. If you have a crazy idea and it works, it's really valuable.—Kent Beck
I think it's worth mentioning that applets are nowadays an almost totally useless technology. The amount of security applied to them in real-life situations makes them almost impossible to use, that's why.
So unless you have a good reason for writing an applet (for example, your course work says you have to write an applet) you might find it simpler to write a plain old Java application in Swing or Java FX. You'll have the same learning to do in terms of writing a GUI but you avoid the deployment problems you're already encountering.
Don't destroy the earth! That's where I keep all my stuff! Including this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!