The WSO2 Mashup Server is an
open-source
Open source is source code that is made freely available for possible modification and redistribution. Products include permission to use the source code, design documents, or content of the product. The open-source model is a decentralized sof ...
mashup platform that hosts
JavaScript
JavaScript (), often abbreviated as JS, is a programming language that is one of the core technologies of the World Wide Web, alongside HTML and CSS. As of 2022, 98% of Website, websites use JavaScript on the Client (computing), client side ...
based
mashup
Mashup may refer to:
* Mashup (culture), the rearrangement of spliced parts of musical pieces as part of a subculture
* Mashup (education), combining various forms of data and media by a teacher or student in an instructional setting
* Mashup (mus ...
s. It is based on
Apache Axis2
Apache Axis2 is a web service engine. It is a complete redesign and re-write of the widely used Apache Axis SOAP stack. Implementations of Axis2 are available in Java and C.
Axis2 provides the capability to add Web services interfaces to We ...
and other open source projects, and provides
JavaScript
JavaScript (), often abbreviated as JS, is a programming language that is one of the core technologies of the World Wide Web, alongside HTML and CSS. As of 2022, 98% of Website, websites use JavaScript on the Client (computing), client side ...
authors the ability to consume, compose and emit
web services, feeds, scraped web pages, email, and instant messages. The source code is freely available under the open source
Apache License. It provides a runtime platform for developing and deploying mashups. It can be downloaded and deployed locally or within an organization.
The WSO2 Mashup Server is ''
web services centric'' in that each mashup exposes a new web service, which can be consumed by other mashups, web service clients, or Ajax style web pages. The securability of
web services make them an attractive technology within organizations deploying a
service-oriented architecture
In software engineering, service-oriented architecture (SOA) is an architectural style that focuses on discrete services instead of a monolithic design. By consequence, it is also applied in the field of software design where services are provided ...
(SOA) and for
business mashups.
On December 8, 2012, the WSO2 Mashup Server was retired since its remaining functionality, JavaScript web service hosting, was folded into the WSO2 Application Server. WSO2 Application Server went on to eventually become a set of extensions to
Apache Tomcat
Apache Tomcat (called "Tomcat" for short) is a free and open-source implementation of the Jakarta Servlet, Jakarta Expression Language, and WebSocket technologies. It provides a "pure Java" HTTP web server environment in which Java code can also ...
and JavaScript hosting was provided by Jaggery based upon
Rhino
A rhinoceros (; ; ), commonly abbreviated to rhino, is a member of any of the five extant species (or numerous extinct species) of odd-toed ungulates in the family Rhinocerotidae. (It can also refer to a member of any of the extinct species ...
.
JavaScript as a mashup composition language
Mashups are composed using server side JavaScript in the WSO2 Mashup Server. A set of language extensions along with E4X provides domain specific features such as;
* Calling other SOAP/REST web services,
* RSS/Atom feed reading and writing,
*
Web scraping
Web scraping, web harvesting, or web data extraction is data scraping used for extracting data from websites. Web scraping software may directly access the World Wide Web using the Hypertext Transfer Protocol or a web browser. While web scrapin ...
,
*
APP
App, Apps or APP may refer to:
Computing
* Application software
* Mobile app, software designed to run on smartphones and other mobile devices
* Web application or web app, software designed to run inside a web browser
* Adjusted Peak Performan ...
based publishing,
* Periodic task scheduling,
* E-mailing and
* IM
A Hello World
function hello()
Calling a SOAP web service
function invokeGetVersionService()
Working with feeds
// Creating an RSS 2.0 feed and writing it to file.
function createRssFeed()
Web scraping
function webScrape()
The syntax is identical to another open source web scraping tool called
web harvest
Web scraping, web harvesting, or web data extraction is data scraping used for extracting data from websites. Web scraping software may directly access the World Wide Web using the Hypertext Transfer Protocol or a web browser. While web scraping ...
.
Working with APP
function persistAuthenticatedAppFeed()
Periodic task scheduling
// Scheduling a function to be executed every 2 seconds
var uuid = system.setInterval('myJavaScriptFunction("parameterValue")', 2000);
// Stopping the above scheduled task
system.clearInterval(uuid);
Sending an e-mail
function sendEmail()
See also
*
Mashup (web application hybrid)
A mashup (computer industry jargon), in web development, is a web page or web application that uses content from more than one source to create a single new service displayed in a single graphical interface. For example, a user could combine the ...
*
ECMAScript for XML ECMAScript for XML (E4X) is the standarprogramming language extension that adds native XML support to ECMAScript (which includes ActionScript, JavaScript, and JScript). The goal is to provide an alternative to DOM interfaces that uses a simpler syn ...
*
Web scraping
Web scraping, web harvesting, or web data extraction is data scraping used for extracting data from websites. Web scraping software may directly access the World Wide Web using the Hypertext Transfer Protocol or a web browser. While web scrapin ...
*
Yahoo! Pipes
Yahoo! Pipes was a web application from Yahoo! that provided a graphical user interface for building data Mashup (web application hybrid), mashups that aggregate web feeds, web pages, and other services; creating Web-based apps from various sour ...
*
Yahoo! query language
Yahoo! Query Language (YQL) is an SQL-like query language created by Yahoo! as part of their Developer Network. YQL is designed to retrieve and manipulate data from APIs through a single Web interface, thus allowing mashups that enable develope ...
References
External links
* {{Official website
Free software programmed in Java (programming language)
Cross-platform free software
Web scraping