Archive

Archive for January, 2009

The KISS WebApp Framework? Maybe I found it!

January 28, 2009 2 comments

“Sometimes Less is More”. This is the slogan of SLOTS, a templating framework for servlets and JSP. “However, ‘framework’ isn’t entirely accurate, unless you consider 2 class files a framework”, said its author. Yes, incredible, a framework composed by two classes, and yet very flexible. No XML at all, just one .properties file à la old manner.

The framework is composed by a servlet to map into web.xml file, for handling the requests, and a wrapper which performs the templating work. The base concept is that pages content are wrapped into templates before being returned to the browser. Templates can be referred each other into the simple configuration file, allowing lots of possibilities.

And what if you actually need more? Well, are you actually a Java programmer? Take the source code and write down your changes; with SLOTS you can 🙂

And finally, do you want a KISS servlet container as well? See Simple, a Java based HTTP engine. Its name says everything!

Showing query results within a JTable

January 26, 2009 3 comments

One of the most boring and error prone operations to do while writing desktop applications with database access is to show query results into a JTable. Here’s a simple EntityTableModel that can be used every time you need to need to do so, if you are using Ammentos.

Read more…

Ayudu: supporting customers, the kiss way

January 19, 2009 Leave a comment

I have many reasons to talk about this topic. Ayudu is a new customer support service and realtime traffic monitor for the web, built in Java.

The first one is that the persistence layer of this software is based on Ammentos.

Read more…

Categories: Uncategorized Tags: ,

Boring bug with large files in NetBeans

January 14, 2009 6 comments

While working with a very big file (>> than 2k rows) for Ammentos with NetBeans 6.5, on Ubuntu 8.10 I was getting a strange problem. The source document looked like in the image below:

bug_netbeans2

The solution is to update <netbeans_home>/etc/netbeans.conf as explained here.

Categories: java, opensource