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 &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.