Test CXF Restful Services with Rest-Shell @Put @Get

This short post publishes a Restful Web Service and then tests @Put and @Post methods using rest-shell. Create the Service Follow the instructions from my previous post: Produce Json From Restful CXF Web Service. Once you have done this, modify the CustomerService as follows: This provides methods to Put and Get data. Test the Service … Continue reading Test CXF Restful Services with Rest-Shell @Put @Get

Advertisements

Produce Json From Restful CXF Web Service

In this post, we are going to create a simple Restful web service that returns json. This post follows on from Create Restful Web Services with JBoss, Maven, Apache CXF and Spring, but is also self-contained. Create the Project Using Eclipse / JBoss Developer Studio New -> Maven Project maven-archetype-webapp Group Id: com.skills421.webservices Artifact Id: SimpleCXFRest The … Continue reading Produce Json From Restful CXF Web Service

Create Restful Web Services with JBoss, Maven, Apache CXF and Spring

In this short post, we are going to create a simple restful web service using Apache CXF, Spring, and JBoss AS7. Create the Project Using Eclipse / JBoss Developer Studio New -> Maven Project maven-archetype-webapp Group Id: com.skills421.webservices Artifact Id: SimpleCXFRest The default project structure will be created as follows: Add Missing Folders and Delete index.jsp Right-click … Continue reading Create Restful Web Services with JBoss, Maven, Apache CXF and Spring

Java, Fitnesse, JBoss, EAP, Drools on Yosemite

Took the plunge and upgraded my Mac to OS X Yosemite. The Mac rebooted fine and even opened the previously unclosed windows from before reboot. Opening JBoss Developer Studio prompted me to download the correct version of Java and then took me straight to the Apple website where I could download Java for OS X … Continue reading Java, Fitnesse, JBoss, EAP, Drools on Yosemite

Drools, Camel and Spring

Objectives In this example we will integrate Drools, Spring and Camel. We will first execute a test to show that our Rules are firing using just Drools Next we will test our Spring / Drools integration is working by loading a Drools Stateful Session bean and firing the rules associated with it. We will then … Continue reading Drools, Camel and Spring

Connecting Drools 5.6 with Spring 3.x

This post is concerned predominantly with linking Spring3.x and Drools5.6. We will configure Spring, Drools and create a simple rule to test that we are up and running. Add the Drools Plug-in to Spring STS Start Eclipse Help -> Install New Software Work With: http://download.jboss.org/drools/release/5.5.0.Final/org.drools.updatesite/ click the "Add" button Name: Drools Check the Drools and … Continue reading Connecting Drools 5.6 with Spring 3.x