Database Application Development: 2 December, 2010
Database Application Development: 2 December, 2010
Development
2nd December, 2010
Lecture Preview
• Database Application Development
• Service-oriented Architecture
• Web-Services
A quick look (Client-Server Architecture)
• Advancement in technology over the last
decade has brought new concepts and
architectures in database applications.
• No matter how we blend it up, the basic
architecture remains same. Entity A needs a
service and asks for it where Entity B provides
it.
• Its mostly about ‘location’. i.e. what should be
at server and what should be at client?
Architecture optimization
• We use the most suitable architecture to our
application. How to decide that?
• Is it location?
• What?
• It is the speed + response time with which
data can be moved from one location to
another.
Client/Server Architecture
• Definition
• To handle client queries the service provider
(Server) needs some kind of a management
system to look after concurrency, integrity,
security and other features.
• In case of databases this system is DBMS
(Database Management System).
Client/Server Architecture
• Various C/S’s can be distinguished on the basis
of distribution of “Application Logic
Components” across clients and servers.
• These are,
– Presentation Component
– Processing Component
– Storage Component
Application Partitioning
• Its critical to the performance of the system
that how we place each of these components.
• There are two, three and n-tier architectures,
in each architecture,
– the storage component always resides at server
– The presentation component always resides at
client
Fat / Thin
• If we place processing component on client
then it is a ‘fat’ client.
• If we place processing component on server
then it is a ‘thin’ client.
• And, if we partition it on both server and
client then, it is a ‘distributed’ client.
Fat / Thin
3/n-tier Architecture
• Here some processing can be placed at client,
but usually in a typical web environment a client
is only a thin client. (what do we use here for
presentation component?)
• What kind of a architecture is used in an online
banking system? and why ?
Database Server
Web Services
• It is a new class of applications that improves the
communication ability of systems over the web.
• A common web service protocol stack is,
– UDDI (Publish, Find and use services)
– WSDL (Service Descriptors <interfaces, how?>)
– SOAP (Service Interactions, <language independent>)
– XML (Data Format <standard>)
– Internet (Communications)
Web Service
• Lets, take a look.