Exporting Spring Data JPA Repositories as REST Services using Spring Data REST

Spring Data modules provides various modules to work with various types of datasources like RDBMS, NOSQL stores etc in unified way. In my previous article ¬†SpringMVC4 + Spring Data JPA + SpringSecurity configuration using JavaConfig I have explained how to configure Spring Data JPA using JavaConfig. Now in this post let us see how we […]

Read More

RESTEasy Tutorial Part 3 – Exception Handling

  RESTEasy Tutorial Series RESTEasy Tutorial Part-1: Basics RESTEasy Tutorial Part-2: Spring Integration RESTEasy Tutorial Part 3 – Exception Handling Exception Handling is an obvious requirement while developing software application. If any error occured while processing user request we should show the user an error page with details like brief exception message, error code(optional), hints […]

Read More

RESTEasy Tutorial Part-2: Spring Integration

  RESTEasy Tutorial Series RESTEasy Tutorial Part-1: Basics RESTEasy Tutorial Part-2: Spring Integration RESTEasy Tutorial Part 3 – Exception Handling RESTEasy provides support for Spring integration which enables us to expose Spring beans as RESTful WebServices. Step#1: Configure RESTEasy+Spring dependencies using Maven. Step#2: Configure RESTEasy+Spring in web.xml org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap org.jboss.resteasy.plugins.spring.SpringContextLoaderListener Resteasy org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher Resteasy /rest/* contextConfigLocation classpath:applicationContext.xml […]

Read More

RESTEasy Tutorial Part-1: Basics

  RESTEasy Tutorial Series RESTEasy Tutorial Part-1: Basics RESTEasy Tutorial Part-2: Spring Integration RESTEasy Tutorial Part 3 – Exception Handling RESTEasy is a JAX-RS implementation from JBoss/RedHat and is in-built in JBoss 6 onwards. Here I am going to show you how to develop a Simple RESTful Web Services application using RESTEasy and JBossAS7.1.1.FINAL. Step#1: […]

Read More