June 21st, 2010 |
by akoelewijn |
published in
java, oss, soa
I’m running ServiceMix on a machine which doesn’t have internet access, so installing and upgrading features is a bit hard. You can, however, install features from an internal maven repository like Nexus. This post explains how you can configure which maven repositories should be used by ServiceMix.
The OSGI implementation of ServiceMix (Apache Felix/Karaf) has a [...]
June 15th, 2010 |
by akoelewijn |
published in
java, oss, soa
Apache ServiceMix 4.2 includes Apache Camel 2.2.0. The following steps outline how you can add Apache Camel 2.3.0 in the same ServiceMix instance. This example uses the versions as released by Progress Fuse.
Go to the ServiceMix console, either by starting servicemix, or by ssh-ing into ServiceMix. To install Camel 2.3 we need to add a [...]
June 13th, 2010 |
by akoelewijn |
published in
java, oss, soa, web
The following example illustrates how you can implement a composite service using Apache Camel. The service is exposed as a REST resource, and it uses two other resources to collect the data required.
The composite service will enable a client to get info on a customer and it’s orders. To get this data the composite service [...]
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 [...]
December 15th, 2009 |
by akoelewijn |
published in
soa, software development
Today, during a SOA workshop we had a discussion about governance. Most people see the need for Governance when applying SOA. Without governance your beautiful flexible architecture will soon evolve into SOA spaghetti. Hard to modify, the opposite of business agility.
One goal of SOA governance is that it should verify that Services are reusable: Shared [...]
November 6th, 2009 |
by akoelewijn |
published in
cloud, soa, web
Recently David Pogue suggested smartphones like the iPhone should be called app-phone instead. I think focussing on the apps is wrong. For me, the thing that the iPhone does better than most other phones is internet access. The iphone is a net-phone. It is your mobile internet terminal. But it’s more than that, it’s also [...]
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 24th, 2009 |
by akoelewijn |
published in
open standards, soa
Stefan Tilkov blogged on the recently created SOA manifesto. He’s a big proponent of using REST(ful HTTP) for achieving SOA goals. One of the reactions he got on a previous post on this topic states that REST and SOA are incompatible, as REST is not about services but about resources or documents (with a standardized [...]
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 [...]