The full source code for the Portfolio Demos (both client side and server side) is available from lightstreamer.com/share/PortfolioDemos.zip.
For a good comprehension some knowledge of Java, JMS, servlets, Tomcat and JBoss is advised.
***EDIT 24-09-2009*** The Demo has been replaced by a
new version based on much simpler server-side code.