• 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
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

web hosting my app

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do I do the following (alternatively, what do I need to learn to do the following):
I've written a Java app that asks for you name and replies "Hello, name".
How do I host this on the internet?
For example, do I ftp the class and expect my hosting company to run it on their JVM?
Or do I upload the source code and compile it on the server?
Or do I need to learn a new technology like servlets and JSP?
When I try to find simple answers on forums, I get lost in a maze of Tomcats, Apaches, Ajaxs and stuff I don't know about.
I am not looking for a detailed explanation, just a simple roadmap of what I have to do next
 
Marshal
Posts: 64630
225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What about writing it as an applet and embedding it in your webpage? I know that is an old‑fashioned method nowadays, however.
 
Rancher
Posts: 43009
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Indeed, applets are obsolete. Using servlet, you would upload the servlet class file. Using JSP, you would upload the JSP file. Either way, you need a hosting company that supports Java hosting - not all do. You can test that it's working beforehand by installing Tomcat on your machine. Apache is not needed.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!