![]() ![]() Rest of the dependencies are for Spring, Hibernate and Joda-Time. Testing part of this post is described in detail in Next post. In general, containers might already contains these libraries, so we can set the scope as ‘provided’ for them in pom.xml. hibernate-validator also provides few of it’s own annotations etc.) which are not part of the specification.Īlong with that, we have also included JSP/Servlet/Jstl dependencies which we will be needing as we are going to use servlet api’s and jstl view in our code. We will choose JSR303 Validation here, so we have included validation-api which represents the specification, and hibernate-validator which represents an implementation of this specification. Since in this example we will use a form to accept input from user, we need also to validate the user input. As we are using full annotation configuration, we don’t even include web.xml in our project, so we will need to configure this plugin in order to avoid maven failure to build war package. Step 2: Update pom.xml to include required dependenciesįirst thing to notice here is the maven-war-plugin declaration. Let’s now add the content mentioned in above structure explaining each in detail. Step 1: Create the directory structureįollowing will be the final project structure: Spring Batch- MultiResourceItemReader & HibernateItemWriter example. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |