A bunch of Maven Archetypes for Spring based Projects

Maven is a good project management tool which greatly reduces the amount of time we spend on creating java projects with proper structure. With so many predefined maven archetypes it is even easier to create projects by simply selecting the archetype based on the technologies we need and type(jar/war/ear) of project we want to create. However sometimes those predefined archetypes […]

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-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

Unable to create a maven project using appfuse archetypes?

I don’t know why sometimes when i tried to create a Maven project using one of appfuse archetypes, eclipse throws error saying unable to create maven project. I resolved it by doing following: Window–>Preferences–>Maven–>ArchetypesAdd Remote Catalog : http://repo1.maven.org/maven2/archetype-catalog.xml Now I am able to create maven projects using Appfuse archetypes.

Read More

Solution for “Eclipse is running in a JRE, but a JDK is required” problem

Hi, When i installed Maven2 Plugin for eclipse i was getting the below error message when i startup my Eclipse IDE. After that when I tried to perform Maven operations thrugh Eclipse I got some errors saying “…/tools.jar” is not there. I did the below things to get rid of that problem. open the eclipse.ini […]

Read More