Tag Archives: java

Semantic Test Plan – KFrog Language

This post is an extract from one of my earlier project under Prof. Alfred Aho for the course – Programming Language & Translators, where I implemented a Test Suite for validating the KFrog Language interpreter. Report: http://docs.google.com/viewer?url=http://gauravpandey.webs.com/KFrog_FinalProjectReport.pdf Technical details: https://docs.google.com/View?id=d8gtx9j_164g2gz7k5x Originally, the idea was to test the graphical output generated by the interpreter. Since, it […]

0  

Validating Tomcat-SSL Configuration using a Java Client program

Continuing with the topic of configuring Apache Tomcat – SSL, we wish to validate the connection using a Java Client program. The prime motive is to use a standard Java Console application and connect over SSL with an already deployed web portal running on Tomcat. Use sample Java code – HelloClient.java (Replace the file extension […]

0  

Apache Tomcat 6 – SSL Configuration

Here, we will try to configure Apache Tomcat for SSL based request. In a previous post, I showed how Certificates are generated First of all, download 32/64 bit versions of Tomcat 6.0 from below links 32 Bit: http://apache.osuosl.org/tomcat/tomcat-6/v6.0.30/bin/apache-tomcat-6.0.30-windows-x86.zip   64 Bit: http://apache.osuosl.org/tomcat/tomcat-6/v6.0.30/bin/apache-tomcat-6.0.30-windows-x64.zip   Unzip either of the above under in C drive   In Windows 7, […]

0  

Generating Certificates using Keytool

In Windows 7, make sure you open Command Prompt under Administrative mode. On Server machine: $ keytool -genkey -alias SrvKeystore -keypass abcd123 -keystore SrvKeystore -storepass abcd123 What is your first and last name? [Unknown]: G P What is the name of your organizational unit? [Unknown]: GauZ What is the name of your organization? [Unknown]: GauZ […]

0  

My take on Java 7 features

No wonder the features look quite impressive indeed. Use of “String” in switch statement was long due! 🙂 InvokeDynamic is also a very useful feature. I have been using C# for quite some time and InvokeDynamic has certainly saved lot of time and improved readability of the code. 1) var foo = new List<int>(); 2) […]

0