Installing IE7 and IE8 in Linux with Wine

Normally I would run IE inside a Virtual Machine. I need IE to test my web applications with it. However I wanted to try to run IE7 and IE8 inside Wine (I tried with version 1.3.28). After installing wine and winetricks, from the command line:

export WINEPREFIX=~/.wine_ie7 winetricks ie7 export WINEPREFIX=~/.wine_ie8 winetricks ie8

I’ve then . . . → Read More: Installing IE7 and IE8 in Linux with Wine

An UML Use Case Diagram with PlantUML, BOUML and Visual Paradigm

I tried three UML tools to build a simple Use Case Diagram: PlantUML, BOUML and Visual Paradigm.

PlantUML License: GPL

PlantUML uses a simple textual description. It’s a very interesting concept, as it can be embedded everywhere, for example in a word document, or in the JavaDoc. Also the fact that there is no visual . . . → Read More: An UML Use Case Diagram with PlantUML, BOUML and Visual Paradigm

Formatting XML

Often I would like to reformat XML, so that is properly indented. It’s important that a tool does this, because if done manually is prone to mistakes. Automatic reformat makes it easier to find issues, and in any case it will make the file more readable.

If I’m inside Eclipse, I just open the file . . . → Read More: Formatting XML

Mavenizing Spring Security Tutorial

I couldn’t compile Spring Security Sample Tutorial Application, so I decided to change the build system from Gradle to Maven to see it in action.

Spring Roo 1.2.0 has just been released, so I used it to create the project structure fastly. Here are the commands typed in the shell:

mkdir security-tutorial cd security-tutorial roo . . . → Read More: Mavenizing Spring Security Tutorial

Adding Spring Security with Roo 1.1.5

Continuing with the previous example, let’s add security to the application. In the Roo Shell, I type:

security setup

Files created or updated:

Created META-INF/spring/applicationContext-security.xml Created views/login.jspx Updated WEB-INF/views/views.xml Updated pom.xml Updated WEB-INF/web.xml Updated WEB-INF/spring/webmvc-config.xml

New dependencies added:

spring-security-core 3.0.5.RELEASE spring-security-config 3.0.5.RELEASE spring-security-web 3.0.5.RELEASE spring-security-taglibs 3.0.5.RELEASE

In pom.xml I change the property spring-security.version to 3.1.0.RELEASE.

. . . → Read More: Adding Spring Security with Roo 1.1.5