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

Server client java app and internet hosting

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi. I've just started to learn about sockets, serversockets and establishing a simple server using stream sockets.
I have a very simple server and client application working on my LAN between my iMac and PC. So far so good.
I now want to put my server on the WAN i.e. the internet.
My question is, will an internet hosting company allow my java server app to open a socket? Do I need to ask for a special kind of access?
I don't want to sign up to a hosting deal to find out they only permit web pages, emails and FTP.
By the way, hosting on my company's server doesn't work due to security restrictions.
 
Rancher
Posts: 43026
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That varies by hosting company and plan. I'm sure the customer service of whichever providers you consider will be happy to answer this.
 
Ed Dablin
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I guess I'm asking: does my question make sense? Do you guys routinely run your java non-HTML apps on hosted sites or am I asking something unusual?
 
Sheriff
Posts: 26764
82
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, frankly just the idea of running a hosted application which isn't a web application is in itself unusual. That's not to say that such applications are nonexistent, just that they are uncommon.
 
Ed Dablin
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Paul Clapham wrote:Well, frankly just the idea of running a hosted application which isn't a web application is in itself unusual. That's not to say that such applications are nonexistent, just that they are uncommon.



OK I've check with my ISP and my question has thrown them into a state of confusion and talk of big bucks. So I guess the Head First Java chapter 15 *Daily Advice Server* is not the basis for a larger app.
Searching around, I have come across Java Servlets and Java Server Pages. If I want to develop an implement a server based application that can be hosted on the internet and used by other people, should I learn more about servlets and JSPs? Feeling a bit lost here and wouold appreciate a pointer which way to go in my education
 
Ulf Dittmer
Rancher
Posts: 43026
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Servlets and JSP would be the way to go if you want to host a web app - which, as Paul mentioned, is by far the most common type of hosted app.

"Big bucks" - I wouldn't say so. Java web hosting starts at about $10/month, and for around $20/month you can get quite decent plans.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic