Java REST Options

REST with or without a Web Container

CXF2 or RESTLet or RESTEasy or JAX-RS (Jersey) or DropWizard or Spring Boot or …  There have been an number of options for a while.   Spring Boot and Drop Wizards

are very cool because of the simple deploy and lack of need for a cumbersome EAR or WAR deploy to a JEE server.  DropWizard also

has a ton of features and built-in metrics.  Resthub is very cool too, but not well supported.  JAX-RS works nice if you use Glassfish +

NetBeans 7.4 + JEE 7.  Since that lets you create REST client and server and the client can be HTML5 and is mostly generated for you.  It

will also build REST services for you from existing entities or relational tables.  I wish it had a wizard to do that easily from NoSQL

entities.   NodeJS has a nice REST client.   Also you can try your hand at developing REST in NodeJS or Cujo REST.   A REST client from JavaScript is easy, here is

a nice article on RestJS with Spring.


Spring Boot


mvn archetype:generate -DarchetypeGroupId=org.resthub -DarchetypeArtifactId=resthub-jpa-backbonejs-archetype -DarchetypeVersion=2.1.4

mvn jetty:run


Other Links



Algorithms, Data Structures, Android, HTML5, Java Tools


It’s Hip 2 B Square

Cool Android Tools from Square

Android Testing


Small Square Tools


Event Bus


Square IntelliJ Plugins


Date from Calendar View for Android


HTTP and SPDY Client for Android


Dagger DI


Spoon Android Testing


Android Image Caching and Downloading


Android Shake Detection


Android Queues


REST Client for Android


Square OSS Community


Squash Notification Tool


Android Tips


Facebook SDK for Android


Sending Photos Easy


Growing Android Applications Guided by Tests – using Square Tools


Spring MVC + Modern HTML5

Tobacco tries it’s best to always include the latest release versions of most popular client libraries.

Latest Tobacco 1.0.12 charges you with Spring 3.2.2, Twitter Bootstrap 2.3.1, jQuery 1.9.1 and Backbone.js 1.0.0

Tobacco Maven Architype for building a project


Node.js for Production

Coding Guides

HP Anywhere (Java + JavaScript)

HP Anywhere

Review by Timothy Spann

Basic Usage

1.1           IDE




1.2           NOTE

  • Fix required:  HP Anywhere added to maven.bat


  • Only runs on Windows.  Windows Only Server
  • Only for developing single page applications (SPA) with Java back-end and JS/HTML5/CSS front-end.


1.3           Technology List

  • Eclipse juno
  • jdk 1.7
  • maven
  • tomcat
  • H2
  • jersey
  • enyo js
  • slf4j
  • apache commons
  • xerces
  • json
  • sencha
  • jax-ws
  • ant
  • curl
  • spring 3.0.5
  • jersey
  • junit 4.8
  • JEE
  • JAXB
  • DOM4J
  • Lucene
  • JSTL
  • PhoneGap
  • POI
  • Velocity
  • STAX
  • Xalan
  • Joda Time
  • Hibernate
  • GraniteDS
  • Jackson
  • JTDS
  • JQuery
  • JDOM
  • Sencha Touch
  • Cassandra
  • MS SQL Server

1.4           Links

HP Anywhere: Mobile Apps for the Enterprise


1.5           HP Anywhere Architecture for Developers








Android Links


Today’s Links

CSS Links

Spring Tutorials – Links






Test Driven Node.JS Development

What would a language and framework be with unit testing, BDD, and other testing methods, frameworks and systems?

So once you get beyond casual Node.JS development, you will need to start unit testing.  Node.js has a surprisingly robust and mature set of testing tools and options.  Out of the box, Node.js has Built In Assert which will let you do some basic XUnit style tests.   A step beyond that is NodeUnit, which is pretty easy to use for XUnit oriented people.  For me, it’s easy to pick up coming from doing a lot of JUnit tests.  This article is great for Using NodeUnit for Testing.  Node.js is great because so many people have developed tools, frameworks and utilities for it.  The only issue I have it some are not very mature and the options are so fragmented.  There’s no Spring framework or hibernate that garners massive usage.  So many variations and options, I wish they could work together to put together a killer Rails or Spring type group of mature, tested, interconnected tools and utilities.  Full Testing Suite – Mocha is installable via NPM and works with a CI server.  This one is pretty cool.

The source for everything testing/bdd/mocking for Node.JS is Joyent’s Testing Wiki.
There’s a number of behavior driven development tools including the polyglot tool Cucumber -> BDD Testing Tool – Cucumber.JS.  Another option is Asynchronous BDD Testing Tool – Vow.
For mocking,  Mockito Style Mock Objects – Mary Jane, looks great.   I will hope that maybe Mockito will officially support this one.
For JQuery fans, someone has ported QUnit to Node.JS [Node-Qunit]
This is just a sampling of test options.  Obviously tools like Selenium and Firebug will help you and so would JMeter and and SOAPUI.  A lot of general web testing tools are available that can do full system testing or integration testing for your Node.JS web apps.
I will be adding some examples in a future post with a github link.

Spring / HTML5 / Flex

Spring Remoting
FLEX for Spring
Spring BlazeDS Integration
Mobile First Responsive Web Design
Application Cache


HTML5 Deep Dive Canvas

Canvas Scene Graph

HTML5 Template Engine for Java/Spring

Creating 3D Games with HTML5

HTML5 Canvas Game Engine

Vector Drawing Tool

2D Games and Graphics Engine

Online HTML5 Sketch Pad

HTML5 Drawing Tool

HTML5 Game

HTML5 JS Library

HTML5 JS Animation Library

JS Library for Sound

JS Processing Language

Keyframing API for HTML5 

SVG Parser and Renderer

JS Library and Editor

MEMSQL – World’s Fastest DB

HTML5 Audio Control (Tape Player UI)

HTML5 Weekly Week #22

HTML5 Application Cache Manifest (facebook)

Modernizr Library (JS, CSS, HTML5)

MS Office Apps with HTML5

Insane HTML5 Game and Source <- Kick ass maze game

HTML5 Audio Editor

HTML5 Canvas Demo

Ninja Authoring Tool for HTML5


HTML5 Features to Use

HTML5 Canvas and Processing.JS









No, Not Python, It’s the Holy Grails…

I’ve been evaluating a few different technologies for doing some rapid web development work and recently I have been looking at the bounty of available tools, libraries, frameworks and associates of Spring.  Spring ROO and Groovy/Grails are the big two RAD tools from SpringSource and they look pretty amazing.  I don’t think I’ve found the Holy Grail of Web App development, but these two tools are really helpful in rapidly developing apps.  I am hoping someone combines Roo or Grails with Vert.x to make a really awesome alternative to Node.JS.  I like Node.JS and have been doing JavaScript for a decade, but I prefer the languages of the JVM and Vert.x’s support for multiple languages is pretty awesome.  Hmmm, Vert.x in Grails.

With the excellent STS inside Eclipse, this gives Groovy and Java a great IDE for development, testing and debugging.  And that is something that is lacking for Node.JS.  Node.JS has a few tools out there, but nothing open source, free, full of awesome mature plugins (PMD, Checkstyle, GIT, Maven, JUnit, FindBugs, …) and just plain easy to use.  Eclipse also has plugins for working with CloudFoundry, Heroku, OpenShift and other Cloud environments.

Between Grails and Roo, I really like the fact that I can remove Roo at anytime and still have a fully functionally application setup that utilizes standard Spring tools.  It’s also easier to add other cool Spring projects like Spring Social, Spring Mobile, Spring Data and more.

Both Grails and Roo support MongoDB very well and that’s great too see.  I have a few Mongo DB instances on MongoLab, MongoHQ and OpenShift.  These services all have great free developer services that are great for learning, prototyping and for tutorials.  I am really loving Heroku and OpenShift.  It’s hard to pick one, so I didn’t.  I use them both.

Vert.x + Groovy is really cool, but again not much IDE support, tools or extra libraries.  It should grow start building support now, but competition with Node.JS is pretty fierce.

Interesting, Roo vs Grails Jobs.



But if you look at just Spring (which Roo is just a tool to help with a Spring project):



There’s also some great documentation, tutorials and books on Groovy/Grails since it’s been out for a while: On the other hand, Roo is newer, but since it generates standard Spring + Java, you are really just getting a good head start on your project.

Heroku has a nice article on using both with their awesome platform:  and

I will post a Github repository of some samples soon.


ETE Presentations

Chariot Solutions Presentations / ETE Presentations

Chariot Solutions Emerging Technology Philly ETE 2012 Screencasts

Chariot Solutions Videos and ETE Videos

CoffeeScript Edge

Emerging Languages

StratisfiedJS (Structured JS)

Large Scale Agile

Spring ROO with Addons

Backbone.js / Real-time Web Apps

Rich-Web Apps with Server Side Java

Vaadin Java Framwork

Interesting Stack (Backbone, NodeJS, Restify, MongoDB)

Dependecy Injection

HTML5 Apps with Java and Scala with Play


Massive Scaling

Lean, Kanban and Large Scale Agile

Let’s Play TDD

Cross Platform Mobile Experience

Real-Time Web Apps with Backbone

Better Agile Through Tribes

Java EE in the Cloud(s)




Grails 2.0

JavaScript Testing / BDD


HTML5 Demos, Examples, RSS Readers

JavaScript API for Reading ATOM/RSS 

Code Playground 

Quick Starts for HTML5 Projects
HTML5 Boiler Plate