Dreamhome Demo
Dreamhome demonstrates the new directions in browser-hosted rich client technologies. Rich clients represent the continuing evolution of distributed computing from the venerable 3270, client/server, web clients, to now the rich clients. Current rich client technologies solve many issues that plagued previous models including scalability and while providing rich set of GUI components for improved usability.
This version of the demo shows the differences between several of the browser-based rich client platforms including AJAX, Mozilla XUL, OpenLazlo, and Flex. All of these technologies provide a mechanism to handle component event cycles locally without requiring server intervention. Therefore, the application is responsive and provide a level of usability that matches that of a desktop client.
The server-side of the demo is driven by a combination of technologies including JSP, Spring MVC, Hibernate, and Apache Derby. It provides a service layer that uniformly exposes a well-defined set of service end points with functionalities that can be consumed by each of the rich client. Data interchange is done through XML or JSON between client and server.
For questions/suggestions/criticisms - vmatters at gmail dot com.
Blog - http://vladimirvivien.com/blogs/ot/
Download Demo
The entire demo is contained within a web application project with all necessary jars included.
The database for the demo is embedded so you do not need to setup anything further.
Dreamhome Binary
The binary contains all necessary files/jars to run the demo. Bofore running,
modify file /dreamhome/WEB-INF/classes/dreamhome.properties (see below) to setup database. Then,
deploy the directory on your servlet container or app server.(Tomcat, Jetty, Jboss, etc).
Download Binary
Dreamhome Source
If you are
using NetBeans, you can open the demo directly within your IDE. For Eclipse, setup a new web project and import
the demo into your new project. Point to the directories accordingly (web directory for web source and src directory for java source).
Then, modify /src/dreamhome.properties to setup database (see below).
Download Source
Setup Database Directory
Edit file dreamhome.properties to setup the location of the database directory.
File content:
jdbc.driver=org.apache.derby.jdbc.ClientDriver
jdbc.url=jdbc:derby://localhost:1527/home/vladimir/dreamhome/database/data
jdbc.user=sa
jdbc.passwd=admin
hibernate.dialect=org.hibernate.dialect.DerbyDialect
Change jdbc.url to point to the location where the database directory is located as such
jdbc.url=jdbc:derby://localhost:1527/{DEMO_INSTALL_ROOT}/database/data
Download Files
Download the presentation files that accompany the Dreamhome demo.
Download Presentation (pdf)