Andrej Koelewijn

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

java

« Previous Entries

Nice Java Decompiler tool: JD

August 26th, 2010  |  by akoelewijn  |  published in java

In the past I used JAD to decompile java classes, but it hasn’t been updated to current java versions. So i tried the alternative suggested on the JAD wiki page: JD – Java Decompiler. It’s pretty nice: you can use the GUI to view the source code, navigate around with hyperlinks, search. You can also [...]

Adding a maven repository for installing features to ServiceMix

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

Upgrade Apache Camel in ServiceMix to version 2.3.0

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

A composite Rest service using Apache Camel

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

Getting started with Nexus maven repository manager

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

JEE CDI tip: Target Unreachable, identifier resolved to null

March 5th, 2010  |  by akoelewijn  |  published in java

If you are just starting out with JEE CDI (Weld), it’s easy to forget the required beans.xml file. If you don’t include it, you may run into problems like this:

SEVERE: javax.el.PropertyNotFoundException: /index.xhtml @8,67 action="#{crm.ping}": Target Unreachable, identifier ‘crm’ resolved to null
javax.faces.el.EvaluationException: javax.el.PropertyNotFoundException: /index.xhtml @8,67 action="#{crm.ping}": Target Unreachable, identifier ‘crm’ resolved to null
at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:95)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
at javax.faces.component.UICommand.broadcast(UICommand.java:315)
…

The [...]

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

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

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

VMWare to compete with Google Apps Engine?

August 11th, 2009  |  by akoelewijn  |  published in cloud, java

VMWare just bought SpringSource. Looks to me like they are going to compete with Google Apps Engine: offer a java based cloud platform as a service.
This is probably good news for everybody who is using the free and open source versions of spring and grails. My thinking is that VMWare will use the free [...]

« 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

  • August 2010
  • June 2010
  • 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

  • Nice Java Decompiler tool: JD
  • VMware Player: The virtual machine is busy.
  • Adding a maven repository for installing features to ServiceMix
  • Upgrade Apache Camel in ServiceMix to version 2.3.0
  • A composite Rest service using Apache Camel

Categories

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

Recent Comments

  • Buddhika on Using google talk from java example
  • Anonymous on A composite Rest service using Apache Camel
  • Guest on How to find true cause of com.sun.star.uno.RuntimeException?
  • Absent Code attribute in method that is not native or abstract « Gooder Code - web development blog, php, java, asp.net, html, javascript on Absent Code attribute in method that is not native or abstract
  • Rmfume on Oracle best thing that could happen to JavaFX?
Buzz
andrkoel: RT @monkchips: James Governor's Monkchips » Day of The Dead: Web Drives Strong Demand for Java Skills http://monk.ly/d4UlND
2 hours ago, comment
andrkoel: RT @monkchips: In which my business partner @sogrady explains Why You Should Pay Attention to Node.Js http://monk.ly/a4aGIP serverside # ...
8 hours ago, comment
andrkoel: RT @stilkov: http://bit.ly/cDdqgl - AWS Identity and Access Management — I'd hate to have to compete against Amazon's Cloud offerings
14 hours ago, comment
andrkoel: Twitter for ipad is nice, but i still think i need a tool to summarize all info, something like feedly or flipboard is the future
8:36 AM Sep 02, 2010, comment
andrkoel: Trying out the new twitter for ipad... Curious how the panels work.
8:32 AM Sep 02, 2010, comment
 


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