Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #13046 > unrolled thread

Where to find decent free or cheap Java hosting?

Started byDaniel Pitts <newsgroup.nospam@virtualinfinity.net>
First post2012-03-19 09:59 -0700
Last post2012-03-23 13:45 -0700
Articles 20 — 9 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  Where to find decent free or cheap Java hosting? Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-03-19 09:59 -0700
    Re: Where to find decent free or cheap Java hosting? Knute Johnson <nospam@knutejohnson.com> - 2012-03-19 10:06 -0700
      Re: Where to find decent free or cheap Java hosting? Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-03-19 11:04 -0700
        Re: Where to find decent free or cheap Java hosting? Knute Johnson <nospam@knutejohnson.com> - 2012-03-19 11:21 -0700
          Re: Where to find decent free or cheap Java hosting? Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-03-19 12:07 -0700
            Re: Where to find decent free or cheap Java hosting? Jan Burse <janburse@fastmail.fm> - 2012-03-19 20:46 +0100
              Re: Where to find decent free or cheap Java hosting? Jan Burse <janburse@fastmail.fm> - 2012-03-19 21:01 +0100
          Re: Where to find decent free or cheap Java hosting? Arne Vajhøj <arne@vajhoej.dk> - 2012-03-19 21:34 -0400
            Re: Where to find decent free or cheap Java hosting? Knute Johnson <nospam@knutejohnson.com> - 2012-03-19 18:56 -0700
              Re: Where to find decent free or cheap Java hosting? Arne Vajhøj <arne@vajhoej.dk> - 2012-03-19 22:03 -0400
                Re: Where to find decent free or cheap Java hosting? Lew <noone@lewscanon.com> - 2012-03-19 19:25 -0700
                  Re: Where to find decent free or cheap Java hosting? Knute Johnson <nospam@knutejohnson.com> - 2012-03-19 21:26 -0700
                    Re: Where to find decent free or cheap Java hosting? Lew <lewbloch@gmail.com> - 2012-03-20 10:14 -0700
                      Re: Where to find decent free or cheap Java hosting? Arne Vajhøj <arne@vajhoej.dk> - 2012-03-20 19:53 -0400
                  Re: Where to find decent free or cheap Java hosting? Arne Vajhøj <arne@vajhoej.dk> - 2012-03-20 19:49 -0400
                    Re: Where to find decent free or cheap Java hosting? markspace <-@.> - 2012-03-20 18:05 -0700
                      Re: Where to find decent free or cheap Java hosting? Arne Vajhøj <arne@vajhoej.dk> - 2012-03-20 21:16 -0400
    Re: Where to find decent free or cheap Java hosting? Paul Cager <paul.cager@googlemail.com> - 2012-03-19 10:10 -0700
    Re: Where to find decent free or cheap Java hosting? Arne Vajhøj <arne@vajhoej.dk> - 2012-03-19 21:35 -0400
    Re: Where to find decent free or cheap Java hosting? Chris Stefanich <stefanich@gmail.com> - 2012-03-23 13:45 -0700

#13046 — Where to find decent free or cheap Java hosting?

FromDaniel Pitts <newsgroup.nospam@virtualinfinity.net>
Date2012-03-19 09:59 -0700
SubjectWhere to find decent free or cheap Java hosting?
Message-ID<pBJ9r.7802$GV1.3392@newsfe12.iad>
I've been working on my AT-Robots program
<https://sourceforge.net/projects/at-robots2-j/>, and I'm getting ready 
to create a "Tournament Server" for it.  Basically, what that means is a 
webapp where someone can upload their robot definitions to compete 
against the others that have already been uploaded.  I think this is a 
necessary next step in order to start building a community around my 
project, but I don't really have excess capital to spend on an otherwise 
free project.

I do have my own personal "server", but it lives in my house and isn't 
very "stable".  I've also looked into nosupportlinuxhosting.com, and 
while I can get Java to start up with a *lot* of finagling, it doesn't 
seem likely to be useful to me as a host for this kind of work.

Just thinking out loud here, maybe the free (for a year) Micro Instance 
in EC2 is the way to go, but I don't know if that's "big" enough for a 
Java web-app. Anyone have experience with that?

Any ideas or suggestions are appreciated. I'm looking to spend < $5/mo 
if possible.  At this point traffic will be fairly minimal, and free is 
best, but it has to work well enough when it is used.  I'm not concerned 
about scalability at first, since when I do need to scale, I'll probably 
be able to monetize at least a little and use that to pay for a real host.

Thanks everyone,
Daniel.

[toc] | [next] | [standalone]


#13047

FromKnute Johnson <nospam@knutejohnson.com>
Date2012-03-19 10:06 -0700
Message-ID<jk7p23$5f2$1@dont-email.me>
In reply to#13046
On 3/19/2012 9:59 AM, Daniel Pitts wrote:
> I've been working on my AT-Robots program
> <https://sourceforge.net/projects/at-robots2-j/>, and I'm getting ready
> to create a "Tournament Server" for it. Basically, what that means is a
> webapp where someone can upload their robot definitions to compete
> against the others that have already been uploaded. I think this is a
> necessary next step in order to start building a community around my
> project, but I don't really have excess capital to spend on an otherwise
> free project.
>
> I do have my own personal "server", but it lives in my house and isn't
> very "stable". I've also looked into nosupportlinuxhosting.com, and
> while I can get Java to start up with a *lot* of finagling, it doesn't
> seem likely to be useful to me as a host for this kind of work.
>
> Just thinking out loud here, maybe the free (for a year) Micro Instance
> in EC2 is the way to go, but I don't know if that's "big" enough for a
> Java web-app. Anyone have experience with that?
>
> Any ideas or suggestions are appreciated. I'm looking to spend < $5/mo
> if possible. At this point traffic will be fairly minimal, and free is
> best, but it has to work well enough when it is used. I'm not concerned
> about scalability at first, since when I do need to scale, I'll probably
> be able to monetize at least a little and use that to pay for a real host.
>
> Thanks everyone,
> Daniel.

What exactly to you mean by Java hosting?

-- 

Knute Johnson

[toc] | [prev] | [next] | [standalone]


#13049

FromDaniel Pitts <newsgroup.nospam@virtualinfinity.net>
Date2012-03-19 11:04 -0700
Message-ID<syK9r.30202$M%7.10624@newsfe10.iad>
In reply to#13047
On 3/19/12 10:06 AM, Knute Johnson wrote:
> On 3/19/2012 9:59 AM, Daniel Pitts wrote:
>> I've been working on my AT-Robots program
>> <https://sourceforge.net/projects/at-robots2-j/>, and I'm getting ready
>> to create a "Tournament Server" for it. Basically, what that means is a
>> webapp where someone can upload their robot definitions to compete
>> against the others that have already been uploaded. I think this is a
>> necessary next step in order to start building a community around my
>> project, but I don't really have excess capital to spend on an otherwise
>> free project.
>>
>> I do have my own personal "server", but it lives in my house and isn't
>> very "stable". I've also looked into nosupportlinuxhosting.com, and
>> while I can get Java to start up with a *lot* of finagling, it doesn't
>> seem likely to be useful to me as a host for this kind of work.
>>
>> Just thinking out loud here, maybe the free (for a year) Micro Instance
>> in EC2 is the way to go, but I don't know if that's "big" enough for a
>> Java web-app. Anyone have experience with that?
>>
>> Any ideas or suggestions are appreciated. I'm looking to spend < $5/mo
>> if possible. At this point traffic will be fairly minimal, and free is
>> best, but it has to work well enough when it is used. I'm not concerned
>> about scalability at first, since when I do need to scale, I'll probably
>> be able to monetize at least a little and use that to pay for a real
>> host.
>>
>> Thanks everyone,
>> Daniel.
>
> What exactly to you mean by Java hosting?
>

Well, the two features I really need are the ability to run Java apps 
(webapps or otherwise), and to have shell access (so I can manage the 
app's data directories).

[toc] | [prev] | [next] | [standalone]


#13051

FromKnute Johnson <nospam@knutejohnson.com>
Date2012-03-19 11:21 -0700
Message-ID<jk7ted$29g$1@dont-email.me>
In reply to#13049
On 3/19/2012 11:04 AM, Daniel Pitts wrote:
>> What exactly to you mean by Java hosting?
>>
>
> Well, the two features I really need are the ability to run Java apps
> (webapps or otherwise), and to have shell access (so I can manage the
> app's data directories).

You want to run a Java app in the server?  I'm not sure what you mean by 
webapp.

-- 

Knute Johnson

[toc] | [prev] | [next] | [standalone]


#13052

FromDaniel Pitts <newsgroup.nospam@virtualinfinity.net>
Date2012-03-19 12:07 -0700
Message-ID<3uL9r.1737$V94.727@newsfe19.iad>
In reply to#13051
On 3/19/12 11:21 AM, Knute Johnson wrote:
> On 3/19/2012 11:04 AM, Daniel Pitts wrote:
>>> What exactly to you mean by Java hosting?
>>>
>>
>> Well, the two features I really need are the ability to run Java apps
>> (webapps or otherwise), and to have shell access (so I can manage the
>> app's data directories).
>
> You want to run a Java app in the server? I'm not sure what you mean by
> webapp.
>

Yes, a Java web-app, such as in a Resin or Tomcat application container, 
for instance. Also, it would be a bonus to be able to run a stand-alone 
Java process.

The reason I say Java specifically is a lot of "cheap" hosting expect 
you to run short-lived PHP pages with minimal memory footprint, not 
long-running Java applications.

[toc] | [prev] | [next] | [standalone]


#13053

FromJan Burse <janburse@fastmail.fm>
Date2012-03-19 20:46 +0100
Message-ID<jk82eh$e21$1@news.albasani.net>
In reply to#13052
Daniel Pitts schrieb:
> Yes, a Java web-app, such as in a Resin or Tomcat application container,
> for instance. Also, it would be a bonus to be able to run a stand-alone
> Java process.
>
> The reason I say Java specifically is a lot of "cheap" hosting expect
> you to run short-lived PHP pages with minimal memory footprint, not
> long-running Java applications.

Hi,

For what geographical region, where do you want your
ISP to be located? You could use some yellow pages of
the region and then check those out that have servlets.

My experience so far is, that you typically don't
get shell access, only secure remote copying. Which is
enough for web applications.

If you don't have shell access, then it becomes more
difficult to spawn Java processes. But maybe you would
be satisfied spawning threads inside a web container
process.

The later is actually possible, there is nothing in the
servlet spec that prevents you from creating additional
threads. But you would need to code your own job control
so that your threads get found from servlet to servlet
invocation.

Best Regards

[toc] | [prev] | [next] | [standalone]


#13055

FromJan Burse <janburse@fastmail.fm>
Date2012-03-19 21:01 +0100
Message-ID<jk83as$fji$1@news.albasani.net>
In reply to#13053
Jan Burse schrieb:
> But maybe you would be satisfied spawning threads
> inside a web container process.

I guess the exec inside a web container might
also be blocked.

[toc] | [prev] | [next] | [standalone]


#13063

FromArne Vajhøj <arne@vajhoej.dk>
Date2012-03-19 21:34 -0400
Message-ID<4f67dea1$0$291$14726298@news.sunsite.dk>
In reply to#13051
On 3/19/2012 2:21 PM, Knute Johnson wrote:
> On 3/19/2012 11:04 AM, Daniel Pitts wrote:
>>> What exactly to you mean by Java hosting?
>>
>> Well, the two features I really need are the ability to run Java apps
>> (webapps or otherwise), and to have shell access (so I can manage the
>> app's data directories).
>
> You want to run a Java app in the server? I'm not sure what you mean by
> webapp.

A Java web app usually mean a war running in a servlet container.

"Java web app" seems as common a term as "PHP web app" or
"ASP.NET web app" to me.

Arne

[toc] | [prev] | [next] | [standalone]


#13065

FromKnute Johnson <nospam@knutejohnson.com>
Date2012-03-19 18:56 -0700
Message-ID<jk8o3i$rjl$1@dont-email.me>
In reply to#13063
On 3/19/2012 6:34 PM, Arne Vajhøj wrote:
> On 3/19/2012 2:21 PM, Knute Johnson wrote:
>> On 3/19/2012 11:04 AM, Daniel Pitts wrote:
>>>> What exactly to you mean by Java hosting?
>>>
>>> Well, the two features I really need are the ability to run Java apps
>>> (webapps or otherwise), and to have shell access (so I can manage the
>>> app's data directories).
>>
>> You want to run a Java app in the server? I'm not sure what you mean by
>> webapp.
>
> A Java web app usually mean a war running in a servlet container.

And a servlet would require Tomcat or something like it on the 
webserver?  Do you need JavaEE to create servlets or on the server?

> "Java web app" seems as common a term as "PHP web app" or
> "ASP.NET web app" to me.

I've run Java programs on my computer before that acted as a server. 
Managing them was a little difficult without creating a control 
mechanism but they worked fine.


-- 

Knute Johnson

[toc] | [prev] | [next] | [standalone]


#13066

FromArne Vajhøj <arne@vajhoej.dk>
Date2012-03-19 22:03 -0400
Message-ID<4f67e55e$0$295$14726298@news.sunsite.dk>
In reply to#13065
On 3/19/2012 9:56 PM, Knute Johnson wrote:
> On 3/19/2012 6:34 PM, Arne Vajhøj wrote:
>> On 3/19/2012 2:21 PM, Knute Johnson wrote:
>>> On 3/19/2012 11:04 AM, Daniel Pitts wrote:
>>>>> What exactly to you mean by Java hosting?
>>>>
>>>> Well, the two features I really need are the ability to run Java apps
>>>> (webapps or otherwise), and to have shell access (so I can manage the
>>>> app's data directories).
>>>
>>> You want to run a Java app in the server? I'm not sure what you mean by
>>> webapp.
>>
>> A Java web app usually mean a war running in a servlet container.
>
> And a servlet would require Tomcat or something like it on the
> webserver? Do you need JavaEE to create servlets or on the server?

Well known standalone servlet containers are Tomcat and Resin.

Any full Java EE app server contains a servlet container.

Servlet/JSP/JSF are a subset of Java EE.

>> "Java web app" seems as common a term as "PHP web app" or
>> "ASP.NET web app" to me.
>
> I've run Java programs on my computer before that acted as a server.
> Managing them was a little difficult without creating a control
> mechanism but they worked fine.

It is certainly possible to run Java SE servers.

Usually that means a a socket server with a custom
protocol not HTTP.

Arne

[toc] | [prev] | [next] | [standalone]


#13067

FromLew <noone@lewscanon.com>
Date2012-03-19 19:25 -0700
Message-ID<jk8prh$aul$1@news.albasani.net>
In reply to#13066
On 03/19/2012 07:03 PM, Arne Vajhøj wrote:
> On 3/19/2012 9:56 PM, Knute Johnson wrote:
>> On 3/19/2012 6:34 PM, Arne Vajhøj wrote:
>>> On 3/19/2012 2:21 PM, Knute Johnson wrote:
>>>> On 3/19/2012 11:04 AM, Daniel Pitts wrote:
>>>>>> What exactly to you mean by Java hosting?
>>>>>
>>>>> Well, the two features I really need are the ability to run Java apps
>>>>> (webapps or otherwise), and to have shell access (so I can manage the
>>>>> app's data directories).
>>>>
>>>> You want to run a Java app in the server? I'm not sure what you mean by
>>>> webapp.
>>>
>>> A Java web app usually mean a war running in a servlet container.
>>
>> And a servlet would require Tomcat or something like it on the
>> webserver? Do you need JavaEE to create servlets or on the server?

Tomcat (or something like it) is the web server.

Yes, you need a Java EE-conformant server to run servlets. To create them you 
only need the right JARs.

> Well known standalone servlet containers are Tomcat and Resin.
>
> Any full Java EE app server contains a servlet container.
>
> Servlet/JSP/JSF are a subset of Java EE.
>
>>> "Java web app" seems as common a term as "PHP web app" or
>>> "ASP.NET web app" to me.
>>
>> I've run Java programs on my computer before that acted as a server.
>> Managing them was a little difficult without creating a control
>> mechanism but they worked fine.

But those aren't "web apps".

> It is certainly possible to run Java SE servers.
>
> Usually that means a a socket server with a custom
> protocol not HTTP.

And such an application is not normally called a "web app". The term "web 
app[lication]", as Arne says, is the conventional nomenclature for an 
application running in a web-based application server such as Tomcat or Glassfish.

If you aren't familiar with Java EE, here are some good references to get you 
started:

<http://www.oracle.com/technetwork/java/javaee/documentation/index.html>
<http://tomcat.apache.org/tomcat-7.0-doc/index.html>
<https://www.ibm.com/search/csass/search/?sn=dw&lang=en&cc=US&en=utf&hpp=20&dws=dw&q=Java+EE&Search=Search>
<http://glassfish.java.net/docs/index.html>

-- 
Lew
Honi soit qui mal y pense.
http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg

[toc] | [prev] | [next] | [standalone]


#13070

FromKnute Johnson <nospam@knutejohnson.com>
Date2012-03-19 21:26 -0700
Message-ID<jk90te$17v$1@dont-email.me>
In reply to#13067
On 3/19/2012 7:25 PM, Lew wrote:
> On 03/19/2012 07:03 PM, Arne Vajhøj wrote:
>> On 3/19/2012 9:56 PM, Knute Johnson wrote:
>>> On 3/19/2012 6:34 PM, Arne Vajhøj wrote:
>>>> On 3/19/2012 2:21 PM, Knute Johnson wrote:
>>>>> On 3/19/2012 11:04 AM, Daniel Pitts wrote:
>>>>>>> What exactly to you mean by Java hosting?
>>>>>>
>>>>>> Well, the two features I really need are the ability to run Java apps
>>>>>> (webapps or otherwise), and to have shell access (so I can manage the
>>>>>> app's data directories).
>>>>>
>>>>> You want to run a Java app in the server? I'm not sure what you
>>>>> mean by
>>>>> webapp.
>>>>
>>>> A Java web app usually mean a war running in a servlet container.
>>>
>>> And a servlet would require Tomcat or something like it on the
>>> webserver? Do you need JavaEE to create servlets or on the server?
>
> Tomcat (or something like it) is the web server.
>
> Yes, you need a Java EE-conformant server to run servlets. To create
> them you only need the right JARs.
>
>> Well known standalone servlet containers are Tomcat and Resin.
>>
>> Any full Java EE app server contains a servlet container.
>>
>> Servlet/JSP/JSF are a subset of Java EE.
>>
>>>> "Java web app" seems as common a term as "PHP web app" or
>>>> "ASP.NET web app" to me.
>>>
>>> I've run Java programs on my computer before that acted as a server.
>>> Managing them was a little difficult without creating a control
>>> mechanism but they worked fine.
>
> But those aren't "web apps".
>
>> It is certainly possible to run Java SE servers.
>>
>> Usually that means a a socket server with a custom
>> protocol not HTTP.
>
> And such an application is not normally called a "web app". The term
> "web app[lication]", as Arne says, is the conventional nomenclature for
> an application running in a web-based application server such as Tomcat
> or Glassfish.
>
> If you aren't familiar with Java EE, here are some good references to
> get you started:
>
> <http://www.oracle.com/technetwork/java/javaee/documentation/index.html>
> <http://tomcat.apache.org/tomcat-7.0-doc/index.html>
> <https://www.ibm.com/search/csass/search/?sn=dw&lang=en&cc=US&en=utf&hpp=20&dws=dw&q=Java+EE&Search=Search>
>
> <http://glassfish.java.net/docs/index.html>
>

Thanks Lew and Arne for the info.  This isn't my area of knowledge but I 
was curious what Daniel was looking for.

-- 

Knute Johnson

[toc] | [prev] | [next] | [standalone]


#13079

FromLew <lewbloch@gmail.com>
Date2012-03-20 10:14 -0700
Message-ID<20059896.222.1332263695470.JavaMail.geo-discussion-forums@pbbnv8>
In reply to#13070
Knute Johnson wrote:
>  Lew wrote:
... [snip] ...
>> If you aren't familiar with Java EE, here are some good references to
>> get you started:
>>
>> <http://www.oracle.com/technetwork/java/javaee/documentation/index.html>
>> <http://tomcat.apache.org/tomcat-7.0-doc/index.html>
>> <https://www.ibm.com/search/csass/search/?sn=dw&lang=en&cc=US&en=utf&hpp=20&dws=dw&q=Java+EE&Search=Search>
>>
>> <http://glassfish.java.net/docs/index.html>
>>
> 
> Thanks Lew and Arne for the info.  This isn't my area of knowledge but I 
> was curious what Daniel was looking for.

Extra note:

Tomcat is significantly more lightweight [*] than full-fledged app servers like Glassfish, Geronimo or JBoss. It supports servlets and related technology (JSP, JSF, Facelets) out of the box, given the right JARs in the classpath. JPA (Java Persistence API) works with Tomcat, as indeed it does with standalone apps, for all that it's a Java EE specification. (EclipseLink, Apache OpenJPA and Hibernate are the Big Three for JPA.) For that matter, you can get EJBs in Tomcat by adding Apache OpenEJB. 

At some point you might want the full Monty: all the acronyms from CDI to WS. That's when you reach for the heavyweight [*] servers. It doesn't hurt that the full-spec servers like the three mentioned all have dashboards to control everything from server configuration to logging to class loaders to database connections to ...

I've found in practice that Tomcat plus JPA and JSF/Facelets does pretty much everything you need, unless you want to put httpd in front of Tomcat, which is really a good idea. There are use cases for the big guns, but I'm hard pressed to come up with a compelling one.

-- 
Lew

[toc] | [prev] | [next] | [standalone]


#13092

FromArne Vajhøj <arne@vajhoej.dk>
Date2012-03-20 19:53 -0400
Message-ID<4f69188b$0$289$14726298@news.sunsite.dk>
In reply to#13079
On 3/20/2012 1:14 PM, Lew wrote:
> Knute Johnson wrote:
>>   Lew wrote:
> ... [snip] ...
>>> If you aren't familiar with Java EE, here are some good references to
>>> get you started:
>>>
>>> <http://www.oracle.com/technetwork/java/javaee/documentation/index.html>
>>> <http://tomcat.apache.org/tomcat-7.0-doc/index.html>
>>> <https://www.ibm.com/search/csass/search/?sn=dw&lang=en&cc=US&en=utf&hpp=20&dws=dw&q=Java+EE&Search=Search>
>>>
>>> <http://glassfish.java.net/docs/index.html>
>>>
>>
>> Thanks Lew and Arne for the info.  This isn't my area of knowledge but I
>> was curious what Daniel was looking for.
>
> Extra note:
>
> Tomcat is significantly more lightweight [*] than full-fledged app servers like Glassfish, Geronimo or JBoss. It supports servlets and related technology (JSP, JSF, Facelets) out of the box, given the right JARs in the classpath. JPA (Java Persistence API) works with Tomcat, as indeed it does with standalone apps, for all that it's a Java EE specification. (EclipseLink, Apache OpenJPA and Hibernate are the Big Three for JPA.) For that matter, you can get EJBs in Tomcat by adding Apache OpenEJB.
>
> At some point you might want the full Monty: all the acronyms from CDI to WS. That's when you reach for the heavyweight [*] servers. It doesn't hurt that the full-spec servers like the three mentioned all have dashboards to control everything from server configuration to logging to class loaders to database connections to ...
>
> I've found in practice that Tomcat plus JPA and JSF/Facelets does pretty much everything you need, unless you want to put httpd in front of Tomcat, which is really a good idea. There are use cases for the big guns, but I'm hard pressed to come up with a compelling one.

SLSB's are OK. You can do without, but why do something similar a
non standard way when something standard exist.

MDB'a are very useful if one need asynch stuff.

And JCA is very useful if you need something besides
HTTP in and database out traffic.

Arne

[toc] | [prev] | [next] | [standalone]


#13091

FromArne Vajhøj <arne@vajhoej.dk>
Date2012-03-20 19:49 -0400
Message-ID<4f691798$0$289$14726298@news.sunsite.dk>
In reply to#13067
On 3/19/2012 10:25 PM, Lew wrote:
> On 03/19/2012 07:03 PM, Arne Vajhøj wrote:
>> On 3/19/2012 9:56 PM, Knute Johnson wrote:
>>> On 3/19/2012 6:34 PM, Arne Vajhøj wrote:
>>>> On 3/19/2012 2:21 PM, Knute Johnson wrote:
>>>>> On 3/19/2012 11:04 AM, Daniel Pitts wrote:
>>>>>>> What exactly to you mean by Java hosting?
>>>>>>
>>>>>> Well, the two features I really need are the ability to run Java apps
>>>>>> (webapps or otherwise), and to have shell access (so I can manage the
>>>>>> app's data directories).
>>>>>
>>>>> You want to run a Java app in the server? I'm not sure what you
>>>>> mean by
>>>>> webapp.
>>>>
>>>> A Java web app usually mean a war running in a servlet container.
>>>
>>> And a servlet would require Tomcat or something like it on the
>>> webserver? Do you need JavaEE to create servlets or on the server?
>
> Tomcat (or something like it) is the web server.
>
> Yes, you need a Java EE-conformant server to run servlets. To create
> them you only need the right JARs.

One does not need a full Java EE (pre 6) aka full profile Java EE (6+).

>> Well known standalone servlet containers are Tomcat and Resin.
>>
>> Any full Java EE app server contains a servlet container.
>>
>> Servlet/JSP/JSF are a subset of Java EE.
>>
>>>> "Java web app" seems as common a term as "PHP web app" or
>>>> "ASP.NET web app" to me.
>>>
>>> I've run Java programs on my computer before that acted as a server.
>>> Managing them was a little difficult without creating a control
>>> mechanism but they worked fine.
>
> But those aren't "web apps".
>
>> It is certainly possible to run Java SE servers.
>>
>> Usually that means a a socket server with a custom
>> protocol not HTTP.
>
> And such an application is not normally called a "web app". The term
> "web app[lication]", as Arne says, is the conventional nomenclature for
> an application running in a web-based application server such as Tomcat
> or Glassfish.

It is the conventional term for apps that is accessed via HTTP.

For Java that means Tomcat etc..

Arne

[toc] | [prev] | [next] | [standalone]


#13094

Frommarkspace <-@.>
Date2012-03-20 18:05 -0700
Message-ID<jkb9ho$bqn$1@dont-email.me>
In reply to#13091
On 3/20/2012 4:49 PM, Arne Vajhøj wrote:

> On 3/19/2012 10:25 PM, Lew wrote:
>> And such an application is not normally called a "web app". The term
>> "web app[lication]", as Arne says, is the conventional nomenclature for

> It is the conventional term for apps that is accessed via HTTP.
>
> For Java that means Tomcat etc..


Well, I don't like picking nits, but "app" has become such a generic 
term (Apple iPad apps, Android app) and many of those apps are 
associated with the web, that I'm concerned that "web app" might already 
be a generic term.  I did a double take on the original post and decided 
it really wasn't quite clear.

"JEE web app" would have been clear, imo.  "JSP/Servlet web app" would 
have been better, since Daniel seems to only need that part, and we all 
would have got what that meant.

Just 2 somewhat pedantic nickels.

[toc] | [prev] | [next] | [standalone]


#13095

FromArne Vajhøj <arne@vajhoej.dk>
Date2012-03-20 21:16 -0400
Message-ID<4f692bdf$0$289$14726298@news.sunsite.dk>
In reply to#13094
On 3/20/2012 9:05 PM, markspace wrote:
> On 3/20/2012 4:49 PM, Arne Vajhøj wrote:
>> On 3/19/2012 10:25 PM, Lew wrote:
>>> And such an application is not normally called a "web app". The term
>>> "web app[lication]", as Arne says, is the conventional nomenclature for
>
>> It is the conventional term for apps that is accessed via HTTP.
>>
>> For Java that means Tomcat etc..
>
> Well, I don't like picking nits, but "app" has become such a generic
> term (Apple iPad apps, Android app) and many of those apps are
> associated with the web, that I'm concerned that "web app" might already
> be a generic term.

The terms app and web app are part of a term hierarchy:

app = web apps + smartphone apps + ...

web apps = Java web apps + ASP.NET web apps + PHP web apps + ...

smartphone apps = iOS apps + Android apps + WP apps

etc.

But web app means a HTTP server so smartphone apps does
not fit.

Sure there are some people outside IT that think:
   app === smartphone app

But that is the same segment that call the PC system
unit for the hard drive.

Arne

[toc] | [prev] | [next] | [standalone]


#13048

FromPaul Cager <paul.cager@googlemail.com>
Date2012-03-19 10:10 -0700
Message-ID<83e5d257-de93-4fdf-8768-569966cb53e6@eb6g2000vbb.googlegroups.com>
In reply to#13046
On Mar 19, 4:59 pm, Daniel Pitts
<newsgroup.nos...@virtualinfinity.net> wrote:
> I've been working on my AT-Robots program
> <https://sourceforge.net/projects/at-robots2-j/>, and I'm getting ready
> to create a "Tournament Server" for it.  Basically, what that means is a
> webapp where someone can upload their robot definitions to compete
> against the others that have already been uploaded.  I think this is a
> necessary next step in order to start building a community around my
> project, but I don't really have excess capital to spend on an otherwise
> free project.
>
> I do have my own personal "server", but it lives in my house and isn't
> very "stable".  I've also looked into nosupportlinuxhosting.com, and
> while I can get Java to start up with a *lot* of finagling, it doesn't
> seem likely to be useful to me as a host for this kind of work.
>
> Just thinking out loud here, maybe the free (for a year) Micro Instance
> in EC2 is the way to go, but I don't know if that's "big" enough for a
> Java web-app. Anyone have experience with that?
>
> Any ideas or suggestions are appreciated. I'm looking to spend < $5/mo
> if possible.  At this point traffic will be fairly minimal, and free is
> best, but it has to work well enough when it is used.  I'm not concerned
> about scalability at first, since when I do need to scale, I'll probably
> be able to monetize at least a little and use that to pay for a real host.

If you are happy grubbing about with Linux you could try looking at
www.lowendbox.com for cheap virtual servers (some less than $5 /
month). Java doesn't play well with OpenVZ so I'd avoid that, but Xen,
KVM etc should all be OK.

[toc] | [prev] | [next] | [standalone]


#13064

FromArne Vajhøj <arne@vajhoej.dk>
Date2012-03-19 21:35 -0400
Message-ID<4f67defa$0$291$14726298@news.sunsite.dk>
In reply to#13046
On 3/19/2012 12:59 PM, Daniel Pitts wrote:
> I've been working on my AT-Robots program
> <https://sourceforge.net/projects/at-robots2-j/>, and I'm getting ready
> to create a "Tournament Server" for it. Basically, what that means is a
> webapp where someone can upload their robot definitions to compete
> against the others that have already been uploaded. I think this is a
> necessary next step in order to start building a community around my
> project, but I don't really have excess capital to spend on an otherwise
> free project.
>
> I do have my own personal "server", but it lives in my house and isn't
> very "stable". I've also looked into nosupportlinuxhosting.com, and
> while I can get Java to start up with a *lot* of finagling, it doesn't
> seem likely to be useful to me as a host for this kind of work.
>
> Just thinking out loud here, maybe the free (for a year) Micro Instance
> in EC2 is the way to go, but I don't know if that's "big" enough for a
> Java web-app. Anyone have experience with that?
>
> Any ideas or suggestions are appreciated. I'm looking to spend < $5/mo
> if possible. At this point traffic will be fairly minimal, and free is
> best, but it has to work well enough when it is used. I'm not concerned
> about scalability at first, since when I do need to scale, I'll probably
> be able to monetize at least a little and use that to pay for a real host.

Google app engine for Java maybe!?

Arne

[toc] | [prev] | [next] | [standalone]


#13137

FromChris Stefanich <stefanich@gmail.com>
Date2012-03-23 13:45 -0700
Message-ID<17399720.1498.1332535529332.JavaMail.geo-discussion-forums@yncd8>
In reply to#13046
On Monday, March 19, 2012 12:59:00 PM UTC-4, Daniel Pitts wrote:
> I've been working on my AT-Robots program
> <https://sourceforge.net/projects/at-robots2-j/>, and I'm getting ready 
> to create a "Tournament Server" for it.  Basically, what that means is a 
> webapp where someone can upload their robot definitions to compete 
> against the others that have already been uploaded.  I think this is a 
> necessary next step in order to start building a community around my 
> project, but I don't really have excess capital to spend on an otherwise 
> free project.
> 
> I do have my own personal "server", but it lives in my house and isn't 
> very "stable".  I've also looked into nosupportlinuxhosting.com, and 
> while I can get Java to start up with a *lot* of finagling, it doesn't 
> seem likely to be useful to me as a host for this kind of work.
> 
> Just thinking out loud here, maybe the free (for a year) Micro Instance 
> in EC2 is the way to go, but I don't know if that's "big" enough for a 
> Java web-app. Anyone have experience with that?
> 
> Any ideas or suggestions are appreciated. I'm looking to spend < $5/mo 
> if possible.  At this point traffic will be fairly minimal, and free is 
> best, but it has to work well enough when it is used.  I'm not concerned 
> about scalability at first, since when I do need to scale, I'll probably 
> be able to monetize at least a little and use that to pay for a real host.
> 
> Thanks everyone,
> Daniel.

Have you looked into Heroku?

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web