Java ELM
15 views | +0 today
Follow
Your new post is loading...
Your new post is loading...
Scooped by Pankaj Balwani
Scoop.it!

How to effectively handle NullPointerException in java - How To Do In Java

How to effectively handle NullPointerException in java - How To Do In Java | Java ELM | Scoop.it
Spread the words...1346200NullPointerException is an unchecked exception and extends RuntimeException. It doesn’t force you to use catch block to handle it. NullPointerException is very much like a nightmare for most ... Read More
more...
No comment yet.
Scooped by Pankaj Balwani
Scoop.it!

Hibernate cache levels tutorial | Java Code Geeks

Hibernate cache levels tutorial | Java Code Geeks | Java ELM | Scoop.it
One of the common problems of people that start using Hibernate is performance, if you don't have much experience in Hibernate you will find how quickly your application becomes slow. If you enable sql traces, you would see how many queries are sent to database that can be avoided with little Hibernate knowledge. In current post I am going to explain how to use Hibernate Query Cache to avoid amount of traffic between your application and database. Hibernate offers two caching levels: The first level cache is the session cache. Objects are cached within the current session and they are only alive until the session is closed.The second level cache exists as long as the session factory is alive. Keep in mind that in case of Hibernate, second level cache is not a tree of objects; object instances are not cached, instead it stores attribute values. After this brief introduction (so brief I know) about Hibernate cache, let's see what is Query Cache and how is interrelated with second level
more...
No comment yet.
Scooped by Pankaj Balwani
Scoop.it!

What is Hibernate Caching?

What is Hibernate Caching? | Java ELM | Scoop.it
This article discusses about, how to improve the performance of Hibernate web applications using caching.
more...
No comment yet.
Scooped by Pankaj Balwani
Scoop.it!

REST Web Services

REST Web Services | Java ELM | Scoop.it
Information about RESTFul Web service developement and its best practices
Pankaj Balwani's insight:

4354

more...
No comment yet.
Scooped by Pankaj Balwani
Scoop.it!

Understanding hibernate first level cache with example - How To Do In Java

Understanding hibernate first level cache with example - How To Do In Java | Java ELM | Scoop.it
Caching is a facility provided by ORM frameworks which help users to get fast running web application, while help framework itself to reduce number of queries made to database in a single transaction. Hibernate achieves the second goal by implementing first level cache. Fist level cache in hibernate is enabled by default and you do …
more...
No comment yet.
Scooped by Pankaj Balwani
Scoop.it!

Hibernate - JPA Annotations

Hibernate - JPA Annotations | Java ELM | Scoop.it
Hibernate Annotations: This tutorial is part 2 of 5-part tutorial on JEE annotations.
It contains usage instructions, code examples and tips on Hibernate annotations.
more...
No comment yet.