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.
Category Archives: Uncategorized
Back to basics with maven, hibernate, spring, struts and…
It has been a while since I tried out the various products mentioned in the subject line together. Seems like after every long break from Maven I end up having to sit through hours finding out exactly which dependencies to include and which additional repository to include and of course hating myself at the end for spending time on another crud application. But its all good since as the title shows its – back to basics. Gradle definitely shows more promise and I like where it is going very much. My only complain is with its lack of plugins for commonly used frameworks. Some of the hideous scripts that I have to include to make common plugins work was enough for me to hold off on this baby. I am sure more plugin support will follow. BTW I got my back to basics example working in multi-module mode. One module was for backend services and the other for webui. services jar gets included into the final web ui war file and all is good. Now next step is to create a multi-module project where the backend services is also a war with RESTful services. My thought here is to create the backend as standalone RESTful services and have any type of UI or other backend code be able to invoke it. End goal is to deploy the two wars to a cloud provider – maybe GAE (Google App Engine). Will try an android client too. Will post progress on this later.
memcached
Caching data in an in-memory cache is an approach used to speed up data access. memcached is one such key/value based distributed object caching system that works this magic for you. Continue reading
Installing Ruby 1.9.2 and Rails 3 on Mac OSX
For those struggling to get Ruby 1.9.2 and Rails 3 installed on Max OSX. Continue reading
EJB3 With WebWork
The letters ‘E J B’ cause me to slouch back and say “oh no…”. But after a few encouraging words to myself, I gave it a shot. Continue reading
Code Analyzer – PMD
If you have a code review process in place, how do you make sure that the review is fruitful. The last thing you want is to spend many hours across different reviews pointing out the same thing over and over again. Continue reading
Flat File Parser
After a few projects where I had to parse through legacy flat files I decided enough was enough and decided to write my own parser. This parser would do exactly one thing efficiently and that was convert lines from the flat file to java objects. I wanted something that was thin and did exactly what I mentioned above and no other frills. Continue reading
Achieving Better Software Code Quality
Code Quality. Have you achieved it. If yes – Congrats and bi. If not read on. Continue reading
Intelligent Software Agents in Knowledge Management
The goal of this article is to introduce the reader to the concepts and theory behind the knowledge management process and how intelligent software agents can help to manage the knowledge management process. Continue reading