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).
When I talk about SQL databases, I always mean a set of tables with some relations between them. Relations in the databases are possible due to foreign keys. In the post I'm going to make a quick overview of the set up of foreign keys in MySQL using Toad MySQL. MySQL has strict standards, so Toad MySQL shouldn't create many restrictions for porting the steps to any other MySQL development tool.
The term "software development" has a lot of different abbreviations, especially when we are talking about Java development. Every day, reading any IT-portal you can see something like this: EJB, JSF, GWT, JSTL, POJO, JPA... Sometimes it seems hard to keep track of all rapidly changing technologies. So today I'm going to clarify all the aspects of JPA and Hibernate.
Even the longest journey starts from first step © Someone smart