Posts

Axis2 SMS Transport

Image
Apache Axis2 is an opensource framework for webservices which is widely used today ,and its implementation is available in both java and c. Axis2 is independent of the underlying transports which takes the Messages to it.Axis2 Engine is concentrating on the SOAP processing. Users can select transports to suite their requirement and that transports are responsible for injecting Axis2Messages to the Axis2Engine.So Axis2 Engine is dealing only with this Axis2MessageContex build from the underlying transport framework. I' m writing SMS Transport as my Google Summer of Code 2009 project for Apache Axis2 which is a project focusing on implementing a SMPP support for Axis2java (And also it will able be used in Apache Synapse too Since Synapse uses the same axis2Transports ) by which Axis2 will be able to communicate with SMSCs (Short message service centers) or Any other Message centers that support SMPP . And also in this project it will make enable axis2 to communicate with Simple GSM...

Spot Light to Service Component Architecture

Image
If we take a Normal Software application it will be consist of Many components.Where they may be developed using a same technology or different technologies.And also they may be deployed in a Same runtime ,machine or different ones and communicating with each other using a same technology or different technologies. SCA (Service component Architecture) defines how these components are created and how they are assembled together to build composites.It is a programing model build based on the SOA. According to the SCA specification SCA applications can be implemented using many technologies like Java ,Spring ,C++ etc ... SCA defines how these components built using any technology can be Assembled to built a application. A Simple example of a Component assembled to build a Application would be a Simple Java Application with few classes communicating with each other in a Single JVM.Or in a More Complex case it will be set of Web Services working together to build up a Custom Service . SCA C...

Configuring Apache Synapse - Spring With IDE support

Image
Apache Synapse uses its own XML based DSL for Configuration.At the Synapse Initialising phase Synapse reads the XML file and Build the Synapse Configuration Object Structure. It takes time to new users to be familiar with the Synapse Configuration language.Some times they may have to look in to the synapse configuration factories to know the all the configuration parameters. Spring-DSL for synapse project enable users who are familiar with Spring syntax to configure synapse in Spring (both underlying Axis2 instence and Synapse) One of the main advantages here is users being able to configure synapse using IDE support . Following are few Screen shots taken from the comming tutorial on Spring DSL for Synapse

Apache Synapse Spring Mediator -(Feel the power of Apache Synapse)

Image
Apache Synapse is a Ligh t weight ESB from Apache which supports XML webservies. And also it is a very extendible project[1]. Massage mediation is a core mode in Synapse. When in massage mediation mode Synapse act as a transparent proxy for clients. And also if Synapse receives a massage that does not belongs to any of the proxy services it will go through massage mediation[2] defined. Synapse has Components named as Mediators witch can perform mediation action on the Message(MessageContext).Mediators get the full control over the message that is passing through it. Mediator can modify and inspect message or do something by looking at the message body. Since Synapse supports writing custom mediators the possibilities of usage of Mediators become unlimited. Synapse Spring Mediator is a Mediator which enables Spring users to expose their Spring Beans as Mediators in Synapse. Following is a example of how to use Spring Mediator First thing we have to do is write a simple Bean...

Lenovo 3000 N200 sound card problem solved

My Laptop is a lenovo 3000 N200.After i installed Ubuntu 8.04 my sound car was not detected by the system. And also there were no software to test my finger print reader. To fix the sound card problem in Lenovo 3000 N200 what i did was 1. open alsa-base file in the /etc/modprobe.d directory using a text editor eg: $sudo vim /etc/modprobe.d/alsa-base 2 .then add following line to the end of that file options snd-hda-intel model=lenovo (and saved the file) 3.Open a empty text space and add the same line to that and save it as modprobe.conf in /etc/ directory and /etc/modutils/ directory then i saved the files and restart the machine finally i heard the sweeeeeeet Ubuntu starting sound........Cooooool My next step is to find a fingerprint reader software for my fp reader....

Dialog HSPA modem in Linux /Ubantu

Image
Finally i managed to use my Dialog HSPA modem in Ubantu 8.04 .It is a Huawi e220 modem i used to connect.I didn't successful in using wvdial in this case. So what i did is update the ubanu network manager by adding some src url to my update list file this is the steps i followed 1. go to /etc/apt 2. open source.list file in a text editor (you must set the R/W active to the file before that) 3 Add following two lines to the end of the file deb http://ppa.launchpad.net/network-manager/ubuntu hardy main deb-src http://ppa.launchpad.net/network-manager/ubuntu hardy main and save the file 4. type apt-get update in the terminal (Better do it as the root) 5.Then update manager will appier in the task bar( its a arrow directing down direction to indicate download) 6.DO the update and restart the machine with modem connected. 7.go to system->preferences -> network configuration to configure the connection if you do not have a internet connection , use following url to download ne...

Mobile Train TimeTable for Srilanka

For my Level 3 programming project I did a train time table management system which enables the Users to view train details through mobile phone and a web interface.while the train staff is able to keep the train time table upto date by adding ,removing,editing ,posting delays ect.. This was a solution provided for a current Sri Lanken problem where no existing solutions are there. It is a extendible system which was designed and implemented using MVC architecture.As a result of that the system is easily convertible to the new technologies. you can read the Final Report of the project from http://rapidshare.com/files/143558563/Final_Report.pdf.html you can download mobile application source from http://www.4shared.com/dir/9174953/943469c2/MeelangaDumriya.html Enjoy MOBILE MOBILE MOBILE MOBILE MOBILE MOBILE CHARITH CHARITH CHARITH CHARITH CHARITH