Programming Concepts

Jan 3, 2008

SPARC Architecture - An Introduction

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

The Scalable processor Architecture is the widely used by the Solaris operating system.There are three versions v7 and v8 which are 32-bit and V9 which is 64-bit. The SPARC v9 processors can run 32-bit applications as well.
The SPARC processor has 32 general-purpose registers.
The SPARC architecture is big-endian in nature which means that the integers and [...]


Dec 6, 2007

Creating a SSH Tunnel in a MAC

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

Typically there are two machines involved when creating a SSH Tunnel.
1) The machine with the public facing IP.
2) The machine which does is not available to the public but certain ports are open for outside access. For example if mysql is running on the box then port 3306 is reachable using the public facing machine.
Here [...]


Oct 4, 2007

Java Application Performance Management

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

Java Application Performance Management is not performance tuning but a software process which is applied throughout the development of a product. The benefit of this approach is simply “saving dollars”. The cost and time required to fix a performance issue in production will be a lot more than in development. There is always the human [...]


Jul 27, 2007

Eclipse and OutOfMemory Exceptions

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

Any developer using eclipse would have seen the “out of memory” exception . The immediate resolution that might come to mind is to increase the heap size . Something like
-vmargs -Xmx512m
But that does not really solve the issue as even with these settings there is a very good chance of getting the out of memory [...]


May 14, 2007

Apache and SSL

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

Why SSL ?
Protecting your web folders with Basic Authentication by using either htpasswd (using the filesystem to store username and password or mod_auth_mysql (using mysql to store username and password) increases security. But , this added layer of security provided by Basic Authentication can be overwhelmed easily by a serious hacker familiar with sniffing tools since  the username [...]


May 14, 2007

Apache as a File Repository

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

WebDAV, which stands for Web-based Distributed Authoring and Versioning enables Apache to act as a network drive . It uses HTTP as the protocol instead of TCP/IP or port like SMB and NFS.
How can we do this ?

mod_dav which ships with Apache has to be enabled. You should be able to see the library in [...]


May 3, 2007

Cookies using JavaScript

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

HTTP is a stateless protocol . Sessions help maintain state .Cookies help maintain session . Cookies are created by the server and stored on the client’s Browser. Everytime the client makes a request the browser attaches the cookie information along with the request , So the server will know that the request is coming from [...]


Apr 30, 2007

Introduction to AJAX

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

What is AJAX?
Ajax is a technology that complements Web 2.0 and the integration of many web services
The diagram sums up what Ajax does. Content1 and content2 are treated as separate entities. The user will be able to update content2 without modifying the state of content1 and vice versa. The aggregation of data is another key [...]


Apr 2, 2007

What is RSS - Really Simple Syndication ?

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

An RSS feed (also known as a RSS channel or XML feed) is a type of file format that lets websites syndicate their content.It is basically a standardized xml document containing basic information about a web site and its most recent content.
Most web logs allow their content to be available via RSS as they want [...]


Apr 2, 2007

What is del.icio.us ?

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

del.icio.us is a social bookmarking service. del.icio.us users save, organize, and share their favorite web links with del.icio.us. It is a webservice which allows users to access , modify and present data in a way they deem fit. The “open source” concept applied to data is del.icio.us. Google maps is a good example . Google [...]