04.11.2014 Views

elektronická verzia publikácie - FIIT STU - Slovenská technická ...

elektronická verzia publikácie - FIIT STU - Slovenská technická ...

elektronická verzia publikácie - FIIT STU - Slovenská technická ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Semantic Web Services 175<br />

for such information he is interested in. SemanticLog is used for logging different events<br />

occurring during user interaction with JOP. JDBSearch is a full text indexer and allows<br />

querying to search in the information space. Each of these tools is integrated in the Cocoon<br />

and thus deployed on the server where Cocoon is running (see Figure 6-6). This means that<br />

they are centralized into one execution point.<br />

Physical server<br />

Cocoon<br />

Browser<br />

HTTP<br />

HTTP<br />

JOP<br />

Factic<br />

JDBSearch<br />

SemanticLog<br />

Figure 6-6. Classic job offer portal.<br />

If JOP is build using SOA concepts, web services wrap application parts of various granularity.<br />

It is not enough to just transform some of them to web services. If an application uses<br />

web services it still does not mean that it is SOA based. Also other concepts must be applied.<br />

This includes for example the use of enterprise service bus (provides a messaging bus and<br />

content-based routing between service providers and consumers) and distribution of the<br />

services. Those parts of JOP which can be built as web services can be whole modules, tools<br />

or only some methods offered by tools. For example each module in the boxes from Figure<br />

6-5 can be transformed into a web service. We have mentioned that JOP is built using the<br />

pipes and filters architectural patterns. Here, we have a chain of processing elements where<br />

the output of an element is the input of the next. Each element performs some processing of<br />

the input data resulting in output data. When moving to SOA, each of these elements should<br />

be realized as web service.<br />

The benefits of web services include the possibility of use the wrapped elements not only<br />

from the user interface of JOP but also programmatically by other applications. For example<br />

in the case of Factic, we can wrap the method which cut of the information space based<br />

on given facets. Similarly, JDBSearch searching method can be used via web service call.<br />

Transforming the logging method of SemanticLog into web service brings the possibility<br />

of calling it also from other systems. This way, user activities not only from JOP can be<br />

gathered. Also other systems the user is working with can effectively log the events. After<br />

this, by analyzing the logs, we can obtain much more information about the user than if only<br />

those activities realized in JOP are captured. This results in richer user model and better<br />

personalization. If the mentioned methods are wrapped as web services, their execution<br />

does not need to be performed on the same physical server the JOP is running on (see<br />

Figure 6-7). Hence, distribution of the execution may take place. This is required when<br />

higher computation power is in demand.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!