Last weekend i went and bought a new laptop (actually, this is my first laptop). So, as i plugged it in and connected to the net, Vista started downloading updates and installing them. And then i started thinking - what happens if one of these updates will simply crash the OS on the next boot?
The implicit assumption of any update to the operating system is that it at least boots (if everything...
What are the moral dilemmas of killing someone just because they are too stupid to be using a computer? (Joke!)
A new syntax for properties? I don't particularly need it, and so far the poll results suggest that most of you don't need it either.
My first blog on java should be for all java community starting from beginer to advance level..thinking what should I write... here it goes....a simple java trick. If you tell me the correct output. You are thinking in JAVA
Interesting article from JDJ Java News Desk.
Java now holds the market penetration lead at 45%.
Note that Ajax grew (by 10%) to reach a total penetration level of 28%.
OpenSourcing the Java Platform may re-energize language design
Every so often, even after working with Java for 10 years, you will find yourself blundering into a blindingly obvious solution to a small problem that you never even remotely considered before. After I finished bonking myself on the head for never thinking of them before, I thought I would share what I have stumbled across in the last few weeks.
Comparison of two popular static analyzers from Coverity and KlocWork
The analysis has been done over popular Sun's Java Hotspot VM
The only real reason to attend a mad scene like OOPSLA is for that wack
to the side of the head that shakes lose some of your preconceptions,
and hopefully allows you some room for those ideas that seem to
gravitate to such occasions.
JRuby developer Charles Oliver Nutter talks about the how and why of JRuby in the virtual world of Second Life.
Sometimes static code isn't enough and you need to build code
dynamically, at run time. That's usually a hefty proposition,
but if the code you need to build is just an interface, it's
actually relatively simple. Here are some of the reasons you
might want to build interfaces at run time and how you might go
An easy way to integrate Hibernate Validator to JSF using AspectJ, and optionally Spring Framework too.
Another day, another failed interview
The debate about the old Java 5 and new Java 7 language features is an interesting one. And perfectly valid too. But I want to take a step back, and discuss the apparent overheated language-versus-language environment in which it is being conducted.
Variable initialization, assignments and use in array construction can be tricky to varying degrees in different programming languages. When a variable is used during initialization of an array, some may assume that assignment to that variable will be carried to the array, too.
I have been playing with another language recently, and one of the little tricks I have found really interesting is the concept of code blocks. Unfortunately, Java doesn't really have this built into the language, but that doesn't mean you can't simulate them and have nearly as much fun.
This article shows useful tricks and tips in how to use AppFuse.
NetBeans pops up a dialog with an exception message
when it finds an internal error. And again. And again. And again. And
again. This blog reviews just how user-hostile this behavior is, and
After reading the "Aspect Oriented Programming and Internationalization" article on java.net, I'm still wondering why I would want to do that...