New language features in Java 7
Nice recap of the JDK 7 language changes with examples
- Published: Nov 23 / 21:22.
- Views: 2631, Clicks: 1772
- Via: code.joejag.com
- Tags: how-to, java, standards, trends
- Submitter: puredanger
Nice recap of the JDK 7 language changes with examples
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...
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
Every time I work with one of our .NET customers to help them with managing their application performance I come across the same problems as seen with other clients before: lots of ADO.NET queries, many hidden exceptions in core or 3rd party .NET libraries, slow 3rd party components, inefficient custom code, … This article discusses the top problems, how to avoid them and how to do application performance management across the application lifecycle
Everyone has had an interview that didn't go as well as it should have. Luckily, there are things you can do before, during and after an interview to ensure that your mistakes can be avoided or negated.
In Groovy we can write classes and write an implementation for methods we don't even know exist. We must implement the method methodMissing() which is invoked when other methods cannot be found.
Demonstration of a few of the different ways to dynamically invoke Groovy code within a Java environment.
The task bar has some of the most visible improvements in Windows 7 - find out how to hugely increase the usability of your .NET applications by tapping into the taskbar functionality. Jump lists, thumbnail previews and thumbnail toolbars are all covered.
I implemented a small part of SQL to see how close I could match it within Scala.
Before giving structures, we need to notice a little detail about making database connections in Java. All database connections must be stated in try and catch statements, because there is a possibility of getting an exception. That’s way, we try to make our connection in try statement. If our connection attempt fails, that means there is an exception, and the exceptions must be catched.