Now we can find a number of scripting languages which run on JVM. If a scripting language is running on the JVM then we can easily write scripting extension to Axis2. At the moment Axis2 has scripting extensions for;
- Groovy
- Java Script (WSO2 Mashup server)
- JRuby support
- Jython support
Meaning of language extension is , one can deploy scripting services in Axis2 as well as one can use scripting language to invoke or access a service deploy in anywhere.
With the Axis2 architecture , we can easily plug a new language extension. It is just a matter of writing few components and registry in Axis2.
- Deployer – to process the scripting file and create a Web service from that
- Schema generator – Generating schema from the scripting class , for example if we are deploying a JS file , then generate corresponding WSDL
- Message Receiver – when a message receive for that particular service , it will first come to the message receiver and that will invoke the scripting class and send the response if any.
If you're getting a new host, don't forget to check your hosting service if it supports Axis2.
1 comment:
Deepal,
There is one more addition to the list.
- Shell script deployer
Post a Comment