Coder Eye

Software development and photography related issues

Wednesday, March 24, 2010

Email validation in Java

›
You can write your own code to validate email, but why bother if you have it ready. The Apache Commons project has a sub project called: Co...
Sunday, March 21, 2010

Java interview question: Check array for duplicate values in one pass

›
This question should be asked more precisely: How can array of size N filled with numbers up to N (0 to N – 1) be scanned for duplicate valu...
7 comments:
Friday, March 19, 2010

Java interview question: List “contains” method

›
This question verifies that you know how the “contains” method of List works. Let’s have a look at this small piece of code: Person perso...

Java interview question: Count the number of “1” bits in a byte

›
Frankly, I think it is quite an idiotic question. Not because it is too easy or too hard question, but because I think this question doesn’t...
4 comments:
Monday, March 15, 2010

Excel Pivot Tables and Dynamic Range

›
Excel Pivot Table is a great tool for viewing and aggregating data. The data shown in a Pivot Table is taken from some range in one of the s...
1 comment:
Wednesday, March 3, 2010

Seam and Quartz integration

›
Seam is a great framework for easily building Internet applications in Java. It integrates with lots of well known existing java technologi...
1 comment:
Sunday, February 28, 2010

Fixing Facelets/XHTML corrupted page issues in Google Chrome

›
I had a problem for quite some time on a web site being shown corrupted in Google Chrome . On the original HTML page everything was working ...
8 comments:
Monday, February 22, 2010

Resize to max width and crop to height using ImageMagick

›
ImageMagik is a great open source tool that allows many conversions and manipulations of images. It supports huge amount of image types and...
Wednesday, January 20, 2010

Using Hibernate Transformers

›
There are times we have a class, we would like to fill with data according the data returned from a query. The class is a simple POJO and no...
2 comments:
Tuesday, January 19, 2010

Calculate the distance between 2 Ips in Java using maxmind

›
Calculating the distance between 2 ips can be done easily by using the great geo service: Maxmind . Maxmind is an affordable geo service ...
‹
›
Home
View web version

About Me

Guy Bashan
View my complete profile
Powered by Blogger.