JSF 2.0 New Features JSF 2.0 proposal has been posted on March 2007 and planned for the release in last quarter of 2008. It will be shipped with JEE 6.0 release. Looking into the features lits of the JSF 2.0, it is added lots of interesting features in the list and also they are aiming [...]
Archive | July, 2008
New Features in Servlet 3.0
July 31, 2008
Servlet 3.0 The next version for servlet technology is Servlet 3.0, which is planned to be released with JEE 6.0 in the last quarter of 2008. After the release of servlet 2.5 in spetember 2005, this is the new version with many new features included. Servlet 2.5 is released with JEE 5.0. Servlet 3.0 is [...]
What is servlet?
July 31, 2008
Java Servlets Java Servlet is the serverside Java programming language. We can say it as serverside applet. How applet is used for writing the client side code, servlet is used for writing the serverside programming language. Servlet programming is first created by Sun Microsystems in June 1997. The latest version is Servlet 2.5 which is [...]
Call Java Oracle Functions From Java program
July 30, 2008
Call Java Oracle Functions From Java program Beginning with version 8i, the Oracle database includes a fully functional Java Virtual Machine, Oracle JVM. Out of this close relationship between Oracle and Java emerges an important technology for Oracle developers: Java stored procedures. With Java stored procedures, developers have the ability to harness the power of [...]
Configure MySql database with Hibernate mappings
July 29, 2008
Configure MySql database Configuring MySql database with hibernate is the same as with other databasses.The only difference will be connection url and the database dialect to be specified in the configuration file. This tips provides a basic example configuration file for configuaring the MySql with hibernate. But it doesn’t explain you installing the MySql database. [...]
JPA and NetBeans
July 28, 2008
In this article we will see how to use Java Persistence API (JPA) in NetBeans 6.1 with in a Java application. The JPA was first introduced as part of the Java EE 5 platform. This article will not provide any of the theoretical information about JPA. Software used NetBeans IDE 6.1 JDK version 5.0/6.0 MySql [...]
Collection Mapping in Hibernate : one-to-many
July 26, 2008
one-to-many class mapping This article explains how to map two classes in collection mapping. In this example one Author object has the list of Book objects. Both the classes are mapped and will be inserted together into the database. Here this example uses Bag as the collection type. Other collection types available are Set,List,Array. Look [...]
Comparison operators in Hibernate
July 26, 2008
Comparison operators HQL supports all the operators used in the SQL language. But, Criteria API doesn’t support the arithmetic expressions. Apart from that, it is easy to use other operators in the Criteria API itself. This tips provides few basic example programs on using the operators. JavaBeatHibernateExample.java 1 2 3 4 5 6 7 8 [...]
NULL and NOT NULL comparison in the Hibernate API
July 26, 2008
null and not null check While checking for the null and not null values in the Hibernate API, we have to be careful and there is chance for misunderstanding. This tips explains how to compare the null values in the Hibernate query. In Java language, if object==null will return the proper value if it is [...]
How to use named parameters and named query in Hibernate?
July 26, 2008
Named Parameters in Hibernate Query There is two types of query parameters binding in the Hibernate Query. One is positioned parameter and another one is named parameter. But, hibernate recommend to use the named parameters since it is more flexible and powerful compare to the positioned parameter. Here we will look into the named parameter [...]






July 31, 2008
0 Comments