Finally got around to deploying one of my old restful applications to the open source PaaS Cloudfoundry.com. I have updated the original post with new instructions at Secure RESTful Services with Maven, Spring, Apache CXF and Spring Security.
Yearly Archives: 2012
Mongodb + Nodejs + Express + Mongoose
Experiments with Mongodb, Nodejs, Express and Mongoose.
Notes from #MongoDC2012 conference
Notes from attending today’s (6/26/2012) MongoDB conference – MongoDC.
Updated Spring Batch blog…
Updated the Spring Batch series of blogs with Spring Framework 3.1.0.RELEASE and Spring Batch 2.1.8.RELEASE. Also switched to using HSQLDB to simplify the requirements to run this example (vs. the previous dependency on MySQL).
- Spring Batch – Part I – Simple Tasklet – Read from a comma separated file and insert 200k rows into a HSQLDB database.
- Spring Batch – Part II – Flat File To Database – Read from a comma separated file and insert 200k rows into a HSQLDB database.
- Spring Batch – Part III – From Database to Flat File – Read back the 200K rows and now write it out to a new file.
GitHub
Started moving my blog code to GitHub. It feels so much better having all that up there in GitHub land. Will move as much code as possible to GitHub in the days ahead and add links to the Git repository in the the blogs.
Link to my GitHub – https://github.com/thomasma
MongoDB and Spring Data
This blog will give the reader a decent start with writing a Spring-based application that writes to MongoDB, retrieves data via queries and finally runs a simple MapReduce query. All this using Spring Data MongoDB support.
Secure RESTful Services with Maven, Spring, Apache CXF and Spring Security
Nov 1st 2012: Minor updates including instructions on how to deploy this to the open source PaaS Cloudfoundry.
Modified the previous blog entry to work with Apache CXF instead of Jersey. Made modifications to the spring configuration XML to configure CXF as the restful service engine. The Maven pom.xml file was modified to include CXF libraries. Download the code from GitHub – https://github.com/thomasma/jaxrs-cxf-springsec.
Secure RESTful Services with Maven, Spring, Jersey and Spring Security
This post adds security to my previous RESTful services example code. The changes are quite simple and I will only highlight them here. As usual the full Maven project and a Java client test class is available for you to explore.
RESTful Services with Maven, Spring and Jersey
Just got around to updating an old blog on REST using Jersey. Previously I had a terrible Eclipse dynamic project. Moved it all to Maven and the latest Jersey + Spring implementations. Click here to read the updated blog.