submited by krishnas on Mon Mar 31st, 2008
seam
I've come up with some simple steps for migrating a JBoss SEAM application from Glassfish V1 to Glassfish V2. Actually, you can configure all SEAM applications which you plan on deploying to Glassfish in this manner, and they will be deployable on either V1 or V2....
more »
submited by krishnas on Mon Mar 31st, 2008
ejb j2ee
Being a big fan of the EJB 3.0 specification, I read this new EJB 3.1 New Features article published by Serverside right away. Clearly, the current EJB spec is much simpler to use and maintain than previous generations. Building upon that logic, the upcoming EJB 3.1 specification looks even better....
more »
submited by krishnas on Mon Mar 31st, 2008
javafx
I finished reading the JavaFX Script book by James Weaver a couple of days ago. I ordered this book from Amazon last November, and it just arrived last month. I have to say that I was getting a bit impatient about the delay, but it really was worth the wait....
more »
submited by krishnas on Mon Mar 31st, 2008
netbeans
I've downloaded the latest Netbeans 6.1 beta release and installed it on my Mac today. I haven't had too much time to work with it as yet, but thus far I have found the following to be nice:...
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
spring google-guice
Guice is alternative to Spring framework except life cycle management.
I like Guice framework over Spring for the following reason....
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
spring jsf struts
Recently I got an opportunity to explore Spring Web FlowExternal Link framework. Later I came to know that Shale DialogExternal Link also solves the same problem. JBoss Seam too solves the same problem....
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 »