gettinig PDF form field names

If you have a PDF and want to fill the pdf programmatic-ally, You can but you need those pdf’s form fields. Here’s a simple Java Class which can help you. I am using iText as my PDF library. import java.util.HashMap; import java.util.Iterator; import com.lowagie.text.pdf.*; public class iTextSample { public static void main(String[] args) throws Exception{ […]

SSH proxy – Running SSH over blocked ports, SSH on mobile phones, SSH over HTTP

Imagine yourself in a scenario where you’re a behind a firewall and cannot access the SSH, or you’re controlling your servers via your mobile. Here’s a quick way to manage your servers through HTTP via command line. You can fire scripts, run shell commands etc. Be careful, it will not ask you any username/password and […]

Webmethods running linux commands as a java service

Recently a friend asked me how in webmethods, she could fire linux specific utility tasks. She wanted to find out if the disk space is full on linux. This can be done very easily by the “df- kh” command. But how to invoke this through webmethods? Solution: Follow the steps below. Step 1: Create a […]