New language features in Java 7
Nice recap of the JDK 7 language changes with examples
- Published: Nov 23 / 21:22.
- Views: 2636, Clicks: 1773
- Via: code.joejag.com
- Tags: how-to, java, standards, trends
- Submitter: puredanger
Nice recap of the JDK 7 language changes with examples
Reflections on how the nature of programming and development have changed over the last 10 years.
At Devoxx 2009, Mark Reinhold from Sun announced that it was time for closures in Java. This was a big surprise to everyone, and there was a bit of a vacuum as to what was announced. Firstly, Sun, via Mark, have chosen to accept the basic case for including closures in Java. By doing so, the debate now changes from whether to go ahead, to how to proceed. This is an important step. Secondly, what did Mark consider to be in and what out? Well, he indicated that non-local returns and the control-invocation statement were out of scope. There was also some indication that access to non-final variables may be out of scope (this is mainly because it raises nasty multi-threading Java Memory Model issues with local variables).
Not long ago i came across this cool Java framework for building your own web applications. Actually I think someone posted it at Twitter ( @playframework ). At first i saw the invitational presentation which you can find here or at the framework’s page.
JPA has standardized the interfaces for persistence frameworks. However how much is standardized regarding the runtime behaviour of frameworks. These small code samples show different uses cases to test with your JPA framworks. Additionally hints on the actual framework behaviour, will help to improve usage.
This post shows how to use session handling in GWT, shows the client and server-side plumbing that is required to get this done nicely...esp. when you are using Spring, GWT-SL, Gilead
Nice review of logging frameworks for Java.
The very latest in Java desktop news from the last week, covering Swing, JavaFX and Griffon.
JBoss' Manik Surtani provides an overview of the scope and capabilities of the Infinispan open source data grid platform, along with usage examples and a brief tour of the APIs. An upcoming second part will take a deep-dive into the architecture, more advanced APIs and extending Infinispan.
There was some activity on the JSR 294 mailing list this morning. The Jigsaw team came down from the mountains and has informed us that…