Tag Archives: Hibernate

How to configure Apache Tomcat 7 in eclipse

Building Apache Tomcat from source is very easy, and is the first step to contributing to Tomcat. The complete and comprehensive instructions are provided in the file BUILDING.txt. The following is a quick step by step guide. 1.Install Java. Building Apache Tomcat requires a Java 6 JDK to be installed and optionally a Java 7 JDK […]

Configuring Hibernate in Eclipse

Hibernate is an object/relational mapping tool for Java environments. What does it mean the term object/relational mapping? simply a technique of mapping a data representation from an object model to a relational data model with a SQL-based schema. Hibernate Installation/Setup on Eclipse IDE You should download the latest production release of Hibernate from the Hibernate website at http://www.hibernate.org/ orhttp://sourceforge.net/projects/hibernate/files/hibernate3/ and […]

Top 10 Mistakes Java Developers Make

Top 10 Mistakes Java Developers Make 1. Convert Array to ArrayList To convert an array to an ArrayList, developers often do this: List<String> list = Arrays.asList(arr); Arrays.asList() will return an ArrayList which is a private static class inside Arrays, it is not the java.util.ArrayList class. The java.util.Arrays.ArrayList class has set(), get(), contains() methods, but does […]

Portability of Java Programming Skills

You can program in Java. That’s great! But what else can you do with those skills? Are you trapped with Java? Not at all. Here are some other languages, and a brief look at what your Java programming skills will give you in the way of a head start, and what differences to look out […]