Removed commented-out code to avoid pollution. Seems like a good idea to use the native promise.
Now using an FJP with configuration and named threads
Removed the lazy initialisation as this was causing lock contention under heavy load.
Extracted code samples from Java forms documentation
Removed Java 7 diamonds
Removed the contention caused by requesting a logger

Formatting.
Removed lazy declarations and re-arranged JavaAction in order to minimise initialisation logic, thus reducing the amount of introspection occurring. In addition handlers are now cached by the router in order to avoid instantiation costs.
Removed unnecessary locks which were also causing contention.

Formatting

invocation needed to remain a def as its evaluation was being done just once.
Wound back caching handlers other than those belonging to Java. Java handlers are expensive given their introspection
Factored out the concerns within an action that are expensive given reflection: annotations. The router is now caching the JavaActionAnnotations data only.

Didn't need to be a case class.
Protected access to the internal Play logger as we don't want other code utilising it accidentally.
Merge pull request #1090 from huntc/performance-improvements

Performance improvements