Java development has one specific feature... To start the development you must set up and configure an environment. And often it isn't a trivial task because you need to take care about plenty of things. So in the post I'm going to consider a very popular mistake in the setting up of Dynamic Web Project.
This is the first article on my blog related to Spring MVC. The beginning is always exciting, so I will try to be concise and informative. Spring MVC allows creation of web-applications in the most convenient, straightforward and fast way. Start working with this technology implies knowledge of Spring CORE. In the post you will read about creation of a simple Spring MVC Controller. I prefer Java-based configuration of application, so the example will contain this approach.
As a continuation of the previous article, I want to demonstrate a simple example of Hibernate usage. I will show you the basic principles of Hibernate functionality. The article will cover annotation based configurations. For the tutorial you need to have installed an IDE (e.g. Eclipse), Maven, m2e plugin, MySQL.
Before you start learning some new technology I recommend you find some good article, which make a concise overview of the technology and give several code examples. Hibernate has become the most popular ORM solution in Java development therefore it's not strange that the most vacancies require its knowledge. This article is challenging for me, because I'm going to make a basic overview of the technology and to provide a code sample with MySQL. In the end of the tutorial you can find link to example of Hibernate usage.
Today I want to talk about Maven. It's very powerful instrument and if you know how to use it you will make minimum effort to achieve maximum result. In general Maven helps you to manage a project including library dependencies, building process and etc... But in the article I'm going to show you one of the ways how to create a Dynamic Web Project using Maven (in Eclipse IDE).