Win a copy of Spring in Action (5th edition) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Testing a java applet without a website  RSS feed

 
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
 
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
AppletViewer
 
Sheriff
Posts: 12747
210
Android Debian Eclipse IDE IntelliJ IDE Java Linux Mac 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
 
Sheriff
Posts: 23873
50
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!