Author Archives: javaclaus

About javaclaus

Java Programmer, Code master, mountain biker, snowboarder, etc.

Apache Cordova Google Analytics Plugin for Android 5

After a year of publishing mobile apps to the Android Marketplace, it seems the whole world is upgrading and if you blink an eye, you will be out of compliance. So after firing up an emulator running the Android 5.0.1 … Continue reading

Posted in Uncategorized | Leave a comment

Apache Cordova Netbeans Android Google Analytics Plugin

After researching on many different sites and troubleshooting many different errors and show stoppers, I was finally able to piece together a Google Analytics plugin for my Cordova Android Netbeans project. First, here is the location of the plugin we … Continue reading

Posted in Analytics, Android, Cordova, Google, Mobile, NetBeans | Tagged , , , , , , , , , | Leave a comment

Java Coding Standards and Best Programming Practices

Naming Conventions and Standards Note: The terms Pascal Casing and Camel Casing are used throughout this document. Pascal Casing – First character of all words are Upper Case and other characters are lower case. Example: BackColor Camel Casing – First … Continue reading

Posted in Best Practices, Java, Software Programming | Tagged , , , , , | Leave a comment

Java Web Application Security – XSS Combat Part 2

A previous post from last year introduced a grand project that I was about to begin. After much analysis and searching I found a great solution that would secure my Java (JEE) application against XSS and SQLi attacks. OWASP – … Continue reading

Posted in ESAPI, Java, OWASP, Security, SQL Injection, XSS | Tagged , , , , , , , , | Leave a comment

How to pump even more memory into your Apache Tomcat Web Server

Normally, I have been fine with my Apache Tomcat Web Server running at a mere half a gig which is shown on the Tomcat’s Server Status screen. JVM Free memory: 288.40 MB Total memory: 486.50 MB Max memory: 486.50 MB … Continue reading

Posted in Apache, Server Technology, Tomcat, Tomcat, Tomcat | Tagged , , , , , | Leave a comment

Combating XSS in a Java Web Application

Recently, out Java Web App went through a Veracode security scan. Since the application is used by over 25,000 users world wide, I do see it as important that this scan took place. Although, I have placed some anti-XSS (Cross … Continue reading

Posted in Java, Security, SQL Injection, XSS | Tagged , , , , , | Leave a comment

Earth Day on the Hudson

As the weather warms up and the flowers erupt from the earth in new and refreshed life. My walk to work is both cheery and uplifting. As the wind wisks past me and molds my hair back into a pompadour, … Continue reading

Posted in Uncategorized | Leave a comment