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


Groups > comp.lang.java.programmer > #19547

Re: Private Tomcat/JVM

From Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Private Tomcat/JVM
Date 2012-10-28 15:11 +0100
Organization A noiseless patient Spider
Message-ID <k6jef1$22l$1@dont-email.me> (permalink)
References <c5f45b78-a2f1-4310-8322-75a3616b2fe9@googlegroups.com>

Show all headers | View raw


On 28/10/2012 03:37, sb5309 allegedly wrote:
> I am looking for a java web host so that I can write java programs that listens to a certain port.
>  
> I discover 2 types of hosts: private java (JVM) host and private Tomcat host (more expensive).
>  
> I am not too sure what is the difference. Can someone explain a little ?

Firstly, mind that the word "private" makes no sense in this
combination, and that Tomcat sits atop a JVM.

In a nutshell, Tomcat is a /Servlet Engine/, providing you with a
framework to perform web-related operations. It is but one of a couple
similar frameworks, cf. for instance <http://www.servlets.com/engines/>.

If you are planning to do web/HTTP related operations, and especially if
your server is going to perform more than one very limited function, I
would recommend that you use a Servlet Engine, because it's going to
make your life much easier (and is valuable knowledge).

If you plan just on having a poor socket listening for one low-level
network operation -- say, Java RMI --, going with just the JVM /might/
be more economical.

-- 
DF.

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Private Tomcat/JVM sb5309 <sb5309@hotmail.com> - 2012-10-27 19:37 -0700
  Re: Private Tomcat/JVM Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2012-10-28 15:11 +0100
  Re: Private Tomcat/JVM Jeff Higgins <jeff@invalid.invalid> - 2012-10-28 12:00 -0400

csiph-web