Save Time by using Eclipse Shortcuts
Powered by MaxBlogPress  
Currently browsing category

Scripts

SVN Keyword Substitution Example

I use SVN as repository management tool and usually work on multiple projects simultaneously. I was looking for some way using SVN …

Java Program to Connect to Remote database through SSH using Port Forwarding

Recently in one of my project I had to connect to a remote database that was setup on SSH enabled server. Since it was on SSH enabled server, we can’t connect it directly using JDBC connection API. To achieve this, we first need to create SSH session and then using Port Forwarding we can forward the request to server and connect to database. I achieved this using JSch Port Forwarding and then connecting to database.