In one of my previous posts I made an overview of Hibernate and its main principles of work. Now I want to talk about one of the most important features of Hibernate - associations. An association represents a relationship between two tables in a database. So let's go further because great things wait for us.
Spring MVC is a part of Spring Framework and its main purpose is to make web-development more simple, convenient and easy. interaction with forms is a part of every more or less modern web application. Spring MVC allows you to perform all kinds of activity with forms in a very strict and simple way. In the article you will read the basics of form handling with the help of Spring MVC.
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).