Java

May 20, 2009

Session Management in Axis

Posted by Anandhan Subbiah in Java, Programming Concepts, Technical Articles 1 comment

There are different types of sessions, and the lifetime of the session may vary from one to another. Some sessions last for a few seconds while others last for the lifetime of the whole system. Axis2 architecture has been designed to support four types of sessions, and we observe that there are minor differences between [...]

  • Share/Bookmark

Dec 16, 2008

Villu – Music Review

Posted by Anandhan Subbiah in Cool Products, Featured, Java, Movies, Music No comments

Directed by Prabhu Deva
Produced by Karunamoorthy, Arun Pandian
Written by Prabhu Deva
Starring
Vijay
Nayanthara
Vadivel
Biju Menon
[...]

  • Share/Bookmark

Oct 8, 2008

Writing your first Android Application.

Posted by Anandhan Subbiah in Java, Programming Concepts, Technical Articles 6 comments

Setting Up Your Development Environment
Android applications, like most mobile phone applications, are developed in a host-target development environment. In other words, you develop your application on a host computer (where resources are abundant), and download it to a target mobile phone for testing and ultimate use.
To write your own Android mobile phone applications, you’ll first [...]

  • Share/Bookmark

Aug 7, 2008

Rewrite convention and optimize your code for maintainability

Posted by Anandhan Subbiah in Java, Programming Concepts, Technical Articles 2 comments

The vast majority of programmers end up having to maintain code written by someone else. I was reading this article in javaworld.com and it really was in line with my thought process.
The original source is here : http://www.javaworld.com/javaworld/jw-07-2008/jw-07-harmful-idioms.html
Four harmful Java idioms, and how to fix them
Rewrite convention and optimize your code for maintainability
By John O’Hanley, [...]

  • Share/Bookmark

Jun 4, 2008

Is Java the best programming language (Still) ?

Posted by Anandhan Subbiah in Java, Programming Concepts, Technical Articles 1 comment

I thought this would be a discussion worth having with all those scripting languages floating around.
Please click on the link below to share your thoughts :
Is Java the best programming language ?

  • Share/Bookmark

May 27, 2008

useful mvn commands

Posted by Anandhan Subbiah in Java, Programming Concepts No comments

Here are some useful mvn commands
mvn eclipse:eclipse -DdownloadSources=true
This will set up the eclipse environment and also download the source for the jar files.
mvn clean install war:inplace
This will create a open war inside the target directory. This is very useful to modify non-java resources.
mvn clean installĀ  -Dmaven.test.skip=true
This will skip the unit tests . It helps to [...]

  • Share/Bookmark

Apr 3, 2008

Hibernate Filters

Posted by Anandhan Subbiah in Java, Programming Concepts 1 comment

Hibernate filters provide you with a programmatic way to restrict the result of your query.The advantage is that you can programmatically change filters even though you can’t do it at runtime it is still a better approach. In the following code sample I created a filter called activatedFilter and added it to the User class. [...]

  • Share/Bookmark

Apr 2, 2008

Hibernate Cache

Posted by Anandhan Subbiah in Java, Programming Concepts, Technical Articles 9 comments

Database operations are typically very expensive. A typical query would have to be first transmitted over the network. The database has to create a query plan for it and then execute it. The response then has to be transmitted over the network again before the client can process the results. Most databases will cache the [...]

  • Share/Bookmark

Mar 20, 2008

Hibernate Events

Posted by Anandhan Subbiah in Java, Programming Concepts, Technical Articles 1 comment

Hibernate 3 actually implements most of its functionality as event listeners. Event listeners are always registered globally for the event that they handle. You can register them in the configuration file or programmatic ally. Either way, you will need to map your implementation of one of the interfaces to the associated types.Here is the different [...]

  • Share/Bookmark

Mar 20, 2008

Invoking a stored procedure using hibernate

Posted by Anandhan Subbiah in Java, Programming Concepts, Technical Articles No comments

Stored procedures may be a thing of the past but sometimes they can be very helpful. They reduce network traffic and can perform efficient and fast computations if required.
<sql-insert callable=”true”>
{call insertClient(?,?,?,?,?,?)}
</sql-insert>
This example may be very trivial but really complex computations can be performed using stored procedures. The drawback with hibernate and stored procedures is [...]

  • Share/Bookmark