Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Testing a java applet without a website

 
Samuel Weston
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm learning how to create java applets, 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

Thanks for your help
 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
AppletViewer
 
Junilu Lacar
Bartender
Pie
Posts: 8793
81
Android Eclipse IDE IntelliJ IDE Java Linux Mac Scala Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Paul Clapham
Sheriff
Posts: 21567
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic