Skip to main content

Krishnan Viswanath

Krishan Viswanath is currently working for JP Morgan Chase & Co. in Kansas City, MO. He has over 10 years of experience in IT area.

 

tchangu's blog

Glassfish Security Realm - LDAP Realm

Posted by tchangu on January 21, 2007 at 1:35 PM EST
Set up

Glassfish - Role Based Access Control (Part 1)

Posted by tchangu on June 12, 2006 at 12:55 AM EDT
Recently I have been exploring the various security features in Glassfish AS. In this blog entry, I hope to share some of my initial findings related to role based access control.

Glassfish Persistence (Part #2)

Posted by tchangu on May 30, 2006 at 12:14 AM EDT
Switching the Java Persistence provider is straight forward and seamless if project /product uses Java Persistence API (EJB3.0) either as a standalone framework component or in a container managed environment.

Glassfish Persistance API

Posted by tchangu on May 29, 2006 at 1:43 PM EDT
Lately I have been tinkering with Glassfish and happened to look at the persistence API. The persistence API is based on the EJB 3.0 specification and is made available as a standalone component. I must admit that it’s fairly straight forward and a pleasure to use.

A simple utility

Posted by tchangu on February 26, 2006 at 12:26 AM EST
Often we see code like this.
   Connection conn = DriverManager
		.getConnection("jdbc:mysql://localhost/springdao?user=vk&password=password");
As it can be seen above, the password is embedded in the source as clear text.

Open Office Java API

Posted by tchangu on December 30, 2005 at 9:20 AM EST
When I worked for a consulting firm I got an opportunity to work on a Strategy & Operations pursuit. The task was to fill up a 20 page MS Word report template with lots of data from MS Access and Oracle (which was backend to some ERP system).

Dealing with Command Line Parameters

Posted by tchangu on December 19, 2005 at 12:43 PM EST

One of the things that keep popping up often is a need to write batch programs that is started from command line. Every single time its always been either reinvent the wheel or copy/paste from old code. So recently decided to put an end to this practice by looking at CLI solution from Apache.

Hashmap Implementation

Posted by tchangu on June 18, 2005 at 1:40 PM EDT

Always thought that the Hash implementations (table & map) used buckets that are prime in number. But recently, after digging around the source code to see what that default size resulted in a bit of a puzzling situation...

So let me start with a bit of rambling of my understanding about hashtables.