Top rated post today
- N/A




(5.00 out of 5)Two weeks ago i got chance to participate to a wonderful event called “FOSS-ed on wheels A9″ organized by SL FOSS community , we are running number of event under same brand name of “”FOSS-ed on wheels” all over the country during last there years , but this is a milestone [...]
Apache Woden is a Java based read/write parser for W3C WSDL 2.0 specification, also provide set of utilities to migrate from WSDL 1.1. There are lot of new features and enhancements available with upcoming Woden M9 version. During the Apache Asia 2009 conference held in Colombo , Sri Lanka I got a chance [...]
According to the “Raise a Glass to Apache” open invitation we wanted to have a event within our office. In Aeturnum we use number of Apache software within our development cycle also some of the people already contributing to Apache projects in various ways.So we take this moment to to join with [...]
In this week I tried to finalize the Axis2m Spring extension module by writing some integration test cases. For above purpose I used embedded Jetty server with Axis2 , this gave enough flexibility within test cases. There can be many possible approaches to use Axis2 with embedded Jetty server , here I have [...]
I have mentioned several times in this blog that Castor is one of my favorites option for java OXM. Recently I have contributed to create a castor component for Apacahe Camel project, this will enable to use Camel’s powerful routing features together with Castor framework.Camel-castor data format simplify development work and reduce required time [...]
Writing unit test cases is a really necessary step with the agile practices, but writing test cases for Servlets is little bit hard; because those are intend to run inside a container. There are few test frameworks such as Apache Cactus , HttpUnit, XMLUnit to facilitate to these requirements, specially ServletUnit provided by HttpUnit is [...]
Again about Acegi ……. Acegi does not support for clustering , but in many ceases it is not a necessary feature . but one of my current project requirement is to limit the concurrent session creation in the cluster environment. One way to achieve this is implement a Acegi “sessionRegistry” based [...]
If you involved to any Spring based web application project, Acegi or Spring Security is not a new thing for you. Acegi is a grate framework that simplifies lot of security headache related to web application. I wrote several blog posts about some of the useful features of Aceigi .Meanwhile Apache Rampart is a [...]
Google Guice is a dependency injection (DI) framework, it provides somewhat different configuration option than spring. Axis2’s spring support is already proven, in this post I will explain how to integrate Guice beans in to Axis2 services.To integrate Guice with axis2 we have to fulfill flowing two requirements,Load the relevant Guice “Module “(similar to ApplicationContext [...]
It’s been a long time waitin’Waiting for this momentIt’s been a long time prayingPraying for this momentWe hope for this momentAnd now that we own itFor life I will hold itAnd I ain’t gonna let it goIt’s for fathers, our brothers,Our friends who fought for freedomOur sisters, our mothers,Who died for us to be in [...]
Yesterday I managed to release first version of Axis2M , Axis2M is not a big framework and does not provide any thing new , it’s try to simplify Axis2 web service development with Maven2 . Few months ago I have created some Maven plug-ins for Axis2 to use myself and within my working [...]
As Spring announced REST support is one of the important feature of upcoming Spring 3 version , this week I could try out for some of these REST features with a SNAPSHOT release.Basically we can divide this in to two parts as1.server side REST support2.Client side REST supportserver side REST support [...]
Spring Integration (SI) is a one of the new addition to enterprise integration field; it can be seen as an implementation of EIP patterns or as a ESB. But at the moment SI is much more care about java based implementation of EIP patterns instead of being a generic ESB product. Apache Camel [...]
Ride on a camel is a very attractive adventure, in the same way ride with Apache Camel also very attractive. Most of the middleware systems like EAI and ESB are closely deal with web services frameworks.Apache Synapse: one of the fasted ESB available today powered with Axis2 and Apache Camel provide a component for [...]
Web Services Description Language (WSDL) Version 2.0 Part 2: Adjuncts, specifies predefined extensions for WSDL2.0, Woden implements some of the predefined extensions such as WSDLX, RPC, SOAP, HTTP etc. But it is necessary to have a custom WSDL extension parsing mechanism to supports to other WS specifications such as WS-Security, WS-Policy etc. There [...]
Two or three days ago I saw a online news paper article about SL Railway Department (SLR) lunching a web site to facilitate commuter s to access online time table , in addition to HTTP based services they offer WAP site for mobile based access . This is good news to those who [...]
It is possible to use Axis2’s Mar maven plug-in very easily to package Axis2 module as .mar archive format. First create a Maven project using Maven “archetype:generate ” goal or IDE like Eclipse. Then create necessary classes for module such as Module ,IncomingHandler ,OutgoingHandler………etc.Second step is creating a directory called “META-INF” in the [...]
I always prefer to use maven plug-ins any where in my development cycle, recently I studied about JMS programming with ActiveMQ. Once I familiar with basic of ActiveMq, as usually I want to run ActiveMQ as a maven plug-in as same way as Jetty plug-in, fortunately there is very cool maven plug in shiped [...]
It is possible to access Spring beans within Axis2 services using “ServiceObjectSupplier” parameter very easily, but it is not possible use this approach to access Spring context within a Axis2 Handler. Here I have listed some of the alternative ways to access Spring context from Axis2 Handler invoke method.When the time of handler invoke method [...]
WSDL2.0 is the W3C’s latest specification for Web Service Description Language (WSDL) , WSDL2.0 provide more enhanced mechanism for service description some of significant features over WSDL1.2 are listed below . WSDL2.0 is much more simple and easy to learn, some of the ambiguities of WSDL1.2 have removed.Removal of [...]
Still lot of people think creating an application as a OSGI bundle is a complex task, but if we already have a good design with proper modularity it’s not going to be a default task anymore because there are lot of tools available to create OSGI bundles; bnd is a very good [...]
Eagle Eye is a good move that I watched recently; there is nothing new in the story more or less similar to Metrix, Terminator, but the director, D.J. Caruso managed to keep our eyes with the move until its end.In real world still we don’t want to worry about networks like ARIA or SKYNET, most [...]
This seems like a newbie post about XML, but the actual story is not that much simple, until DOM L3 there is no interfaces define for DOM serialization, developers use various interfaces provide by each parser vender like Xerces, Crimson….. etc . Here I have listed some of the available options that I evaluated recently.1.) [...]
Spring template classes are very useful and simplify most of the difficulties such as configurations JDBC, JMS, Email templates are some of the good examples.Castor one of the very popular but simple XML data binding framework provide good set of tools for spring integration , It is very easy to add mapping files in to [...]
There is a good article on JDJ about JavaEE 6 , it’s really interesting and provide an idea about the shape of JavaEE 6. It seems Java EE moving to right direction with a light weight POJO development and REST based web services support.Rod Johnson, man behind the Spring framework also [...]
I just read a good article by Rob Harrop about the SpringSource Application platform (SSAP) or server ,initially I thought it just a another application server , but this article change my thinking …SSAP is purely designed on Spring-DM based platform called SpringSource-DM Kernel.That is an innovative idea for app server [...]
As they described in the user guide Axis2 supports for Spring framework very well, but the user guide still not updated about how to deal with latest features of Spring framework such as Spring AOP proxy beans or new Spring 2 schema based AOP configuration.Recently I tried to expose a Spring AOP proxy bean as [...]
Most of the today’s web applications capable to identify their user locations. Sometimes these locations are shown in the Google map or used to filter content of the site according to the user’s location. User’s machine IP can be used to look up this information with a service provider. HostIP service [...]
This time due to hard works in my job, I couldn’t find enough time to write a paper for Peradeniya Research session about my final year research. Any how, initially I created some contents for this paper, so I through it is a good idea to post them in my blog other [...]
I’ve been using Debian for two years because it completely match with my requirements, recently I tried to use OpenSUSE 10.2 distro at my working place, but my OpenSUSE experience was only limited to two weeks, then I moved to use Ubuntu 7.10 , at the beginning it looked good but later I found some [...]
Nice and easy dynamic programming with POJO -2First article of this series I discussed about, how to use set of POJOs to render a JTable at run time. In this article I discuss about how we can use JTable to generate dynamic report using Jasper Report. JasperReport provides built-in support to use table model as [...]
Java Jazz up is a very popular java Technical magazine . unlike other online magazines those filled with commercials and overview technical article ( without any practical informations), Java Jazz up provide really important and practical guides for various java related technical topics . In their May 2008 issue , they - focus on Web [...]
Dealing with a large XML files always become a headache with any DOM based parser , SAX based parsers provide good alternative but need complex programing model and instead of application parser control the flow and support only for forward processing . StAX illuminates some of these issues but not at all ,specially [...]
This post is focus on how to protect domain objects of a non-web application using Acegi security.First we create an Interface for our domain object.package my;public interface Bean {public void setMessage(String message) ;public String getMessage();}Then, we can create a concrete implementation of above interface like thispackage my;public class BeanImpl implements Bean {private String message=” message [...]
1. It is required to download following jar files and put them in to maven2/lib folder http://www.ibiblio.org/maven2/org/apache/maven/wagon/wagon-webdav/1.0-beta-1/wagon-webdav-1.0-beta-1.jar http://www.ibiblio.org/maven2/slide/slide-webdavlib/2.1/slide-webdavlib-2.1.jar http://www.ibiblio.org/maven2/commons-httpclient/commons-httpclient/2.0.2/commons-httpclient-2.0.2.jar http://www.ibiblio.org/maven2/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.jar http://www.ibiblio.org/maven2/jdom/jdom/1.0/jdom-1.0.jar http://www.ibiblio.org/maven2/de/zeigermann/xml/xml-im-exporter/1.1/xml-im-exporter-1.1.jar http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.4/plexus-utils-1.4.jar 2. Add server id , user name and password in to setting.xml file available on [...]
Acegi or Spring security can be easily plugged in to any web application through it’s Servelet filters. There are bunch of tutorials and guides available for same purpose. But Acegi not limited to web applications it can be used with any spring application, Spring RCP is a one of the good candidate. One [...]
In the recent past POJO (Pure and Old Java Objects) made revaluation in the java world, its application area spread from simple web application to very complex framework like OSGI ( iPojo) and enterprise computing like EJB 3 and JPA . In this article I introduce how we can use POJO to create dynamic [...]
Spring is a grate framework that simplifies the complexity of JavaEE development and reduces development time too. You can configure and create your Beans using separate configuration files. ClassPathXMLApplicationContext ,FileSystemApllicationContext and StaticApplicationConteext are some of configuration options provide by the Spring framework . But, if you want you can create your own configuration system other [...]
JasperReport was originally developed by Teodor Danciu, in 2001 for a project he was working on. Then he hosted this class library under the sourceforurge.net . like most of today’s frameworks , JasperReport also powered with Xml. The actual report design is represent as a xml file ,this provides grate [...]