Searched for ""

Caching with Hibernate 4

If you have a bigger application you think about performance and how you can improve it. Caching is one way to do this because it enables fewer queries going to the database. Querying the database is always a performance impact because it is an I/O operation. And I/O operations are much slower than operations using… Continue reading

About Us provides an easy tutorial for beginners to learn online. This journey started in 2010 with an article on the Core Java topic. Now we are increasing our database of tutorials adding new articles on new technology day by day. Got any tip for us? or have any topic you want us to write about?… Continue reading

Hibernate 4 Database configuration

In the previous articles I have shown you how to get started with Hibernate 4: create entities, manage relations and inheritance and how to query the stored data. However every time I used an in-memory database which means that every time you stop the application the inserted data vanishes.

Hibernate 4 annotations Configuration

In the last, introductory article I mentioned the so-called “XML-Hell” which is the massive usage of XML to do Hibernate configuration. In this article, I will introduce the annotation-based configuration, where you can use Hibernate’s annotations on the entities to reduce the amount of XML needed.

Create simple chat application using Node.JS, Express.JS and Socket.IO

Introduction This article is all about creating a simple chatting application using Node.JS, Express.JS, and Socket.IO. There are many different ways to implement this using traditional languages like PHP, .Net, SignalR etc. There are different libraries available in the market like chatJS, jQuery+AJAX. We can also use third-party libraries but they might be paid services.