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 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 [...]
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 [...]
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 [...]
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 [...]
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 [...]
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 [...]
April 20th, 2009 |
by akoelewijn |
published in
java, oracle
Oracle is probably the biggest user of the java applet technology. Oracle Forms runs as an Applet in the browser. Now, Oracle Forms isn’t the hippest tool ever, people have been expecting it to die for a couple of years. But it’s still around. Mainly because Oracle still uses Forms in their Oracle E-Business Suite.
Recently, [...]
April 20th, 2009 |
by akoelewijn |
published in
java, oracle, oss
So Oracle just bought Sun. At first look it might seem like closed source versus open source. Most of Oracle’s well known products are closed source, whereas most of Sun’s products are open source. But that’s not the full story. Oracle is also involved in Open Source. It just takes a different approach.
There are a [...]
April 8th, 2009 |
by akoelewijn |
published in
java
Google just announced that their AppEngine will support Java. The good new: AppEngine is going to use a fairly regular JVM, with some functionality disabled like sockets and file writing. It should support other languages that compile to bytecode, like Scala or JRuby. No mention of Groovy, but i hope that’ll work soon too. Update: [...]