Generics: Beauty and Madness

July 2011 Posted by Arjay Nacion

Generics : Beauty and Madness

Generic types added in JDK 5.0 provided enhancement to type safety in Java. For example in using Collections, generic types allow restricting the type the collection would contain as opposed to pre-JDK5 wherein collection classes accept anything that extends from java.lang.Object (which means almost everything!).

Read more...

Unboxing Java Boxing

June 2011 Posted by Mohammad Omair Marohom

Unboxing Java Boxing

There are two types in Java Programming Language. The first is primitive type such as int, double, and boolean. The second is the reference type such as String, List, and Set. Every primitive type has a corresponding reference type, called a boxed primitive.

Read more...

Recursively Retrieving Values using Java Reflection

May 2011 Posted by Allan Tan

Retrieving Values using Java Reflection

I recently came across this Java code snippet we created for Open-Tides and still find it very useful in developing flexible and dynamic applications.

So, why is there a need to retrieve values using reflection? The answer is simple – to allow your application rules to be configurable through the database.

Read more...

Practical Application of Clean Code Principles

March 2011 Posted by Richard Buendia

A Step Towards Professionalism

I noticed that every time my code will be reviewed by someone, they will ask me something about the purpose of a variable or the logic of the method or even the comments and so on. Because of that, I tend to do a lot of explaining for others to understand my code. I thought to myself, “Is my code really that chaotic?”

Read more...

Database Evolve: Managing Database Versions Programmatically

How can you ensure that during development, all developers works on the latest database schema to reduce code conflicts? And during production roll-out, how can you ensure that applications on different servers are compatible and consistent with their respective database schema?

Read more...

Book Review: Head First Java 2nd Edition

May 2010 Posted by John Jason Reyes

Book Review: Head First Java 2nd Edition

Ever seen a Java book with graphical images and humorous text on every page? You may think of it as a style of publishing books to attract readers. You may even think that it’s not worth reading. But you’re wrong! Head First Java 2nd Edition is one of the most fun and motivating Java books you’ll ever find. Check out my lil book review…

Read more...

Introduction to Java Content Repository and Apache Jackrabbit

April 2010 Posted by Erickson Javines

Introduction to Java Content Repository and Apache Jackrabbit

With the growing demand in integrating content like photos, music, videos & office docs into business & web applications, we need a content management system that is rich in features, flexible & easy to learn. The Java Community Process developed a solution to this trend – the JSR-170 & JSR-283, also known as the Java Content Repository (JCR) API.

Read more...

Improve Java Web Development Server Startup Time

August 2009 Posted by Jaycobb Cruz

Improve Java Web Development Server Startup Time

When developing an application in a web server environment, the ease of use and startup time of the application are crucial elements for best performance. Due to this, the Hot Code Replace (HCR) debugging technique was developed to “facilitate experimental development and to foster iterative trial-and-error coding,” effectively improving…

Related Posts with ThumbnailsRead more...
Copyright © 2011 Ideyatech, Inc. All Rights Reserved.