Some content

Java Snow Application Setup

Fastest way to start and understand Snow is to look at the sampleBookmarks application.

For advanced Snow developers, here are two ways to start your Snow project quickly.

From snowStarter

From which is a

Clone it

$ git clone git://

Build it

$ cd snowStarter  
snowStarter/$ mvn clean package  

Run it

snowStarter/$ mvn jetty:run  

And open http://localhost:8080/

Setup eclipse (optional)

Assuming you have setup Eclipse to work with Maven, you can do the following to set the eclipse dependencies.

snowStarter/$ mvn eclipse:eclipse  

From scratch (using Maven)




# The Application Guice Modules (1 or more, comma seperated)

# TODO: need to change the "com.example.starter.MyAppModule" to the application package 
#       and application module class name. 

# NOTE: Any property in this file can be injected via Google using 
#        @Named(propertyName)String propertyValue
# So, if we have here: 
# myApp.prop1=value1
# Then, in any Guice managed class, we can have
# @Inject
# private @Named(myApp.prop1) String value

Tap For More Info


<web-app id="WebApp_ID" version="2.4" 

  <!-- Note: Snow takes all request to provide full customizability,
  performance impact is negligeable, and flexibility (including performance
  optimization) is maximized. So, at the end, this approach will boost
  your application performance significantly without having to learn tomcat 
  or other container proprietary optimization tricks -->
  <!-- Note: Same web.xml for all applications... the simpler the better -->

Tap For More Info