|
Fydji WS framework allows to create the Web Services very easily. Developer describes in an XML file - the Web Services description file - all operations he wants to publish in a Web Service. He then uses Ant based tools to automatically generate (i) a Java Web application publishing Web Services and (ii) their invocation classes for chosen target language: Java, PHP, JavaScript...
Web Services thus can be described using a simple text editor and built from the command line. However, we provide an (Eclipse) QuickStart project containing all necessary libraries, tasks and Web Services description templates to start create Fydji WS Web Services quickly.
Key features
Web Services and their operations are described in a XML file.
The structure of XML file - Web Services description - is simple. It declares one or more operations, its input and output parameters, result entities representation and associated action to execute. The action can be a SQL statement execution, a stored procedure call, a LDAP search operation, a command line application execution or an "ordinary" Java method invocation.
The description files come with fully documented XML schema definition. When used with advanced XML editor, it simplifies Web Services declaration and provides online documentation of all XML tags.
A Fydji WS project is managed using Ant tasks.
All resources are generated from Web Services description using provided Ant tasks. A Fydji WS project can be easily managed from any Java IDE with Ant support.
Automatic generation of the Web application for Web Services publishing.
The generated application is a standard Java Web application that can be deployed on any J2EE servlet container or application server (Tomcat, JBoss, WebSphere...).
If necessary, the application may be customized to include other libraries, data sources, configuration parameters, documentation and other resources.
Automatic generation of classes for Web Services call in a client application.
The classes may be generated for various languages: Java, PHP, JavaScript... All Web Services operations correspond to methods included in created classes. Their sources are fully documented describing input parameters and result structure. This information can be exploited by a development environment (like Eclipse) and make development of client applications very comfortable.
Automatic generation of HTML documentation of created Web Services and target classes.
The generated classes documentation is created using target language tools, if available: javadoc, phpdoc, jsdoc... The complete documentation includes general Web Services documentation, generated client classes documentation and quick start examples of Web Services invocation in client applications. The documentation is included with built Web application and with client classes. It is accessible online when application is deployed.
Other features
- Using data sources defined in Web Application container, like JDBC or LDAP connections.
- Implementing specific "adaptors" to access some particular databases: Oracle, PostgreSQL, MySQL,...
- Publishing REST style services.
- Transforming services invocation result with an XSL style sheet.
Used technologies
The implementation of Fydji WS relies on existing OpenSource solutions:
- Axis2 - this framework is used as Web Services publication engine.
- XMLBeans - to load XML based Web Services description.
- Xalan (or other XSL processor) - for sources and documentation generation.
- Ant - for general Fydji WS project management.
License
Fydji WS is distributed under the terms of GNU Lesser General Public License (LGPL).
|