Recent Entries:

Favorite Links

Archive for the 'Programming' Category

Deploying Flex application with no dependency on context root

Tuesday, April 15th, 2008

It seemed very strange to me that in FlexBuilder you have to tell the context on which a flex application using LiveCycle Data Services will be deployed. FlexBuilder requires you to fill in the “Context Root” variable which will be then saved inside .flexProperties as serverContextRoot. You may want to deploy the same application to [...]

Unit testing with Javascript

Friday, September 28th, 2007

I’m a big fan of unit testing. Everybody who has been working with me knows it. Unit testing makes you sleep well at night. If you have not understood the advantage of unit testing your code you should really try to do it!
Lately I’ve been working a lot with Javascript for obvious reasons. Ajax is [...]

jfokus 2007

Tuesday, January 30th, 2007

Today I attended at jfokus, a conference on java and on its future now that Sun is moving to the open-source world.
I found most of the presentations of pretty low level and some of them of low quality. Maybe they just had to announce what kind of knowledge an attendant was supposed to have. Moreover, [...]

MVC Expert på svenska!

Tuesday, January 23rd, 2007

Infoflex har pubblicerat en ny sajt för att lansera våra MVC konsult-tjänsterna. Genom denna nya sajten kommer vi att erbjuda mentorskap, utveckling och drift av MVC applikationer baserat mest på Spring och Hibernate men också på Rails och andra teknologier.

MVC Expert

Tuesday, January 23rd, 2007

We at Infoflex have published a new website www.mvcexpert.se to remark the new business we have started this year. Through this site we will provide consulting and mentoring for MVC projects, mostly based on Spring and Hibernate but also on other technologies as Rails. The site is mainly in Swedish since our company is located [...]

Spring consulting at Pricerunner

Friday, January 12th, 2007

Since last monday I’m working at Pricerunner as a consultant to help them with the refactoring of their application. The problem they want to address is the dispatching of urls to the Spring MVC. Their office is located in Stockholm, quite close to mine so it is no problem to move from one place to [...]

Using a default “static” controller to sketch web applications with Spring

Wednesday, December 27th, 2006

When sketching an application, I use a “standard” controller that takes the url and returns a jsp called with the same name (index.html -> index.jsp, addstuff.html -> addstuff.jsp and so on) and an empty model.
When I go deeper into the application and start writing real controllers, I substitute each of the “standard” controllers with forms/controllers [...]

CAS & Webcalendar

Saturday, March 11th, 2006

In brief
Install webcalendar, change the login page so that it uses phpCas instead of the webcalendar login form, tell webcalendar to use user-cas.php to retrieve users from the database, fix the logout so that it calls the CAS server.
Step by step

get and install webcalendar(v. 1.0.2)
get phpCas (v. 0.4.20-1)
copy the CAS directory from phpCas inside the [...]

CAS & Magnolia

Saturday, March 11th, 2006

In brief
Magnolia uses a filter to intercept those urls which are secured and used basic auth to authenticate a user. Once the authentication is done, magnolia uses the Authenticator class to read username and password from the http header and checks the credential with the one stored in the repository. Replacing this filter with a [...]

Banca Sella & Modernbill

Saturday, February 4th, 2006

Banca Sella and Modernbill, a modernbill module to use GestPay