There are a lot of articles about Hibernate associations in the internet and particularly on my blog. But JPA provides numerous combinations of associations, so it's not strange that we still see new posts about this or that kind of association. Today I want to examine situation with the @JoinTable annotation and intermediary table. For the tutorial I'll use MySQL, Hibernate as implementation of JPA and Maven.
Posts By Alex Fruzenshtein
It's hard to imagine a situation when a modern web-application doesn't have checkboxes in a form. In one of the previous posts I wrote about form handling in Spring MVC, as a continuation of this series I'm going to write about Spring MVC forms, and in particular about checkbox processing. This post will be about a standard usage of
Session management is one of the essential parts for each web application. Since Spring MVC is a powerful framework for web development, it has its own tools and API for the interaction with sessions. Today I intend to show you the basic ways of session processing within Spring MVC application. That is: how to process forms, add objects into a session, and display objects from the session on JSP. I will try my best, so let's start.
Every java developer faces with a situation when he needs to see the source of some java class. But not always libraries are completed with the source code, and you can't see the sources by simply clicking on the "F3" button. So in such situations you need to use decompiler... How to use java decompiler in Eclipse? This post gives an answer on the question.
Developers always need to take care about code they produced. They should be ensured that the code works properly after a new feature was implemented or some bug was fixed. That can be achieved with the help of unit tests. Since this blog is dedicated to the Java programming language, today I will write an article about the JUnit 4.1 and EasyMock 3.1 frameworks. The main purpose of these frameworks is to make writing of unit tests easier. As alternative you can read about JUnit and Mockito.