March 9th, 2010 |
by akoelewijn |
published in
java, oss, software development
Nexus is a maven repository manager. You can use Nexus to host your own maven repository for artifact created in your company, or for caching external artifacts.
Getting started with Nexus is pretty easy. Download the application. The package contains a webserver, so you don’t have to have a java container running. Simply unpack the [...]
March 4th, 2010 |
by akoelewijn |
published in
java, oss, soa
I ran into the following problem yesterday while building a rest service using resteasy: the code would compile ok, but the unit tests wouldn’t run. I got the following exception in the output of the unit tests:
java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/ws/rs/ext/RuntimeDelegate
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at [...]
January 8th, 2010 |
by akoelewijn |
published in
oss, software development
Use the following to configure git to use diffmerge for diffing and merging files:
git config –global diff.tool diffmerge
git config –global difftool.diffmerge.cmd "diffmerge \"\$LOCAL\" \"\$REMOTE\""
git config –global merge.tool diffmerge
git config –global mergetool.diffmerge.cmd diffmerge –merge –result=\"\$MERGED\"
\"\$LOCAL\" \"\$BASE\" \"\$REMOTE\"
git config –global mergetool.diffmerge.trustexitcode false
The following will show diffmerge with the two versions of myfile.java side by side:
git [...]
January 5th, 2010 |
by akoelewijn |
published in
cloud, mobile, oss, web
Google used to be a search company making profit on adds. Today’s release of the Nexus One ’superphone’ illustrates that Google is turning into the next Microsoft: a supplier of software platforms and applications. The Nexus One isn’t a phone, it’s a device to access the web. It’s just another Operating System to use [...]
November 19th, 2009 |
by akoelewijn |
published in
open standards, oss
Lots of news on Chrome OS today, but nothing to suprising as far as i can tell. Chrome OS is basically just an operating system than boots straight into a (full screen) browser. All your apps will be web apps.
Seems logical. Most of the time i just boot my computer to get online: read news, [...]
November 4th, 2009 |
by akoelewijn |
published in
java, oracle, oss, soa
I did a small proof of concept yesterday: a wicket web application using embedded Mule to connect to some services. Problem is that it had to run on OC4J 10.1.3.4.0 with Java 5. Got it running pretty fast, some tips:
Oracle’s xml parser didn’t like some of Mule’s xsd files. You can solve this by [...]
October 27th, 2009 |
by akoelewijn |
published in
oss, soa, web
Here’s a simple file monitoring tool which uses cometd to push file changes to a webpage.
The server part consists of a groovy script which uses Apache Camel to monitor some files. It then uses Apache Camel to push the lines added to the files to the browser with Cometd. In the webpage a bit [...]
October 27th, 2009 |
by akoelewijn |
published in
oss
I always surprises me what people think open source means and what impact it has on their organization: Open Source means gratis software. Open Source is made by hobbyist. Open Source is unfinished because it doesn’t have a 1.0 version. We can only use the binaries released by the Open Source organization.
Imagine my surprise when [...]
October 21st, 2009 |
by akoelewijn |
published in
oss, soa
Here’s a quick example (thx enno) how you can unit test an smtp endpoint in Mule using subethasmtp Wiser.
We’ll start by creating a new mule project using maven:
mvn mule-project-archetype:create -DgroupId=nl.iteye \
-DartifactId=mule-mail -DmuleVersion=2.2.1 -Dinteractive=false \
-Dtransports=smtp,vm -Dmodules=
If you have problems with dependencies when you run mvn compile, here’s a blog post that will [...]
October 18th, 2009 |
by akoelewijn |
published in
oss, soa
A coworker found a message on the mule-user mailing list that said that you have to apply response transformers on inbound endpoints, not on outbound endpoints. Sounds a bit weird to me, at least not very intuitive. Time for a test.
Response transformer in a pass-through-router
Here’s the mule config:
<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns="http://www.mulesource.org/schema/mule/core/2.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:http="http://www.mulesource.org/schema/mule/http/2.2" xmlns:vm="http://www.mulesource.org/schema/mule/vm/2.2"
xmlns:scripting="http://www.mulesource.org/schema/mule/scripting/2.2"
xsi:schemaLocation="
http://www.mulesource.org/schema/mule/scripting/2.2
http://www.mulesource.org/schema/mule/scripting/2.2/mule-scripting.xsd
http://www.mulesource.org/schema/mule/core/2.2
http://www.mulesource.org/schema/mule/core/2.2/mule.xsd
http://www.mulesource.org/schema/mule/http/2.2
http://www.mulesource.org/schema/mule/http/2.2/mule-http.xsd
http://www.mulesource.org/schema/mule/vm/2.2
http://www.mulesource.org/schema/mule/vm/2.2/mule-vm.xsd">
<scripting:transformer [...]