Andrej Koelewijn

  • Home
  • About
  • Departments
    • cloud
    • java
    • mobile
    • open standards
    • oracle
    • oss
    • other
    • soa
    • software development
    • tablet
    • Uncategorized
    • web
  • Subscribe via RSS

soa

« Previous Entries

Absent Code attribute in method that is not native or abstract

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 [...]

SOA Governance: implicit or explicit

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 [...]

Neither smartphone nor app-phone: net-phone

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 [...]

Wicket and Mule on OC4J

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 [...]

A simple file monitoring console with camel, cometd and jquery

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 [...]

SOA needs Services and Resources

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 [...]

Unit test Mule mail endpoint using wiser smtp server

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 [...]

Response transformers on Mule outbound endpoints

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 [...]

Fixing missing Mule osgi dependencies when using maven

August 21st, 2009  |  by akoelewijn  |  published in java, soa

I created a normal mule project using the maven archetype, eg:

mvn mule-project-archetype:create -DgroupId=nl.iteye -DartifactId=mule-tests -DmuleVersion=2.2.1 -Dinteractive=false

Strangely, i got some missing dependencies on this project. The maven output shows me the following:

[INFO] Unable to find resource ‘org.safehaus.jug:jug:pom:2.0.0-osgi’ in repository central (http://central)
[INFO] Unable to find resource ‘org.apache.santuario:xmlsec:pom:1.4.0′ in repository central (http://central)
[INFO] Unable to find resource ‘javax.script:groovy-engine:pom:1.1-osgi’ in [...]

Howto: Grails, REST, Google App Engine and JQuery

June 26th, 2009  |  by akoelewijn  |  published in java, soa, web

Here’s a quick example how you can build a RESTfull Grails application and deploy it to Google App Engine. For this example you need Grails 1.1.1 and GAE SDK for Java version 1.2.1.
I’m going to create a small service which will return a wind forecast. The forecast data is hardcoded as this is just some [...]

« Previous Entries

Tags

bi bpel camel cep css dsl esb esper google governance grails groovy gtalk html5 innovation internet ipad ivy java javascript jaxrs jersey jigsaw jquery linkeddata linux maven middleware mule noiv openoffice openweb oracle osgi oss plsql rdbms rest soa sql sun tablet web 2.0 xmpp yql

Archives

  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Recent Posts

  • Getting started with Nexus maven repository manager
  • JEE CDI tip: Target Unreachable, identifier resolved to null
  • Absent Code attribute in method that is not native or abstract
  • Prezi presentation software needs to add visual
  • So you think it’s the iPad that’s missing features?

Categories

  • cloud
  • java
  • mobile
  • open standards
  • oracle
  • oss
  • other
  • soa
  • software development
  • tablet
  • Uncategorized
  • web

Recent Comments

  • andrej on So you think it’s the iPad that’s missing features?
  • Dave on So you think it’s the iPad that’s missing features?
  • andrej on So you think it’s the iPad that’s missing features?
  • Fernando on So you think it’s the iPad that’s missing features?
  • andrej on So you think it’s the iPad that’s missing features?

RSS Friendfeed

  • Improving the Testability of Java EE With Arquillian; 1.0.0 Alpha 1 Released March 11, 2010
    andrej koelewijn Improving the Testability of Java EE With Arquillian; 1.0.0 Alpha 1 Released - http://feeds.dzone.com/~r... 3 hours ago from Google Reader - Comment - Like […]
    FriendFeed
  • Nice set of svg demos: http://bit.ly/cLLECf No it's not flash: http://svg-wow.org/audio/animated-lyrics.svg Bring up to date browser March 11, 2010
    andrej koelewijn Nice set of svg demos: http://svg-wow.org/ No it's not flash: http://svg-wow.org/audio... Bring up to date browser 3 hours ago from Twitter - Comment - Like […]
    FriendFeed
  • SVG Wow! March 11, 2010
    andrej koelewijn SVG Wow! - http://feedproxy.google.com/~r... 3 hours ago from Google Reader - Comment - Like […]
    FriendFeed
  • Google’s Chief Economist: “Newspapers Have Never Made Much Money From News” March 10, 2010
    andrej koelewijn Google’s Chief Economist: “Newspapers Have Never Made Much Money From News” - http://techcrunch.com/2010... yesterday from Google Reader - Comment - Like […]
    FriendFeed
  • Researching differences between Mule and Oracle OSB, any chance of reusing mule code in osb... March 10, 2010
    andrej koelewijn Researching differences between Mule and Oracle OSB, any chance of reusing mule code in osb... yesterday from Twitter - Comment - Like […]
    FriendFeed
  • RT @monkchips: DHS: Smartphones to Sniff Out Suspicious Substances http://bit.ly/cq2JRD March 10, 2010
    andrej koelewijn RT @monkchips: DHS: Smartphones to Sniff Out Suspicious Substances http://www.dhs.gov/files... yesterday from Twitter - Comment - Like […]
    FriendFeed
  • Amerikanen rangschikken Rotterdams MVRDV in top 50 March 9, 2010
    andrej koelewijn Amerikanen rangschikken Rotterdams MVRDV in top 50 - http://www.idealize.nl/2010... Tuesday from Google Reader - Comment - Like […]
    FriendFeed
  • Getting started with Nexus maven repository manager March 9, 2010
    andrej koelewijn Getting started with Nexus maven repository manager - http://www.andrejkoelewijn.com/wp... Tuesday from Google Reader - Comment - Like […]
    FriendFeed
  • @eelzinga Did you add the remote repository to the correct reposutory group in nexus? http://bit.ly/a2gTmZ March 9, 2010
    andrej koelewijn @eelzinga Did you add the remote repository to the correct reposutory group in nexus? http://www.andrejkoelewijn.com/wp... Tuesday from Twitter - Comment - Like […]
    FriendFeed
  • Getting started with Nexus maven repository manager March 9, 2010
    andrej koelewijn Getting started with Nexus maven repository manager - http://www.andrejkoelewijn.com/wp... Tuesday from Andrej Koelewijn - Comment - Like […]
    FriendFeed


©2010 Andrej Koelewijn
Powered by WordPress using the Gridline Lite theme by Graph Paper Press.