This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Grokking Bitcoin and have Kalle Rosenbaum on-line!
See this thread for details.
Win a copy of Grokking Bitcoin this week in the Cloud/Virtualization 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
  • Liutauras Vilda
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
Bartenders:
  • Carey Brown
  • salvin francis
  • Claude Moore

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
 
Marshal
Posts: 13446
222
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: 24374
55
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.
 
Roses are red, violets are blue. Some poems rhyme and some don't. And some poems are a tiny ad.
Create Edit Print & Convert PDF Using Free API with Java
https://coderanch.com/wiki/703735/Create-Convert-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!