alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Jetty example source code file (README.txt)

This example Jetty source code file (README.txt) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Jetty tags/keywords

currently, currently, jetty, simplest, simplest, there, there, this, two, two

The Jetty README.txt source code


This is a demo of the java servlet for cometd


Simplest thing to do is to run 

  mvn jetty:run

and then point TWO different instances of browsers at http://localhost:8080


There is also rudamentary support now for terracotta clustering (totally unoptimized).
Currently this needs to run within a checkout and build of Jetty and it uses an
embedded jetty server to avoid classloader issues for now.

   1) run the terracotta server(s)
   2) bin/startTerracottaNode.sh 8081
   3) bin/startTerracottaNode.sh 8082
   4) point a browser window at localhost:8081
   5) point another browser window at localhost:8082

There is a bit of latency at the moment, but we will see what optimization of the
configuraton and locks does for that.

cheers


Other Jetty examples (source code examples)

Here is a short list of links related to this Jetty README.txt source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.