Archive for the ‘Development’ Category

Social sites, lessons learned

September 1st, 2010 by Erik van Oosten
(http://blog.jteam.nl/2010/09/01/social-sites-lessons-learned/)

As JTeam is a good match for companies starting a social website, we have had the pleasure of building a couple in the past years. This article summarizes some of the lessons we learned. If you plan to start a social website (any other new site for that matter), take notice.

Contents

  • Go live immediately
  • Focus on as little use cases as possible
  • Be viral
  • Forget pixel perfect, improve as you go
  • Choose the right technology

Read the rest of this entry »

Monitoring Hippo Connection pool using jmx and groovy

August 19th, 2010 by Jettro Coenradie
(http://blog.jteam.nl/2010/08/19/monitoring-hippo-connection-pool-using-jmx-and-groovy/)

For a project we are using Hippo to manage our content. We have a few components that interact with the repository using the connection pool as provided by hippo. I have modified the connection pool to increase the amount of logs and I have added statistics to the pool which can be exposed using JMX. Our custom components use this altered connection pool, but I the site did not. Our site makes use of the Hippo Site Toolkit, and I want to have this monitoring available as well.

In this blogpost I will explain the changes I made to the connection pool. After that I’ll show what to do to make this changed connection pool available to a site created with the HST and I’ll show a groovy script that reads the data from the remote servers using the JMX connection.

Read the rest of this entry »

Running ActiveMQ using Spring

August 12th, 2010 by Diego Castorina
(http://blog.jteam.nl/2010/08/12/running-activemq-using-spring/)

Apache ActiveMQ is an open source messaging framework. The ActiveMQ web site is not really clear on how to integrate it with the Spring framework. Therefore, I decided to write this post to explain how to use ActiveMQ in combination with Spring and clarify some points.
The good news is that you can run JMS inside a servlet container (e.g. Apache Tomcat) without the need for a JCA adapter. This means you do not need Jencks or something similar.

Read the rest of this entry »

Axon Framework 0.6 released

August 8th, 2010 by Allard Buijze
(http://blog.jteam.nl/2010/08/08/axon-framework-0-6-released/)

Today, I released version 0.6 of the Axon Framework. 0.6 has many new features and is another step towards full production readiness. There is still some work to do, but first, let’s take a look at what has changed…

Read the rest of this entry »

Connecting to FTP server with Spring Integration

July 21st, 2010 by Roberto van der Linden
(http://blog.jteam.nl/2010/07/21/connecting-to-ftp-server-with-spring-integration/)

For one of our project I needed to read zip files from a FTP server and import the content in a system. In this post I will explain how I have used the Spring Integration to connect with a FTP server and retrieve Zip files.
Read the rest of this entry »

Parsing HTML with Jericho

July 14th, 2010 by Roberto van der Linden
(http://blog.jteam.nl/2010/07/14/parsing-html-with-jericho/)

In one of our projects I had to parse and manipulate HTML. After searching for a nice HTML parser, I ended up using the open source library Jericho HTML Parser. Jericho provides you a lot of features including text extraction from HTML markup, rendering, formatting or compacting HTML. In this post I will show you a few of the features I have used.
Read the rest of this entry »

Mahout – Taste :: Part Three – Estimators

July 8th, 2010 by Frank Scholten
(http://blog.jteam.nl/2010/07/08/mahout-%e2%80%93-taste-part-three-%e2%80%93-estimators/)

In Taste, estimators are the bridge between the generic item- or user recommendation logic and the specific similarity algorithm. Estimators are mainly used as part of the recommendation process, however, they are also used for evaluating recommenders. Additionally, the ‘recommended because’ feature is also powered by an estimator. This blog covers some Taste internals and shows you how estimators are used within Taste via a few code samples.

Read the rest of this entry »

Implementing RSS Feeds with new features of Spring 3

May 5th, 2010 by Roberto van der Linden
(http://blog.jteam.nl/2010/05/05/implementing-rss-feeds-with-new-features-of-spring-3/)

In this post I explain how we implemented the way we created the RSS feeds in a project and the challenges that we had during the set-up.

My colleague Jettro Coenradie explained in a previous post how you can create a feed using Rome and Spring 3, but didn’t elaborated on the Spring 3 part. I will explain how we used Spring 3 to create the feeds.

Read the rest of this entry »

Axon Framework 0.5 released

April 24th, 2010 by Allard Buijze
(http://blog.jteam.nl/2010/04/24/axon-framework-0-5-released/)

Today, I finalized the 0.5 release of the Axon Framework. There is quite a number of changes since the 0.4 version. The 0.5 version is a major step towards production readiness of the framework.

Besides some changes to existing building blocks, such as the event bus, which is now much more powerful, the 0.5 version also includes some new features.

Read on to find out more.

Read the rest of this entry »

Mahout – Taste :: Part Two – Getting started

April 15th, 2010 by Frank Scholten
(http://blog.jteam.nl/2010/04/15/mahout-taste-part-two-getting-started/)
This blog is a ‘getting started’ article and shows you how to build a simple web-based movie recommender with Mahout / Taste, Wicket and the Movielens dataset from Grouplens research group at the University of Minnesota. I will discuss which components you need, how to wire them up in Spring, and how to create a Wicket frontend for displaying movies and their recommendations. Along the way I give some tips and pointers about developing a recommender. Additionally I show the ResourceDataModel, a Mahout DataModel implementation which reads preferences from a Spring Resource.
Read the rest of this entry »