• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Hosting Java server?

 
Greenhorn
Posts: 2
Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

Sorry if this is in the wrong section.

I have a IM program that my friends at school want me to host. Its a standalone jar app. I've looked at hosting options and it seems as though I'll have to use a JSP. Is this neccessary and if so can anyone point me to a good tutorial or something to get me started? Else, does can anyone tell me where I can get a host that'll host the program for me?

Thanks
Mathew
 
Bartender
Posts: 6109
6
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It does not have to be a JSP. A standalone app can be a server. It's already running that way, right? When you say your friends want you to "host" it, I assume you mean they want you to make it available on the internet. All that's required for that is 1) Your app has to open a server socket to listen for incoming connections, which I assume it is already doing, and 2) It has to be running somewhere reachable via public IP address.

For #2, you either need to be able to port forward from your home router (assuming it has a public IP) to your home computer, or rent a host from a service like godaddy.com.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic