svn or Subversion is a kind of repository. And the repository is a kind of file server. But the special thing with the svn is that it remembers every change ever written to it-every change to every file, and even changes to the directory tree itself, such as addition, deletion, and rearrangement of files and […]
Entries Categorized as 'Technical Exploration'
svn (Subversion)
September 26, 2008
How to work with Postgresql Database?
August 23, 2008
Login to the postgres user.
su
su - postgres
How to start the database?
pg_ctl start -D /usr/local/pgsql/ejb3db
How to get the sql prompt?
psql databasename username
e.g. psql ejb3db ranjan
How to command now?
ejb3db=> \d
The above command describes table, index, sequence, or view.
ejb3db=> \dt
The above command will list out all tables.
ejb3db=> \d table-name
The above command will show all the schema level details […]
Control C
July 14, 2008
Why we have common commands for two or more things?
When I have to copy something from the console of the JBoss server I do Ctrl+C, as I have the habit of “Ctr+c” for copying. Errrrrrrrrrr………………… and the server stops.
addthis_url = ‘http%3A%2F%2Franjankumar.com%2F2008%2F07%2F14%2Fcontrol-c%2F’;
addthis_title = ‘Control+C’;
addthis_pub […]
Hypertext Transfer Protocol (HTTP)
May 1, 2008
It is a stateless protocol.
It uses the services of TCP on well-known port 80.
HTTP Transaction
Request and Response Messages
Request and Status Lines
Request Type (GET, HEAD, POST, PUT, TRACE, CONNECT, OPTION)
URL:
Version: HTTP 1.1
Status Code
Status Phrase
Code
Phrase
100
Continue
101
Switching
200
OK
201
Created
202
Accepted
204
No Content
301
Moved Permanently
302
Moved Temporarily
304
Not Modified
400
Bad Error
401
Unauthorized
403
Forbidden
404
Not Found
405
Method not allowed
406
Not acceptable(Server Erorr)
500
Internal Server Error
501
Not Implemented
503
Service Unavailable
Header: The header exchanges additional information between the […]
UDDI Implementation
September 20, 2007
UDDI Implementation Comes in Two parts:
1) First part helps you to build the Service Directory
2) Second part helps you to access the Service Directory
1) First Parts helps you to build the Service Directory
jUDDI from Apache is available for this purpose.
Persistence (jUDDI DataStore)
jUDDI also requires an external datastore in which to persist the registry […]


