submited by krishnas on Thu May 22nd, 2008
java xml
JSON (JavaScript Object Notation) is a lightweight data-interchange format based on a subset of the JavaScript Programming Language. JSON object structure is built on two structures:...
more »
submited by muthu on Mon Apr 14th, 2008
netbeans java java5
http://javawave.blogspot.com/2008/04/quartz-job-scheduler-part-ii-example.html...
more »
submited by muthu on Mon Apr 7th, 2008
netbeans java java5
Quartz Job Scheduler -- Part 1 (Setting up development project in Netbeans 6.1 beta)...
more »
submited by krishnas on Thu Apr 3rd, 2008
java
In this article I examine the options available for packaging and deploying Java EE applications. I will start by reviewing the Java EE 5 specifications pertaining to application assembly and deployment. Next I will set out packaging specifications for production EAR files and review some of the techniques you can use to implement and enforce them....
more »
submited by krishnas on Thu Apr 3rd, 2008
java
In this article we show how to develop and test an IP Multimedia Subsystem (IMS) application with both a client and a server part, using the free standards-based development tools from the Nokia Siemens Networks IMS Developer Program and BEA WebLogic SIP Server (WLSS). The IMS is a complex environment but with the right tools, that complexity becomes manageable, and end-to-end tests can be made even on a single PC....
more »
submited by krishnas on Mon Mar 31st, 2008
java
Secure Programming with Static Analysis authors, Chess and West, discuss whether the C programming language is safer than Java from their perspective on using Static Analysis in code review testing.
...
more »
submited by krishnas on Thu Mar 27th, 2008
java
I needn’t emphasize the importance of choosing best name for class/variable/method. But how many managers/developers care in choosing best names. Most of them concentrate on completing assigned task and deliver working output, because they feel that naming is not going to add any value to their software....
more »
submited by krishnas on Thu Mar 27th, 2008
java
ArrayList and HashMap are a few of the most frequently used data structures in Java development. So I would like to talk about the importance of instantiating these classes with initial capacity. Let me explain how the ArrayList works internally, so that you get a good insight. HashMap works almost the same way an ArrayList works, so I haven’t covered the details of that separately. But all the tips given below are applicable for HashMap as well....
more »
submited by krishnas on Thu Mar 27th, 2008
java
During my Java training, I read about volatile keyword, but didn’t get clear understanding. Recently when I wrote a singleton class using double checked locking, PMD code reviewer gave a warning not to use volatile. Later I started exploring on double checked locking issue, here is my observation....
more »
submited by krishnas on Thu Mar 27th, 2008
java
This is one of the frequently asked questions in the interview. Most of the interviewer expect the below answer.
“Thread.stop() method is deprecated, so a boolean variable has to be introduced in thread class and run method should check the boolean variable whether to continue execution or come out of run() method”....
more »