Networking Reference
In-Depth Information
Fig. 6.11 Registering of PEM Web services within presto
this integrated view through a set of graphical user interfaces. Web Mashups can be
built using any EMML editor. In this PoC we will show how to create Web Mashups
using a popular graphical EMML editor and runtime environment called Presto [ 6 ].
First, it is necessary to integrate the PEM Web services created in the last step
into the Presto platform. To do so, the Web services must be registered as data source
for Mashup applications. This registration is done in the Presto platform through
the instantiation of new REST Web Services connections, one for each Web service
provided by PEM. Figure 6.11 illustrates the registration process within the Presto
After registering all PEM Web services, we can start building the Web Mashup
application. Figure 6.12 is a snapshot of the Presto graphical editor showing the
specification of a data flow that processes the information generated by the get-
CarSpacesInfoWeb service, which is represented in the figure by the Presto Mashable
object ParkingSpace. A Mashable object is any object that can be used as data source
to create a Mashup application. The data flow specifies that the data received after
the invocation of this service should be ordered using the object Sort and forwarded
to the object Mashup Output.
Figure 6.13 illustrates the user interface that consumes the output of the EMML
Mashup created in Fig. 6.12 . This interface shows, in a tabular format and in real
time, the entrance and exit of vehicles from a parking lot monitored by the PoC
The other functionalities of the PoCapplication are created using the same process.
Figure 6.14 shows the user interface that displays the available car spaces in each lane
of a parking lot. This application uses a PEMWeb services that queries the database
of the SIM responsible for monitoring the parking lot about the current state of its
car spaces.
Finally, Fig. 6.15 illustrates the Web mashup application that integrates all the
aforementioned user interface fragments into a unified view. The top of the window
shows the number of car spaces available in each parking lot lane. At the bottom
left is showed the entrance and exit of vehicles, on the right a map indicating the
Search MirCeyron ::

Custom Search