Objective: In my previous blog, I explained and demonstration NoSQL DB configuration and this blog is to give an insight to create the relational SQL DB configuration using spring and maven with proper transaction manager and entity manager factory configuration…
How to create the best MongoDB configuration with spring
Objective: This blog is to give an insight to create the NoSQL DB configuration using spring and maven. Pre-requisite: To create MongoDB/NoSQL configuration, following are required. Running MongoDB/NoSQL DB, could be protected by user name and password Maven dependencies Maven…
How to set proxy for git, npm, windows, linux and mac OSX
Objective: In this blog, a quick overview to set the proxy for different operating systems and software like git, npm etc. Window Command Prompt
1 2 3 |
set HTTP_PROXY=https://[username:password]@[proxyserver]:[port] set HTTPS_PROXY=%HTTP_PROXY% |
Linux Command Prompt
1 2 3 |
export HTTP_PROXY=https://[username:password]@[proxyserver]:[port] export HTTPS_PROXY=$HTTP_PROXY |
Mac OSX Command Prompt
1 2 3 |
export HTTP_PROXY=https://[username:password]@[proxyserver]:[port] export HTTPS_PROXY=$HTTP_PROXY |
NPM Command Prompt
1 2 3 |
npm config set proxy https://[username:password]@[proxyserver]:[port] npm config set https_proxy https://[username:password]@[proxyserver]:[port] |
GIT Command Prompt
1 2 3 |
git config --global http.proxy https://[username:password]@[proxyserver]:[port] git config --global https.proxy https://[username:password]@[proxyserver]:[port] |
How to do Zero Downtime Deployment in simple steps
How to use Spring Cache with ehCache easily
Objective: To demonstrate the steps to implement Spring 3.1 Cache Abstraction Implementation with ehCache. I’ll also show the spring expression language to form a key from method parameter. Prerequisites: 1. A small standalone/web application to implement this cache implement 2. Spring…