Top Posts in Python
65 HTML5 Tutorials, Examples and Resources for Web Developers
HTML5 Features – input, required, pattern, datalist
Java JSch Example to run shell commands on SSH Unix
Earlier I wrote a program to connect to remote database on SSH server. Today I am presenting a program that can be used to connect to SSH enabled server and execute shell commands. I am using JSch to connect to remote ssh server from java program.
My 25 Favorite Programming Quotes that are Funny too
Recently I was looking for some good programming quotes for one of my presentation. I was amazed to find that there are some good programming quotes that are really funny and need some brains to figure out the fun part.
Here are 25 of them I like in random order.
Java Program to connect to MySQL over SSH using JSch and JDBC
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.
Java Generate CSR
Recently I had to write a program to generate Certificate Signing Request (CSR) using Java API. Here I am providing the steps I followed with Java Program to generate CSR. After that we will also make sure that its valid by validating it with verisign CSR validator tool.
How to install Oracle WebLogic on Mac and Creating WebLogic domain
Oracle Weblogic is one of the most widely used application server. Recently I have installed it on Mac OS X (10.6.4) system and created a domain. This article is intended to provide the steps for installation and creating domain and then starting and stopping domain with Terminal. I have setup Oracle Weblogic 10.3.3.0 on my system but I am sure that the setup instructions will work for other versions also.
Prerequisite for Oracle Weblogic Server Installation
1. Oracle Weblogic setup – You can download it from Oracle website for development purpose.
2. JDK 6 – Oracle Weblogic 10.3 requires Java 6 and it comes with the default Mac OS X system. You can check whether its installed or not. It will be in “/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home” directory.
Java Read URL to String
In my current project, I had a requirement to read the WSDL file from the URL and store it into database as Clob. There was no validation required, so it was kind of reading URL as String and then storing it into database table.
Here is the program I wrote to read URL to String.
How to clear Eclipse subclipse and subversion plugins user-password in Mac OS
If you are using Eclipse IDE and using SVN as repository for your projects then you might be aware of subclipse and subversion plugins. Just to give a brief idea, these are the plugins to work with SVN in Eclipse IDE for version controlling.
Recently I faced a problem in using it for multiple users. When we connect to SVN repository from any user id and then saves the password, it caches this data to a hidden file in the file system. So when you connect to some other project location, it doesn’t prompt for user/password and gives error message. To avoid this error, we need to clear the saved data.
Installing Java on Windows 7 Ultimate 64-bit
Recently I bought a new desktop system and installed Windows 7 Ultimate 64-bit on it. Being a Java Developer, the first thing I did after regular setup is to download and install JDK. I was using Windows XP, Solaris or Mac OS for my development purpose till now and I was installing it for the first time on Windows 7 64-bit OS.
Here I am providing steps to download, install and configure Java in Windows 7 64-bit operating system.