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

Developing WebServices using JDK6/JAX-WS is simple. Is it true?

In many articles, blogs we can see how to develop WebServices using with JDK6’s JAX-WS in-built support in just 5 minutes. We can simply write a POJO and annotate it with @WebService, publish it with Endpoint.publish(…) and you can see the generated wsdl by pointing your browser to http://localhost:8080/JAXWS/helloService?wsdl. Immediately we can write a client […]

Read More