New language features in Java 7
Nice recap of the JDK 7 language changes with examples
- Published: Nov 23 / 21:22.
- Views: 2722, Clicks: 1807
- Via: code.joejag.com
- Tags: how-to, java, standards, trends
- Submitter: puredanger
Nice recap of the JDK 7 language changes with examples
Today we presents a collection of best Eclipse plugins.
You don't usually see people ( including me!) talk about their mistakes openly. But I think it is good to think about the mistakes we made in the past, so that we don't commit the same errors in the future. I've been a professional programmer for about 5 years now. Like anyone else, I made mistakes along my way. Usually I didn't recognize the wrong thing I did right away; I only knew about the mistakes after being exposed to the correct ways of doing things. Hopefully after reading this post you would draw something useful from it and won't make the mistakes ( and pay the same price) as I did.
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.
Once in a while I’m stumbling on switch statements during a Code Review session. Whenever this is happening my first reaction is to understand why did the developer use it. Since using switch statement sometime implies spaghetti code and also can get very crowded (in case statements of course) in this post I’m going to show an alternative method that I pr...
Take it straight from a hiring manager's mouth: Go get this book and do what it says! You might say, "But I already have a tech job that I love." My answer: You'll need another job one day. Go get this book and do what it says!
Performance and standards look like dominating work on Microsoft's next version of Internet Explorer. As ever with Microsoft, though, it's likely to be the former that not just trips up the latter but that also continues to sour Microsoft's relationship with the rest of the industry.
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.