Category Archives: Java

NekoBean Paper Craft

A few weeks ago, I stumbled on a paper craft template of NekoBean on the nekobean.net website.  The last time I did any art and craft was in junior public school, so I definitely didn’t have the talent for this … Continue reading

Posted in Java, NekoBean, NetBeans | Tagged , , | Comments Off

If-Else in Ant

When I need to write quick script to perform a simple task, I opt to use Ant instead of a shell script. Unfortunately, the Ant core tasks doesn’t provide any flow logic like the everyday if-else statements. Ant-Contrib provides a … Continue reading

Posted in Ant, Java | Tagged , | Comments Off

SSH with a Web Browser

A while back, I was using someone’s computer and I wanted to SSH into my server. The machine didn’t have any SSH client and I didn’t have my U3 Smart Drive with me. MindTerm is a client that implements the … Continue reading

Posted in Java, SSH | Tagged , | 1 Comment

Sending Email with Ant

Sometimes it’s useful for an Ant script to send out an email. This can be easily done using the mail task which is part of the Core Tasks in Ant. Before using the mail task, the JavaBean Activiation Framework jar … Continue reading

Posted in Ant, Java | Tagged , | Comments Off

Problem using MySQL JDBC on Tomcat 5.5 and Ubuntu 8.04

Normally when I build a web application that connects to a MySQL database, I would place the mysql-connector-java-bin.jar file into the WEB-INF/lib of the web application. However, when I deployed the application on Tomcat 5.5 on Ubuntu 8.04 I got … Continue reading

Posted in Java, MySQL, Tomcat, Ubuntu | Tagged , , , | Comments Off