This week's book giveaway is in the Functional programming forum.
We're giving away four copies of Functional Design and Architecture and have Alexander Granin on-line!
See this thread for details.
Win a copy of Functional Design and Architecture this week in the Functional programming 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

web hosting my app

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 73951
332
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43026
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
First, you drop a couch from the plane, THEN you surf it. Here, take this tiny ad with you:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic