US20070234271A1
2007-10-04
11/679,296
2007-02-27
An application framework for composing applications involving a plurality of webservices. The application framework comprises: 1) a layout editor adapted to create a graphical user interface of an application comprising a plurality of pages, each page comprising at least one element for interaction with a user to generate or modify a set of data; 2) a control layer editor, adapted to create for each page of the graphical user interface a corresponding code fragment receiving and processing the set of data relating to the respective page; and 3) a generator generating an orchestration sequence from the plurality of code fragments, wherein the processing of the orchestration sequence by an engine involves the invoking of the plurality of webservices.
Get notified when new applications in this technology area are published.
G06F8/38 » CPC main
Arrangements for software engineering; Creation or generation of source code for implementing user interfaces
G06F8/30 » CPC further
Arrangements for software engineering Creation or generation of source code
G06F9/451 » CPC further
Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs; Arrangements for executing specific programs Execution arrangements for user interfaces
G06F9/44 IPC
Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs Arrangements for executing specific programs
G06F17/00 IPC
Digital computing or data processing equipment or methods, specially adapted for specific functions
G06F3/00 IPC
Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
This application claims benefit of priority of European application no. EP 06003964.1 titled “Application Framework”, filed Feb. 27, 2006, and whose inventors are Kay Winkler, Christine Zimmermann, Udo Hafermann, Bjorn Mueller and Jurgen Harbarth.
INCORPORATED BY REFERENCEEuropean application no. EP 06003964.1 titled “Application Framework”, filed Feb. 27, 2006, and whose inventors are Kay Winkler, Christine Zimmermann, Udo Hafermann, Bjorn Mueller and Jurgen Harbarth, is hereby incorporated by reference in its entirety as though fully and completely set forth herein.
TECHNICAL FIELDThe present invention relates to an application framework for composing applications involving a plurality of webservices.
THE PRIOR ARTWebservices are nowadays standardized interfaces for exchanging data over the internet An application of a client may request data from a server over the internet using a webservice provided by a server. More technically advanced applications typically combine various webservices to obtain or process the desired data, for example to provide and to modify information concerning a business operation. An application developer must provide both a user interface and the application logic, so that a user can interact with the application and that the application performs the desired processing of the data based on the various webservices involved.
However, the application logic and also the user interface of such a composite application often need to be quickly changed, for example if changing business operations are to be reflected by the application. Low-level programming of the changed application logic and/or a changed user interface in a typical programming language such as JAVA is time consuming and difficult. Therefore, there are approaches in the prior art, how applications using webservices can be more efficiently created or modified.
One approach is the Business Process Execution Language (BPEL) as it is for example described in the publication on p. 34 of the 6. edition 2006 of the magazine “Computerwoche”. BPEL allows to flexibly provide or change application logic which processes data involving a plurality of webservices.
However, applicant has found that the task of quickly creating or adapting an application involving webservices requires more than quickly adapting the application logic alone. The user interface, i.e. the possibilities of data input or output also needs to be quickly modified. In the prior art it is generally known, how to quickly generate or change graphical used interfaces, for examples by graphically selecting and positioning user control elements such as check boxes or lists etc. In application frameworks according to the prior art, the data generated by the user interface at first needs to be processed by some intermediate code in order to bring it into a format, which is suitable to interact with BPEL. Changing the user interface and/or the application logic therefore still needs low-level programming in order to assure that an application logic modified using BPEL and the user interface can still work together.
It is therefore the technical problem to provide an application framework, which allows to flexibly generate and/or to modify applications involving webservices with a reduced amount of low-level programming, to reduce development time and the involved risk of programming errors.
SUMMARY OF THE INVENTIONThis problem is solved by an application framework for composing applications involving a plurality of webservices. The application framework comprises
The close relationship between the graphical user interface created in the layout editor and the processing logic created by the control editor of the invention allows the generation or modification of an application without programming in low-level languages such as Java, C#, etc. for processing the data received by the user interface. In particular, the feature of providing for each page of the graphical user interface a corresponding code fragment significantly facilitates the tasks of a developer, when adapting the user interface and/or the application logic of an existing application to changing requirements.
The generator is responsible for generating a single orchestration sequence out of the various code fragments. The sequence can then at runtime be processed by an engine, which for example directly interprets the sequence or transforms it into an executable format such as a JAVA class.
In a preferred embodiment, the application framework is further adapted to create each code fragment such that it receives the set of data via a webservice interface, wherein the definition for this interface comprises preferably an XML schema definition (XSD) of the set of data and at least one function called by the respective page, in particular a web service definition (WSDL). Particularly preferred is an embodiment, wherein the application framework is further adapted to automatically derive the XSD and at least one WSDL for each page created in the layout editor. As a result, the interface definition is effectively driven by the page, which is defined independently from the application logic and defines only its interface of data and functions it requires to talk to the application logic.
In one embodiment of the invention, the control layer editor is adapted to create the code fragments as fragments implemented in Business Process Execution Language (BPEL) and wherein the orchestration sequence is a BPEL sequence, which can be processed by a BPEL engine. BPEL is standardized, platform independent and specifically designed to orchestrate Web services. Another advantage is that is can process XML documents as variables. Furthermore, it is compared to the above mentioned low-level, pointer based programming languages easy to use and can at least for simple scenarios be visualized as a flow chart diagram. However, whereas BPEL is presently preferred for implementing the code fragments of the invention, other languages could be used as well such as a .NET implementation, a NATURAL implementation etc.
According to a further aspect of the present invention, each code fragment comprises preferably a plurality of method fragments, wherein each method fragment corresponds to a function call generated on the respective page of the graphical user interface. This is a further preferred feature, which additionally facilitates to develop structured code fragments for the application logic corresponding to each page of the user interface.
Finally, the processing of the orchestration sequence of an application composed by the application framework comprises preferably holding the state of an object and processing the state based on the operations defined in one or more code fragments. The processing of the state comprises preferably transforming the object into a format suitable for a webservice, executing the webservice and transforming the response of the webservice back into an initial format of the object. In one embodiment of the invention the object comprises XML data conforming to an XSD and the transforming is performed using XSLT encapsulated as a webservice. The encapsulation as a webservice is particularly preferred, if BPEL fragments are used as code fragments, since BPEL itself does presently not provide a concept of nesting one sequence inside another.
Further improvements of the described application framework are the subject matter of further dependent claims.
In addition, the present invention concerns a method using the above explained application framework, an application composed by the above described application framework and a data carrier comprising the above described application framework.
SHORT DESCRIPTION OF THE DRAWINGSIn the following detailed description presently preferred embodiments of the invention are further described with reference to the following figures:
FIG. 1: A schematic representation of the various pages of a graphical user interface;
FIG. 2: A schematic representation of a single page comprising a plurality of control elements for interaction with a user;
FIG. 3: A schematic representation of the general relation between a graphical user interface, the application logic and the involved webservices;
FIG. 4: A schematic representation of the set of data and functions automatically derived from a layout definition of a page in a preferred embodiment of the invention;
FIG. 5: An example of an actual page of the graphical user interface of the invention;
FIG. 6: A schematic representation of the preferred 1:1 relation between pages of the graphical user interface and the BPEL code fragments;
FIG. 7: A schematic representation of the generator generating a BPEL program from a plurality of BPEL fragments.
FIG. 8: A schematic representation of the internal and external structure of a BPEL fragment in a preferred embodiment of the invention; and
FIG. 9: A schematic representation of the internal and external structure of a BPEL fragment in another preferred embodiment of the invention;
DETAILED DESCRIPTION OF PREFERRED EMBODIMENTSIn the following, the mapping of a user interface to webservice processing, as it is performed by an embodiment of the application framework of the present invention, will be explained in a first section. The preferred implementation of the webservice processing itself using BPEL fragments is discussed in a further section below.
A graphical user interface of an application composed with an embodiment of the application framework of the invention is separated into pages 10, as they are exemplary shown in FIG. 1. Each page 10 is representing a certain amount of data and functions that are presented to the user at runtime. Between pages 10 there is a page navigation which typically includes:
The page 10 is typically representing some dedicated, self containing application task that needs to be operated by the user. The definition of this application task is up to the page's designer/developer. The page 10 is internally structured into controls 11. Controls 11 are representing preferably reusable components that represent a certain piece of data (e.g. input field) and/or a certain behavior (e.g. button).
The coupling of a page's processing to its corresponding application logic operates generally as follows (cf. FIG. 3):
FIG. 3 schematically reflects the standard processing of inputs of a user of an application involving webservices 30. A page 10 requests at runtime its data from the application logic 20 and presents this data to the user. The user manipulates the data, for example by doing inputs (not shown). At certain synchronization-relevant points of time (e.g. pressing a button) the updated page's data is sent back to the application logic 20 together with the information of which function to process. The application logic 20 receives the manipulated page data, processes it (e.g. does some calculation involving one or more webservices 30) and sends the updated data back to the page 10. The page 10 receives this updated data, updates its controls 11 so that the data that is visualized is adjusted.
In application frameworks of the prior art, the communication between the pages 10 of the graphical user interface and the application logic 20 is typically provided by a separate intermediate layer (not shown in FIG. 3) arranged between the user interface and the application logic. Using low-level programming, the input of a user at the user interface is read out by the intermediate layer and forwarded to the application logic. Whenever at least one end of this communication changes, i.e. any of the controls 11 of the pages 10 of the user interface and/or the application logic 20, the low-level programming of the intermediate layer needs to be repeated. This is time consuming and may cause errors in the overall data processing.
In order to overcome these disadvantages, the described embodiment of the present invention technically and semantically decouples the page processing from the application logic 20. Accordingly, an embodiment of the present invention provides a program interface definition between a page 10 and the application logic 20 (cf. FIG. 4). This interface definition contains:
In a preferred embodiment, webservice interfaces are used as a concrete implementation. As a consequence for each page, the following definitions are automatically derived from the page's layout (cf. FIG. 4):
It is important to point out that the program interface definition is driven by the page 10. In the described embodiment of the invention a page is defined substantially independently from the application logic 20 and defines only its interface of data and functions that are requires to communicate with the application logic 20.
EXAMPLEThe following page is defined as the page shown in FIG. 5 to view some article data. The page layout (using “Application Designer”) is defined as:
| <?xml version=“1.0” encoding=“UTF-8”?> |
| <xcipage xciname=“test”> |
| <xcisetup> |
| <xciparameter paramname=“test” paramtype=“xs:string”> |
| </xciparameter> |
| </xcisetup> |
| <titlebar name=“Article Browser”> |
| </titlebar> |
| <header withdistance=“false”> |
| <button name=“Save” method=“onSave”> |
| </button> |
| </header> |
| <pagebody> |
| <rowarea name=“Article Selection”> |
| <itr> |
| <label name=“Article Id” width=“120”> |
| </label> |
| <field valueprop=“articleid” width=“200”> |
| </field> |
| <hdist width=“10”> |
| </hdist> |
| <button name=“Read” method=“onRead”> |
| </button> |
| </itr> |
| </rowarea> |
| <rowarea name=“Article Details”> |
| <itr takefullwidth=“true”> |
| <label name=“Description” width=“120”> |
| </label> |
| <field valueprop=“description” width=“100%” |
| displayonly=“true”> |
| </field> |
| </itr> |
| <itr> |
| <label name=“Type” width=“120”> |
| </label> |
| <field valueprop=“type” width=“200” displayonly=“true”> |
| </field> |
| </itr> |
| </rowarea> |
| <rowarea name=“List of Suppliers”> |
| <itr takefullwidth=“true”> |
| <textgridsss2 griddataprop=“suppliers” rowcount=“10” |
| width=“100%” selectprop=“selected” hscroll=“true” |
| directselectmethod=“onSelect” directselectevent=“ondblclick”> |
| <column name=“Id” property=“supplierid” width=“100”> |
| </column> |
| <column name=“Name” property=“name” width=“50%”> |
| </column> |
| <column name=“Description” property=“description” |
| width=“50%”> |
| </column> |
| </textgridsss2> |
| </itr> |
| </rowarea> |
| </pagebody> |
| <statusbar withdistance=“false”> |
| </statusbar> |
| </xcipage> |
Inside the page layout certain controls define their binding to some data:
Example 1
| <field valueprop=“description” width=“100%” displayonly=“true”> | |
| </field> | |
The field expects a data element “description” to be available.
Example 2
| <textgridsss2 griddataprop=“suppliers” rowcount=“10” width=“100%” |
| selectprop=“selected” hscroll=“true” directselectmethod=“onSelect” |
| directselectevent=“ondblclick”> |
| <column name=“Id” property=“supplierid” width=“100”> |
| </column> |
| <column name=“Name” property=“name” width=“50%”> |
| </column> |
| <column name=“Description” property=“description” width=“50%”> |
| </column> |
| </textgridsss2> |
The grid expects a list of suppliers to be available. For each supplier the “supplierid”, “name” and “description” is expected to be available. Out of the page the following XML schema definition is created:
| <?xml version=“1.0”?> |
| <xs:schema xmlns:xs=“http://www.w3.org/2001/XMLSchema” |
| xmlns:pg=“http://www.softwareag.com/xci/test/test” |
| targetNamespace=“http://www.softwareag.com/xci/test/test” |
| elementFormDefault=“qualified”> |
| <xs:simpleType name=“methodType”> |
| <xs:restriction base=“xs:string”> |
| <xs:enumeration value=“xcilnit”> |
| </xs:enumeration> |
| <xs:enumeration value=“onSave”> |
| </xs:enumeration> |
| <xs:enumeration value=“onRead”> |
| </xs:enumeration> |
| <xs:enumeration value=“onSelect”> |
| </xs:enumeration> |
| </xs:restriction> |
| </xs:simpleType> |
| <xs:complexType name=“dataType”> |
| <xs:sequence> |
| <xs:element name=“xciParameters” minOccurs=“0”> |
| <xs:complexType> |
| <xs:sequence> |
| <xs:element name=“test” type=“xs:string” minOccurs=“0”> |
| </xs:element> |
| </xs:sequence> |
| </xs:complexType> |
| </xs:element> |
| <xs:element name=“suppliers” minOccurs=“0” |
| maxOccurs=“unbounded”> |
| <xs:complexType> |
| <xs:sequence> |
| <xs:element name=“selected” type=“xs:string” |
| minOccurs=“0”> |
| </xs:element> |
| <xs:element name=“supplierid” type=“xs:string” |
| minOccurs=“0”> |
| </xs:element> |
| <xs:element name=“name” type=“xs:string” |
| minOccurs=“0”> |
| </xs:element> |
| <xs:element name=“description” type=“xs:string” |
| minOccurs=“0”> |
| </xs:element> |
| </xs:sequence> |
| </xs:complexType> |
| </xs:element> |
| <xs:element name=“articleid” type=“xs:string” minOccurs=“0”> |
| </xs:element> |
| <xs:element name=“description” type=“xs:string” minOccurs=“0”> |
| </xs:element> |
| <xs:element name=“type” type=“xs:string” minOccurs=“0”> |
| </xs:element> |
| </xs:sequence> |
| </xs:complexType> |
| </xs:schema> |
Part of the schema definition is the data that is required by the controls 11 and the list of functions that is called from the controls. The web service definition is:
| <?xml version=“1.0” encoding=“UTF-8”?> |
| <definitions name=“test” |
| targetNamespace=“http://www.softwareag.com/xci/test/test” |
| xmlns=“http://schemas.xmlsoap.org/wsdl/” |
| xmlns:http=“http://schemas.xmlsoap.org/wsdl/http/” |
| xmlns:mime=“http://schemas.xmlsoap.org/wsdl/mime/” |
| xmlns:soap=“http://schemas.xmlsoap.org/wsdl/soap/” |
| xmlns:soapenc=“http://schemas.xmlsoap.org/soap/encoding/” |
| xmlns:tns=“http://www.softwareag.com/xci/test/test” |
| xmlns:xs=“http://www.w3.org/2001/XMLSchema”> |
| <types> |
| <xs:schema elementFormDefault=“qualified” |
| targetNamespace=“http://www.softwareag.com/xci/test/test” |
| xmlns:pg=“http://www.softwareag.com/xci/test/test” |
| xmlns:ht=“http://www.softwareag.com/xciHeaderTrailer” |
| xmlns:xs=“http://www.w3.org/2001/XMLSchema”> |
| <xs:import |
| namespace=“http://www.softwareag.com/xci/xciHeaderTrailer” |
| schemaLocation=“xciHeaderTrailer.xsd” /> |
| <xs:simpleType name=“methodType”> |
| <xs:restriction base=“xs:string”> |
| <xs:enumeration value=“xcilnit”></xs:enumeration> |
| <xs:enumeration value=“onSave”></xs:enumeration> |
| <xs:enumeration value=“onRead”></xs:enumeration> |
| <xs:enumeration value=“onSelect”></xs:enumeration> |
| </xs:restriction> |
| </xs:simpleType> |
| <xs:complexType name=“dataType”> |
| <xs:sequence> |
| <xs:element name=“xciParameters” minOccurs=“0”> |
| <xs:complexType> |
| <xs:sequence> |
| <xs:element name=“test” type=“xs:string” |
| minOccurs=“0”> |
| </xs:element> |
| </xs:sequence> |
| </xs:complexType> |
| </xs:element> |
| <xs:element name=“suppliers” minOccurs=“0” |
| maxOccurs=“unbounded”> |
| <xs:complexType> |
| <xs:sequence> |
| <xs:element name=“selected” |
| type=“xs:string” minOccurs=“0”> |
| </xs:element> |
| <xs:element name=“supplierid” |
| type=“xs:string” minOccurs=“0”> |
| </xs:element> |
| <xs:element name=“name” type=“xs:string” |
| minOccurs=“0”> |
| </xs:element> |
| <xs:element name=“description” |
| type=“xs:string” minOccurs=“0”> |
| </xs:element> |
| </xs:sequence> |
| </xs:complexType> |
| </xs:element> |
| <xs:element name=“xMLDataMode” type=“xs:string” |
| minOccurs=“0”> |
| </xs:element> |
| <xs:element name=“articleid” type=“xs:string” |
| minOccurs=“0”> |
| </xs:element> |
| <xs:element name=“description” type=“xs:string” |
| minOccurs=“0”> |
| </xs:element> |
| <xs:element name=“type” type=“xs:string” |
| minOccurs=“0”> |
| </xs:element> |
| </xs:sequence> |
| </xs:complexType> |
| <xs:element name=“xdo”> |
| <xs:complexType> |
| <xs:sequence> |
| <xs:element ref=“ht:header” /> |
| <xs:element name=“data” type=“pg:dataType” /> |
| <xs:element ref=“ht:trailer” /> |
| </xs:sequence> |
| </xs:complexType> |
| </xs:element> |
| </xs:schema> |
| </types> |
| <message name=“xdo”> |
| <part element=“tns:xdo” name=“xdo” /> |
| </message> |
| <portType name=“test”> |
| <operation name=“doProcess”> |
| <input message=“tns:xdo” /> |
| <output message=“tns:xdo” /> |
| </operation> |
| </portType> |
| </definitions> |
This exemplary webservice contains one operation “doprocess” which is expected to be implemented by the application logic 20. The in/out parameter of this operation is the XML document representing the page's data and the function that is invoked by the page processing.
In the following, the implementation of the application logic 20 using BPEL in a preferred embodiment of the invention is described in more detail.
As can be seen above, the application user interface created by the layout editor is separated into pages 10, wherein each page 10 covers a certain amount of data and functions that are represented to the user. Further, there is a navigation between different pages 10 (e.g. to put them into a certain sequence), as mentioned above. Each page 10 is related to a webservice that is associated with the page's data and functions and which needs to be provided by the application logic 20.
The presently preferred embodiment of the invention uses BPEL as a general purpose programming language for implementing the application logic 20. Using BPEL can be drastically simplified by applying the following principles in accordance with a preferred embodiment of the invention (cf. FIG. 6):
A generator 100 (cf. FIG. 7) of the application framework in accordance with an embodiment of the invention is responsible for generating a single comprehensive BPEL sequence 80 out of the plurality of BPEL fragments 50. Each BPEL fragment 50 contains the BPEL code for the fragment and the webservice definition that is implemented by the fragment. The finally generated BPEL sequence 80 serves as a program, which can at runtime be deployed to any BPEL engine 110 that conforms to the BPEL specifications.
Inside one BPEL fragment 50 (representing the application logic for one page 10) the following structure is preferably applied (cf. FIG. 8):
A request that is sent from a page is automatically processed in the following way:
Only step (5) is visible to the BPEL developer—all other steps are generated automatically by the generator.
In addition, a set of default method fragments is available for each BPEL fragment 50 (cf. FIG. 9):
As mentioned in the introductory part, BPEL is designed to orchestrate web services, such as the webservices 30 shown in FIG. 3. As a result, if a certain user interface consists of several pages 10, the resulting BPEL sequence 80 obtained from the various BPEL fragments 50 will be quite long. The present invention therefore provides in one embodiment an application framework which makes BPEL effectively usable. One aspect thereof is to make BPEL “Stateful/Object aware”:
A state reflects a status of a set of data such as the net data object of the XML data 41 shown in FIGS. 4, 8 and 9. Such a state is kept for a certain duration. For example, the net data of a screen is kept for the duration the screen is processed (or maybe longer).
Diverse operations are available to update this state. For example, data is input into a screen or a certain operation is triggered to run in BPEL manipulating the net data object possibly including one of the webservices 30 (cf. FIG. 3). The state is the central part that is referred to by all operations. Therefore, the diverse functions that are triggered by the user interface call may concern different parts of the overall BPEL sequence 80. However, they always lead to the following processing steps:
For example, a call to any of the webservices 30 inside the BPEL sequence 80 for a certain screen is done in the following sequence:
The transformation is done using XSLT. Because XSLT is not supported as native BPEL statement it has to be encapsulated by a corresponding web service. A tool can generate all these parts to form a valid BPEL sequence 80.
EXAMPLEThe following BPEL fragments represent the processing of two pages:
| First page “address”, holding the methods “xciInit” and “onCheck”: |
| <?xml version=“1.0” encoding=“UTF-8”?> |
| <xci:bpelo xmlns:xci=“http://www.softwareag.com/xci/” |
| xmlns=“http://schemas.xmlsoap.org/ws/2003/03/business-process/” |
| xmlns:ht=“http://www.softwareag.com/xci/xciHeaderTrailer” |
| xmlns:xo=“http://www.softwareag.com/xci/wt/address” name=“address” |
| targetNamespace=“http://www.softwareag.com/xci/wt/address”> |
| <xci:variables /> |
| <xci:methods> |
| <xci:method name=“xcilnit”> |
| <sequence name=“Sequence”> |
| <empty name=“Empty” /> |
| </sequence> |
| </xci:method> |
| <xci:method name=“onCheck”> |
| <sequence name=“Sequence”> |
| <empty name=“Empty” /> |
| </sequence> |
| </xci:method> |
| </xci:methods> |
| </xci:bpelo> |
| Second page “second”, holding method “xciInit”: |
| <?xml version=“1.0” encoding=“UTF-8”?> |
| <xci:bpelo xmlns:xci=“http://www.softwareag.com/xci/” |
| xmlns=“http://schemas.xmlsoap.org/ws/2003/03/business-process/” |
| xmlns:ht=“http://www.softwareag.com/xci/xciHeaderTrailer” |
| xmlns:xo=“http://www.softwareag.com/xci/wt/second” name=“second” |
| targetNamespace=“http://www.softwareag.com/xci/wt/second”> |
| <xci:variables /> |
| <xci:methods> |
| <xci:method name=“xcilnit”> |
| <sequence name=“Sequence”> |
| <empty name=“Empty” /> |
| </sequence> |
| </xci:method> |
| </xci:methods> |
| </xci:bpelo> |
The BPEL code that is generated out of the pages is:
1. A memory medium comprising program instructions, wherein the program instructions implement an application framework for composing applications involving a plurality of webservices, wherein the program instructions are executable to implement:
a. a layout editor adapted to create a graphical user interface of an application comprising a plurality of pages, each page comprising at least one element for interaction with a user to generate or modify a set of data;
b. a control layer editor, adapted to create for each page of the graphical user interface a corresponding code fragment receiving and processing the set of data relating to the respective page; and
c. a generator generating an orchestration sequence from the plurality of code fragments, wherein the processing of the orchestration sequence by an engine involves the invoking of the plurality of webservices.
2. A memory medium according to claim 1, wherein the program instructions are further adapted to create each code fragment such that it receives the set of data via a webservice interface.
3. A memory medium according to claim 2, wherein the interface definition for the webservice interface comprises an XML schema definition (XSD) of the set of data and at least one function called by the respective page, in particular a web service definition (WSDL).
4. A memory medium according to claim 3, wherein the program instructions are further adapted to automatically derive the XSD and at least one WSDL for each page created in the layout editor.
5. A memory medium according to claim 1, wherein the control layer editor is adapted to create the code fragments as fragments implemented in Business Process Execution Language (BPEL) and wherein the orchestration sequence is a BPEL sequence, which can be processed by a BPEL engine.
6. A memory medium according to claim 1, wherein each code fragment comprises a plurality of method fragments, each method fragment corresponding to a function call generated on the respective page of the graphical user interface.
7. A memory medium according claim 6, wherein an application composed with the application framework is executable to perform the following steps, when processing a request sent from a page of the graphical user interface:
selecting the appropriate code fragment;
filling a state variable with the set of data comprised in the request;
selecting the appropriate method fragment of the code fragment;
executing the method fragment the execution involving the invoking of at least one webservice;
sending the updated state variable back to the page of the graphical user interface.
8. A memory medium according to claim 1, wherein processing the orchestration sequence of an application composed with the application framework comprises holding the state of an object and processing the state based on the operations defined in one or more code fragments.
9. A memory medium according to claim 8, wherein processing the state comprises transforming the object into a format suitable for a webservice, executing the webservice and transforming the response of the webservice back into an initial format of the object.
10. A memory medium according to claim 9, wherein the object comprises XML data conforming to an XSD and wherein the transforming is performed using XSLT encapsulated as a webservice.
11. A method of composing applications involving a plurality of webservices, the method comprising:
(a) creating a graphical user interface of an application comprising a plurality of pages, each page comprising at least one element for interaction with a user to generate or modify a set of data;
(b) creating for each page of the graphical user interface a corresponding code fragment receiving and processing the set of data relating to the respective page; and
(c) generating an orchestration sequence from the plurality of code fragments, wherein the processing of the orchestration sequence by an engine involves the invoking of the plurality of webservices.
12. A method according to claim 11, further comprising:
creating each code fragment such that it receives the set of data via a webservice interface.
13. A method according to claim 12, wherein the interface definition for the webservice interface comprises an XML schema definition (XSD) of the set of data and at least one function called by the respective page, in particular a web service definition (WSDL).
14. A method according to claim 13, further comprising:
automatically deriving the XSD and at least one WSDL for each page created in (a).
15. A method according to claim 11, wherein step (b) is operable to create the code fragments as fragments implemented in Business Process Execution Language (BPEL) and wherein the orchestration sequence is a BPEL sequence, which can be processed by a BPEL engine.
16. A method according to claim 11, wherein each code fragment comprises a plurality of method fragments, each method fragment corresponding to a function call generated on the respective page of the graphical user interface.
17. A method according claim 16, wherein an application composed with the application framework performs the following steps, when processing a request sent from a page of the graphical user interface:
selecting the appropriate code fragment;
filling a state variable with the set of data comprised in the request;
selecting the appropriate method fragment of the code fragment;
executing the method fragment the execution involving the invoking of at least one webservice;
sending the updated state variable back to the page of the graphical user interface.
18. A method according to claim 11, wherein processing the orchestration sequence of an application composed with the application framework comprises holding the state of an object and processing the state based on the operations defined in one or more code fragments.
19. A method according to claim 18, wherein processing the state comprises transforming the object into a format suitable for a webservice, executing the webservice and transforming the response of the webservice back into an initial format of the object.
20. A method according to claim 19, wherein the object comprises XML data conforming to an XSD and wherein the transforming is performed using XSLT encapsulated as a webservice.