Tuesday, May 29, 2007

A Comparison between ebXML registry and UDDI

A very detailed comparison between ebXML and UDDI registries can be found on the link below.

http://www.sun.com/products/soa/registry/soa_registry_wp.pdf

A good tutorial on Regular Expression in Python

The re module was added in Python 1.5, and provides Perl-style regular expression patterns. Earlier versions of Python came with the regex module, which provides Emacs-style patterns. Emacs-style patterns are slightly less readable and don't provide as many features, so there's not much reason to use the regex module when writing new code, though you might encounter old code that uses it.

Regular expressions (or REs) are essentially a tiny, highly specialized programming language embedded inside Python and made available through the re module. Using this little language, you specify the rules for the set of possible strings that you want to match; this set might contain English sentences, or e-mail addresses, or TeX commands, or anything you like. You can then ask questions such as ``Does this string match the pattern?'', or ``Is there a match for the pattern anywhere in this string?''. You can also use REs to modify a string or to split it apart in various ways.

Regular expression patterns are compiled into a series of bytecodes which are then executed by a matching engine written in C. For advanced use, it may be necessary to pay careful attention to how the engine will execute a given RE, and write the RE in a certain way in order to produce bytecode that runs faster. Optimization isn't covered in this document, because it requires that you have a good understanding of the matching engine's internals.

The regular expression language is relatively small and restricted, so not all possible string processing tasks can be done using regular expressions. There are also tasks that can be done with regular expressions, but the expressions turn out to be very complicated. In these cases, you may be better off writing Python code to do the processing; while Python code will be slower than an elaborate regular expression, it will also probably be more understandable.


http://www.amk.ca/python/howto/regex/regex.html

Monday, May 28, 2007

A very nice tutorial on REST.

A nice tutorial on REST and how it differs from SOAP.


http://www.xfront.com/REST.html

Sunday, May 27, 2007

Converting RPC Services to REST Services.

A very nice example on how to convert RPC based service to REST servcies. Enjoy REST !!

http://rest.blueoxen.net/cgi-bin/wiki.pl?HowToConvertRpcToRest

Saturday, May 26, 2007

Publishing Restful Web Service with JAX-WS

The EA3 version of JAX-WS or the JAX-WS released in JWSDP 2.0, supports the publishing and use RESTful Web Services. Here is an example on Doug Kohlert's Blog that shows how to publish a RESTful Web Service using JAX-WS.


http://weblogs.java.net/blog/kohlert/archive/2006/01/publishing_a_re.html

Restful Web service support in Axis2

WSDL 2.0 HTTP Binding defines a way to implement REST (Representational State Transfer) with Web services. Axis2 implements the most defined HTTP binding specification. REST Web services are a reduced subset of the usual Web service stack.


http://ws.apache.org/axis2/1_2/rest-ws.html

Friday, May 25, 2007

Labelling Schemes for Semantic Web

This paper focuses on the optimization of the navigation through voluminous subsumption hierarchies of topics employed by Portal Catalogs like Netscape Open Directory (ODP). We advocate for the use of labeling schemes for modeling these hierarchies in order to efficiently answer queries such as subsumption check, descendants, ancestors or nearest common ancestor, which usually require costly transitive closure computations. We first give a qualitative comparison of three main families of schemes, namely bit vector, prefix and interval based schemes. We then show that two labeling schemes are good candidates for an efficient implementation of label querying using standard relational DBMS, namely, the Dewey Prefix scheme [6] and an Interval scheme by Agrawal, Borgida and Jagadish [1]. We compare their storage and query evaluation performance for the 16 ODP hierarchies using the PostgreSQL engine.

http://www2003.org/cdrom/papers/refereed/p361/p361-christophides/p361-christophides.html

PostgreSQL vs MySQL.

I have found some links useful on comapring MySQL and PostgreSQL. In short what i found is that the choice mainly depends on the application requirements. For more details please follow the links below:

http://www-css.fnal.gov/dsg/external/freeware/pgsql-vs-mysql.html

http://www.databasejournal.com/features/mysql/article.php/3288951

Mapping Sem Web Data with RDBMSes

A public report on mapping triple stores and RDBMS concentrating on surveying the schemas used and discussing mapping approaches to and from relational schemas. It describes current best practice for using such systems for Semantic Web data including feature comparisons, recommendations for particular applications and advice on tradeoffs.


http://www.w3.org/2001/sw/Europe/reports/scalable_rdbms_mapping_report/

Labels: