Tech Talk

Digital Transformation, Artificial Intelligence, Machine Learning, IoT, Big Data Analytics, Enterprise Architecture, Performance Engineering, Security, Design and Development tips on Java and .NET platforms.

Monday, April 30, 2007

Magic of JQuery

›
We know that in IE, a form gets submitted whenever we press 'Enter' in a text-field. To disable it would require trapping the event ...
Friday, April 27, 2007

Mean, Median, Mode, Midrange and Standard Deviation

›
A definition of terms to help my frail memory when I need it most :) The arithmetic mean is the sum of the numbers, divided by the quantity...
Wednesday, April 25, 2007

DST implementations in Operating Systems and Java

›
I often wondered how operating systems knew about Day light saving offsets. Recently USA decided to change its DST settings and it immediate...

web.xml SAXParseException in Websphere v6.1

›
I encountered a wierd problem while re-deploying a war file on Websphere v6.1. I started getting a SAXParseException in web.xml. The only ch...
Tuesday, April 24, 2007

Cool tools - Squirrel SQL Client, IzPack Java Installer

›
Came across 2 tools that I liked :) Squireel SQL client: Use it to connect to any database using JDBC. http://squirrel-sql.sourceforge.net/ ...

Show friendly HTTP error messages in IE

›
In web.xml, I added the tag to redirect to an error page when ever a 500 internal server error occurs. But in IE, the page was still not get...
Monday, April 23, 2007

UnsatisfiedLinkError while loading native libraries

›
I encountered the following problem when calling native code from a Java application deployed on Websphere. Whenever I was redeploying the W...
Friday, April 20, 2007

Sequence numbers from a Oracle RAC cluster

›
Today, I faced a peculiar problem. Our application was using a Sequence to autogenerate unique numbers required for a particular functionali...
Thursday, April 12, 2007

NTLM authentication using Commons HttpClient

›
Recently I wanted to access a site outside the firewall thru Apache commons HttpClient. The proxy server was using NTLM authentication. Than...

Reset method of FormBeans in Struts

›
We all know that FormBeans in Struts can have either a 'request' scope or a 'session' scope. In earlier versions of Struts, ...
Wednesday, April 11, 2007

JQuery Javascript library

›
Came across this cool cool Javascript library that adds that extra jazz to Javascript programming. Some concepts I liked in this library: - ...
Friday, March 09, 2007

Private network addresses

›
Can U look at an IP addresses and guess whether it belongs to a private network or is on the internet? The answer is yes. The Internet Assig...
Tuesday, February 27, 2007

Ruminating on dates, DST and days-between calculations

›
In one of my programs, I needed to calculate the difference between 2 dates in days. Ironically I could not find any method for the same in ...
Thursday, February 22, 2007

Programming to interfaces

›
We all know that as a good programming practice we should always program against interfaces and not actual subclasses. That's the reason...

Starting a java daemon on Solaris

›
We were using Quartz as a scheduler to run our cron-like java programs on Solaris. Quartz gives us much more flexibility than the cron-tab, ...
Thursday, February 15, 2007

Daylight saving time

›
Being brought up in India, we never have to worry about Daylight saving chores. But its very interesting and also important for any system d...
Monday, February 12, 2007

Spring JDBC quirks

›
Spring JDBC's JdbcTemplate provides us with utility methods that return scalar values. For e.g. methods such as queryForObject, queryFor...

Printing Stack Trace in Java

›
Quite often, developers use the statement exception.printStackTrace() to print the stack trace on to the console. It is important to remembe...
Monday, February 05, 2007

Redirecting system.out, system.err to a file on Unix/Solaris boxes

›
It is simple to redirect a process output to a standard file using the '>' operator. But if you also want the std error to go to ...

Epoch - The start of time for computing

›
Recently working on a XML data feed program, I had to handle empty date XML elements. I wondered as to what date I can put into the database...
Tuesday, January 30, 2007

Using ASCII mode for FTP of text files

›
Last week, I ran across a common problem -- I had transferred a INI file from Windows to Solaris in binary mode and the file did not work on...
Tuesday, January 16, 2007

Solaris tips - find out RAM and HD size

›
A few quick commands to help developers new on Solaris 10: To find out the amount of RAM on the system. > prtconf / grep Mem To find out ...
Monday, January 08, 2007

Getting the Client IP address on a J2EE server

›
The HTTPRequest object has 2 methods 'getRemoteAddr()' and 'getRemoteHost()'. These methods would return us the IPAddress/Ho...
Friday, January 05, 2007

Secure FTP options

›
I was looking for an secure option to FTP files to a remote server. There are 2 options available: FTPS and SFTP....and I was a bit confused...

File Encryption utility for windows

›
I was looking for a small light-weight encryption utility for encrpyting my personal information in files. There are a plethora of programs ...
Thursday, January 04, 2007

FTPing in Java

›
For performing FTP operations programmatically, I use the Jakarta Commons Net Package. This is a super-cool utility package that makes writt...
Tuesday, January 02, 2007

URL encoding and XML/HTML encoding

›
Recently in one of our applications we were passing XML data as a POST parameter to the server. For e.g. xml={xml string here} We were using...
Friday, December 29, 2006

Caching headers in HTTP

›
All dynamic applications need to prevent caching so that the request actually reaches the server each time. In this post , I found over the ...

Showing Modal windows in HTML Browsers

›
It had always been a challenge for web developers to show modal dialog boxes using Javascript that works across all browsers. IE has a propr...
Thursday, December 28, 2006

Dealing with currency calculations

›
Many novice developers use 'float' and 'double' data-types to represent dollars and cents. This is dangerous as float/double...
‹
›
Home
View web version
Powered by Blogger.