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


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

Re: Inexpensive JSP/Servlet hosting?

From Martin Gregorie <martin@address-in-sig.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Inexpensive JSP/Servlet hosting?
Date 2016-12-29 20:37 +0000
Organization A noiseless patient Spider
Message-ID <o43s5d$qj1$1@dont-email.me> (permalink)
References (5 earlier) <o41a7c$1d8$1@dont-email.me> <o41b5u$77t$1@jstuckle.eternal-september.org> <e68eafc6-91eb-4639-9209-00d34bc35455@googlegroups.com> <o41j49$vu6$1@dont-email.me> <16a3706e-f220-4b65-87a7-51b09dc4471a@googlegroups.com>

Show all headers | View raw


On Thu, 29 Dec 2016 10:43:31 -0800, galt_57 wrote:

> On Wednesday, December 28, 2016 at 5:52:12 PM UTC-6, Martin Gregorie
> wrote:
>>  ...if you're setting up a personal teaching and
>> development environment for just yourself, the cheapest and most
>> hassle-free approach may be to invest on a RaspberryPi running
>> Raspbian. Total cost is under $US 35 for a Pi 3. All the software you'd
>> need is either a Raspbian package (and so free) or a free download off
>> the 'net.
> 
> 
> That might be good for a development website on a private home network
> -- but it is far more interesting to have a public website that can be
> usefully accessed from anywhere. I can test a website locally right from
> NetBeans (with Tomcat or Glassfish) although a Raspberry-Pi would offer
> more realistic testing.
> 
A related point is that, IIRC (and I'm sure others can correct me if my 
recollection is wrong) the way to update a Tomcat-based web application 
is to upload a WAR file to Tomcat. 

Again, IIRC the WAR file contains, among other things static pages, Java 
Beans and, presumably, related classes, i.o.w. its not unlike a jar file. 
The Java classes and beans in it must have been compiled somewhere and it 
seems likely that 'somewhere' would not be part of the web hosting 
environment containing the Tomcat Instance you'd be using to support your 
experimental website. In which case you'd still need a local(?) 
development system to prepare the WAR file. 

What did I miss?

> (I have a Raspberry-Pi sitting here doing nothing.)
>
Fire it up and see what it can do. I see that Java is supported by recent 
Raspbian versions, but if your RPi is as old as mine (an RPi B+) then 
yours probably doesn't have Java installed, so you'd need to do that. Its 
almost certainly Open Java, which in included as a Debian package, so no 
need to download it from Oracle.

You may find compilations are quite slow on an RPi B+ because they only 
have .5GB RAM and a single core MPU clocked at 0.7 GHz. I certainly find 
mine noticeably slow when compiling decently sized chunks of C. This is 
the main reason I suggested that getting an RPi 3 might be money well 
spent because having 1GB RAM, quad cores and a 1.2 GHz clock is going to 
make quite a speed difference.


-- 
martin@   | Martin Gregorie
gregorie. | Essex, UK
org       |

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


Thread

Inexpensive JSP/Servlet hosting? galt_57@hotmail.com - 2016-12-27 19:45 -0800
  Re: Inexpensive JSP/Servlet hosting? Martin Gregorie <martin@address-in-sig.invalid> - 2016-12-28 12:26 +0000
    Re: Inexpensive JSP/Servlet hosting? Eric Douglas <e.d.programmer@gmail.com> - 2016-12-28 06:15 -0800
      Re: Inexpensive JSP/Servlet hosting? Arne Vajhøj <arne@vajhoej.dk> - 2016-12-28 20:57 -0500
        Re: Inexpensive JSP/Servlet hosting? Martin Gregorie <martin@address-in-sig.invalid> - 2016-12-29 12:30 +0000
      Re: Inexpensive JSP/Servlet hosting? Martin Gregorie <martin@address-in-sig.invalid> - 2016-12-28 19:29 +0000
    Re: Inexpensive JSP/Servlet hosting? Davej <galt_57@hotmail.com> - 2016-12-28 09:15 -0800
      Re: Inexpensive JSP/Servlet hosting? Arne Vajhøj <arne@vajhoej.dk> - 2016-12-28 20:52 -0500
      Re: Inexpensive JSP/Servlet hosting? Jerry Stuckle <jstucklex@attglobal.net> - 2016-12-28 16:36 -0500
        Re: Inexpensive JSP/Servlet hosting? Eric Douglas <e.d.programmer@gmail.com> - 2016-12-28 13:52 -0800
          Re: Inexpensive JSP/Servlet hosting? galt_57@hotmail.com - 2016-12-29 10:43 -0800
            Re: Inexpensive JSP/Servlet hosting? Arne Vajhøj <arne@vajhoej.dk> - 2016-12-29 19:32 -0500
              Re: Inexpensive JSP/Servlet hosting? Martin Gregorie <martin@address-in-sig.invalid> - 2016-12-30 12:24 +0000
                Re: Inexpensive JSP/Servlet hosting? Arne Vajhøj <arne@vajhoej.dk> - 2016-12-30 20:39 -0500
            Re: Inexpensive JSP/Servlet hosting? Martin Gregorie <martin@address-in-sig.invalid> - 2016-12-29 20:37 +0000
          Re: Inexpensive JSP/Servlet hosting? Martin Gregorie <martin@address-in-sig.invalid> - 2016-12-28 23:50 +0000
      Re: Inexpensive JSP/Servlet hosting? Eric Douglas <e.d.programmer@gmail.com> - 2016-12-28 13:39 -0800
      Re: Inexpensive JSP/Servlet hosting? Martin Gregorie <martin@address-in-sig.invalid> - 2016-12-28 21:18 +0000
      Re: Inexpensive JSP/Servlet hosting? Martin Gregorie <martin@address-in-sig.invalid> - 2016-12-28 19:52 +0000
        Re: Inexpensive JSP/Servlet hosting? galt_57@hotmail.com - 2016-12-28 12:30 -0800
  Re: Inexpensive JSP/Servlet hosting? Arne Vajhøj <arne@vajhoej.dk> - 2016-12-28 11:34 -0500
    Re: Inexpensive JSP/Servlet hosting? galt_57@hotmail.com - 2016-12-28 10:44 -0800
      Re: Inexpensive JSP/Servlet hosting? Arne Vajhøj <arne@vajhoej.dk> - 2016-12-28 20:47 -0500
        Re: Inexpensive JSP/Servlet hosting? Jerry Stuckle <jstucklex@attglobal.net> - 2016-12-29 17:55 -0500
          Re: Inexpensive JSP/Servlet hosting? galt_57@hotmail.com - 2016-12-31 12:16 -0800
            Re: Inexpensive JSP/Servlet hosting? Jerry Stuckle <jstucklex@attglobal.net> - 2016-12-31 18:34 -0500
            Re: Inexpensive JSP/Servlet hosting? Arne Vajhøj <arne@vajhoej.dk> - 2016-12-31 19:40 -0500
            Re: Inexpensive JSP/Servlet hosting? Nigel Wade <nmw@local.domain> - 2017-01-03 10:36 +0000
        Re: Inexpensive JSP/Servlet hosting? Arne Vajhøj <arne@vajhoej.dk> - 2016-12-29 19:40 -0500
          Re: Inexpensive JSP/Servlet hosting? Arne Vajhøj <arne@vajhoej.dk> - 2016-12-29 21:21 -0500
        Re: Inexpensive JSP/Servlet hosting? galt_57@hotmail.com - 2016-12-29 10:52 -0800
  Re: Inexpensive JSP/Servlet hosting? Roedy Green <inquiry@mindprod.com> - 2017-01-05 21:49 -0800
  Re: Inexpensive JSP/Servlet hosting? matthew.townsend@gmail.com - 2017-01-13 14:24 -0800
    Re: Inexpensive JSP/Servlet hosting? Arne Vajhøj <arne@vajhoej.dk> - 2017-01-13 19:53 -0500

csiph-web