Pass maven properties to maven-antrun-plugin
Author
: Nitin Tripathi
Blog
: ZERO
Date
: 9/26/2012 8:46:00 AM
'Problem:You want to bundle a your application jar files with other software artifacts but as maven names your jar file as magic-app-$.jar your maven-antrun-plugin fails to pick it up on its own.Solution:This was a persistent irritant as every time we upgraded our applications' version we needed to manually enter the same version name to build.properties and only then we can package latest jars for release.After exploring certain unsatisfactory solution like;using-maven-to-output-the(...)'
Read full article
SBAs - Search Based Applications
Author
: Nitin Tripathi
Blog
: ZERO
Date
: 6/15/2012 4:57:00 PM
'Googling for the above term (as of this day) does not returns quality results. However, if you search for Search Based Applications (SBAs) you will hit a wikipedia entry and certain other articles which have used the similar term. You will even find a book by the same name on Amazon. To sum, it simply means that my thought process is cutting edge ;) ...come on, this is my blog, I can brag!But, I'm not kidding, the idea in itself is very simple... just use right data-structure(invert(...)'
Read full article
REALSEX
Author
: Nitin Tripathi
Blog
: ZERO
Date
: 6/8/2012 6:09:00 PM
'REALSEX a.k.a REAL eState EXchangeOh! so you finally ended up being inquisitive.. You Peeping Tom!! Never mind, I was just experimenting with the idea of putting some thing scandalous as the blog title to attract readers.. Gotch Ya! :)This blog entry is actually about my new found big ticket Startup !dea. Well for those of you who know me might frown.. isn't it? You see for past few days I'm observing that there is rising trend of this particular keyword being thrown upon me fr(...)'
Read full article
Mongodb Paging Item Reader
Author
: Nitin Tripathi
Blog
: ZERO
Date
: 6/7/2012 3:56:00 PM
'Here, is a sample..package org.zero.index.batch.read;import java.util.List;import java.util.concurrent.CopyOnWriteArrayList;import org.slf4j.Logger;import org.slf4j.LoggerFactory;import org.springframework.batch.item.database.AbstractPagingItemReader;import org.springframework.data.mongodb.core.MongoOperations;import org.springframework.util.Assert;public class MongodbPagingItemReader<T> extends AbstractPagingItemReader<T> else final List<T> result =(...)'
Read full article
Hausla Buland
Author
: Nitin Tripathi
Blog
: ZERO
Date
: 4/2/2012 4:17:00 PM
'जैसे कंधे पे इक दोस्त का हाथ हो जैसे लफ्ज़ो पे दिल की हर एक बात होजैसे आखोँ से चिंता की चिलमन हटेजैसे मिट जाए हर ग़म कुछ इतना घटेजैसे राहोँ में सपनो की कलियाँ खिलेजैसे दिल में उजालो के दरिया बहेजैसे तन-मन कोई गीत गाने लगेजैसे सोई हुई हिम्मत अंगडाई लेजैसे जीना ख़ुशी की कहानी लगेजैसे खुल जाए रस्ते अब तक थे बंदहौसला हो बुलंदहौसला हो बुलंदहौसला हो बुलंदहौसला जैसे आस्मां से हो बुलंदहौसला हो बुलंदहौसला हो बुलंदहौसला हो बुलंदहौसला जैसे आस्मां से हो बुलंदहौसला हो बुलंदहौसला हो बु(...)'
Read full article
Spring Managed DI for Quartz Jobs With Dependencies
Author
: Nitin Tripathi
Blog
: ZERO
Date
: 4/1/2012 8:26:00 AM
'Problem Statement:Quartz scheduler (v 2.1.3) triggers a job which has its own dependencies which needs to be managed using Spring (3.1.1.RELEASE+)Solution:The Jobpublic class HttpDealsDownloadJob implements Job }Spring Context <bean id="mySchedulerFactoryBean" class="org.springframework.scheduling.quartz.SchedulerFactoryBean"> <property name="configLocation" value="file:quartz.properties" /> <property name="jobFactory" ref="springBeanJobFactory" /> <property(...)'
Read full article
Wannabe Architect 101
Author
: Nitin Tripathi
Blog
: ZERO
Date
: 4/1/2012 7:45:00 AM
'I feel fortunate to be a professional Software Engineer as no other career option would have given me the luxury to contribute in myriad different ways and power to change them for good. But, with power comes responsibility and to conduct one self in graceful manners in adverse situations. Today, I'm going to share some of my first hand experiences working in technical leadership role;you do not have authority - get this straight into your head, as it sets the foundation for ou(...)'
Read full article