Vaadin Framework

Vaadin logo

Vaadin framework is a java web framework for building web applications rapidly. The final outcome is really nice and the coding style resembles java swing. You can even find a recent comparison of the most popular java web frameworks here. So in this article we will see how we can build a vaadin web application

Spring Aop (Part 1)

Spring is an open source application framework and IoC (inversion of control) container for the Java platform. More details and a detailed explanation of IoC or Dependency Injection (as IT community decided to call it) can be found in this article by Martin Fowler. In this article I want to talk about how spring uses

Hibernate caching feature and how to use it

Hibernate is a really cool ORM tool that can be used from a Java project , as an intermediate layer between our project and the underlying database. In this example I will use MySql as the underlying database, although any database can be used to support our application. The IDE that I will use is

Run Arch-Linux from a flash drive


Many users have a single operating system installed at their laptops and they don’t want to risk loosing their job by installing a second operating system (especially these users that rely on one single internal hard drive). So here is a way to install a popular linux distribution called arch-linux , on a usb flash

NetBeans tips


NetBeans is a really great tool that can help on the rapid development of Java Web Applications or Java Desktop Applications, with a great community and many fans (mostly Java Developers). This article discusses upon a specific flow that I have found, that seems to be a bug inherited from earlier versions of Netbeans IDE.

A great tool called ‘Regular Expressions’


The simplest way to use regular expressions is when we search for a single word. For this article , we’ll use the command line tool called ‘egrep’ (egrep is available for many systems, like DOS, Windows, MacOS and Unix) So let’s say that we have a file called article1.txt like this : We want to

Perl tips


– Variable Interpolation This is a classic between many programming languages. When we use a double quoted string, for every variable that we put inside the string , we get variable’s value as part of the output when we execute our script. For example : #!/usr/bin/perl #script1 use 5.012; my $name = “Stavros”; print “My

Mac OS Lion 10.7.2 memory problems


As I was working using firefox I noticed the appearance of the well known ‘beach ball’ that shows that the operating system is struggling to acquire resources. Immediately I ran Activity Monitor to see what is going on. Here is the table with the processes that I’ve got after running Activity Monitor Utility: (The picture

Custom sorting in python


A classic way in python to sort a list is by using the sort() function. For example if we have a list >>> x = [3, 8, 4, 2, 9] …we can use sort() like this… >>> x.sort() >>> x [2, 3, 4, 8, 9]   As you can see our list is now sorted.