Highly experienced & passionate technologists have a challenging task in terms of figuring out their career strategies. For some this process of self discovery and adjustment works itself out quick, but for others its a harder journey. A passionate technologist often feels the need to be exposed to new cutting edge technologies and at the same time expects appropriate career growth and recognition.
Category Archives: Uncategorized
Using Jest as a REST-based Java client with ElasticSearch
If you have used ElasticSearch (ES) you will be familiar with the two ways you can access the index – the RESTful HTTP API’s and the Java API which uses a binary protocol. What is missing is a pure RESTful HTTP Java Client API. Open source Jest library attempts to fill that gap. Updated July 2016 to use ElasticSearch 2.3.4 and Jest 2.0.0.
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
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.
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