28 August 2009 | WordPress | Youri De Bondt
Robby has just installed WP-Syntax. A feature to enable syntax highlighting for java, and other languages.
More information can be found on the wordpress website.
/*
* Pretty colors
* @return some text
*/
public String getHello() {
return "Hello PearlChain!";
}
No Comments
28 August 2009 | Java | Youri De Bondt
This part shows how to setup EHCache which distributes to other vm’s with EHCache over RMI. For more information visit http://ehcache.sourceforge.net/documentation/configuration.html.
To get distributing work over RMI we need to configure 4 things:
Default cache
Distributed cache
Peer listener
Peer provider
Default cache
Default cache configuration. The settings you setup in <defaultCache> are being used as default for caches created by [...]
No Comments
28 August 2009 | Java, Unit testing | Boris
We use unitls to fill up our database with test data for junit tests.
To write these xml files is sometimes easy to have a dtd file so don’t need to know complete database scheme out of your head.
You can generate this file quit easy:
//get the database connection.
Connection connection = dataSource.getConnection();
//create dataset from db
IDataSet dataSet = [...]
No Comments
27 August 2009 | WordPress | RobbyVD
I didn’t really like the fact that all posts on the blog had the account name of the author above them. Instead I just wanted to display our real names, which in my opinion is a bit less techy.
It’s really easy if you know which template tags to use. After a few tests I found out [...]
No Comments
26 August 2009 | Spring | StevenV
‘Spring RCP gives you the possibility to create controls that are bound to certain properties of a given object. This given object is in most cases a gui object. The bound controls are called bindings. A binder is a class that creates bindings. A binding factory, if you will. ‘
When creating a binder via spring [...]
Comments Off
20 August 2009 | UML | RobbyVD
While googling for some info on sequence diagrams, I ran into an excellent site from Scott Ambler about UML diagrams and agile modelling in general.
For any of you that want more background about these topics, I can highly recommend this site:
http://www.agilemodeling.com/essays/umlDiagrams.htm
http://www.agilemodeling.com/
No Comments
19 August 2009 | Spring, Unit testing | RobbyVD
In our product team, we have a whole bunch of unit tests that load data from an XML dataset into an in-memory (HSQLDB) database.
We’re using the Unitils framework to load this data into the db, without constraints enabled. This allows us to load only the data that concerns the test (another approach would be to [...]
No Comments
19 August 2009 | General | admin
Hi everybody. Welcome to the brand new blog of the PearlChain team!
If you wonder who we are and what we do: have a look at www.pearlchain.net, our corporate website.
As for this blog: we believe that our team members encounter a lot of interesting stuff during their daily business. It seems worthwhile to share this information [...]
No Comments