hits counter
  Create Free Blog | Random Blog »   Report Abuse | Login   

 

Archive for November, 2008

How Java’s Floating Point Hurts Everyone Everywhere

Consider the following Simple Code:
What could be the output??

Well, we know in simple maths 10.60 – 10.00 = .60;
But, why is the computation adding a small signed error to the result!!!. The computer floating point unit works internally in base 2, binary ie., the Representation of repeater fraction 1/3 = 0.33333 in base 10. [...]

JDBC Prepared Statements

A Prepared Statement forces a SQL statement to be set to the database immediately where it will be precompiled. This means that for subsequent calls, the SQL statement can just run the Prepared Statements’ SQL statement without having to compile it with every call. A Prepared Statement is most useful when using a SQL statement [...]

Developing real-time applications with Java RTS 2.0

Java Real-Time System (RTS) 2.0 is Sun’s fully compliant implementation of the industry standard set of extensions for the Java platform. It helps you set process priorities according to importance (this is typically not supported in Java software applications).
If you run a normal Java application under Java RTS 2.0, nothing really changes. You’ll start to [...]