BEA Aqualogic Data Services Platform (ALDSP), is a tool that can help you write data services. But wait.. what the hell is this data service? Well the concept is simple, why not expose data itself as a service.
Aldsp comes with some great features like ability to connect to different data sources like relational databases, xml files, services, java functions, delimited files all together together with great efficiency to get its data. The concept of data services is extended further as Physical & Logical DS. Physical DS are those which are created automatically when a data source metadata is imported. Such physical DS would thus expose functions that would enable us to get / insert / delete / update data in the underlying actual source. However that certainly is not enough when it comes to real life scenarios where we need data from different souces collated together in a logical format. Here comes the logical DS and the real beauty of DSP. Logical data services are those which we create and write logic that talks to different physical ds to output the data in a format which we want. But you don’t have to write a single piece of code to do that. DSP provides a graphical interface (known as query map) where we can drag and drop physical ds functions, graphically pass values, map input to output and thats all done! DSP automatically generates code in the background in xquery language. However as the logic gets more and more complex, the graphical way may not seem to be an easy way to continue. In that case its good to switch to xquery source and write some code….DSP also uses an internal XQuery optimizer to make the generated SQL highly optimized.
Hope that would help you.!!! contact me if you have some doubts with DSP. And do try it since its really good. Wait for my next post for a simple example on DSP and also a quick look into DSP.
Filed under: Technical | 4 Comments
Tags: aldsp, aqualogic, bea, data services platform, dsp, weblogic
Search
-
You are currently browsing the Sanchit Srivastava weblog archives.
Hi,
My question is what is the difference between ALDSP and Hibernate.Where to use ALDSP and where Hibernate. Can you plz give some scenarions that would help me to understand the use of both the technologies.
Thanks
Rajesh
In one single line, ALDSP is a great tool (not technology) that you can help create data services without much pain but might be less learning whereas Hibernate is a technology which may not be easy to work with but comes with a big bulk of things for you to learn.
)
I depends what is it you want to do. If you want tot learn somethig – go for hibernate. But may be when speed of work i needed without diving much into the details – choose DSP (assuming you can but that
Another thing to note is that HIbernate is not a complete package, it is an ORM tool. You would need other techs like CXF, SOAP, Spring to expose your code as services. You might need to learn these techs also to create services around your hibernate code. DSP is a single package.
My suggestion is what ever route you choose, do learn Hibernate. It would be worth the effort.
Cheers
Hi,
I have a doubt. When we create a logical data service why do we need to generate a xml schema for the return type?
I guess we are talking in domain of webservices.. that means we are going to return an xml response.. and how else would DSP create the xml response if you dont have a Schema..
Also I think you dont really need to manually write a schema.. Wont, what you do graphically, generate a schema for you..?
Hope it answers your Q. Cheers