Sunday, July 01, 2007

SOA Best Practice: Integrate early

For a traditional homogeneous application it is sufficient to test the application with unit tests and system tests. The application is tested in isolations on several aspects like security, availability and functional correctness. A SOA landscape is heterogamous in which applications cooperate through services to support a specific business process. Testing applications in isolation will not be sufficient for SOA landscapes, so another test procedure will be needed.

Testing all the services in a SOA landscape in isolation will not ensure that the services will work correctly in composition. Compositional problems can be caused by incorrect assumptions between services. Integration tests can be used to filter out these incorrect assumptions. I recommend adapting integration tests in a early phase in the development cycle to prevent situations in which the cause detection is time consuming and the problem solving even more.

The use of mock-up services will help you to build the integrations tests. I also advice to add the integration tests in the build proces, so that possible problems are detected in an early stage.

Thursday, May 10, 2007

JavaFX: Sun announces Java RIA extension

There is a lot of rumour and development in the RIA world. Microsoft recently released SilverLight and Adobe Flex is nowadays an established and popular RIA development environment.

Today, I read that Sun roles out it's own RIA development product. JavaFX is Sun's answer on Adobe Flex and Microsoft Silverlight. JavaFX is a product-line that can be used for building RIAs rich web/desktop apps all the way down to to handheld device applications. FX script will become the tool to for creating your RIAs. The first product that will be releaded is JavaFX mobile, the kit for developing RIAs for mobile devices

FX script is the tool for content-authoring with a main focus on UI experience and making the RIAs highly animated. FX script make is possible to use every library in SE or ME. No bridging-code is needed. FX script will deal with this. To use FX Script you only need to install one library with the standard SE or ME installation.

With JavaFX, Sun now has its own Java-based RIA platform to compete with Adobe and Microsoft on the RIA market. According to this, there are three main players now on the RIA market: .Net, Adobe and Sun. Forget to mention AJAX, but in my opinion this is more a technology than a product for building RIAs. Also, Grails and Ruby on Rails in combination with AJAX are very usefull frameworks for building RIAs.

I believe that accessing, displaying and more important sharing non-structured data, like sound images and video on any platform is now very important and will become more important in the near future. So the RIA market will also emerge in the near future. The more players enter the RIA market the more choices we will have to develop RIA applications. I do not have an appropriate answer on the question which product is best. Maybe, there isn't and will the choice depends on your situation and project demands.