Skip to main content

Posts

Showing posts from June, 2014

Cuubez Rest framework sample application

In this tutorial, we show you how to develop a simple REST web application with  Cuubez . Technologies and Tools used in this article: Cuubez 1.0.0 JDK 1.6 Tomcat 6.0 Maven 3.0.3 Intellij IDEA 13.1.1 Note  If you want to know what and how REST works, just search on Google, ton of available resources. 1. Directory Structure This is the final web project structure of this tutorial. 2. Standard Web Project Create a standard Maven web project structure . mvn archetype:generate -DgroupId=com.cuubez -DartifactId=Employee-example -DarchetypeArtifactId=maven-archetype-webapp -DinteractiveMode=false Note  To support IDEA, use Maven command : mvn idea:idea 3. Project Dependencies Cuubez is published in Maven repository. To develop cuubez REST application , just declares  cuubez-core  in Maven pom.xml. File : pom.xml <dependencies> <dependency> <groupId>com.cuubez</groupId> ...