You are on page 1of 17

WEB SERVICE IN MOBILE TECHNOLOGY

Presented By

E.P.Rama Krishnan, II ME

KUMARAGURU COLLEGE OF TECHNOLOGY COIMBATORE


Estd-1984
ISO 9001:2000 Certified

AGENDA
Web Services Overview of Web services Mobile Technology Challenges in Mobile Technology Conclusion

WEB SERVICES
Application Component. Web services are both a process and set of protocols for finding and connecting to software exposed a service over the web. Web Services have Four basic platform elements. These are called XML,SOAP, WSDL and UDDI. Web services communicate using open protocols Web services are self-contained and selfdescribing Web services can be used by other applications

TRADITIONAL RPC Vs WEB SERVICES


Traditional RPC Within enterprise Tied to a set of programming languages Procedural Usually bound to a particular transport Firewall-unfriendly Efficient processing (space/time) Web service Between enterprises Programming language independent Message driven Easily bound to different transports Firewall-friendly Relatively inefficient processing

OVERVIEW OF WEB SERVICE...


Web Service Provider
1. Create, Assembly and Deploy

Web Service Registry

2.Publish

Service Description
h

Service Registry Entry

6.Access Service

3. Se ar c

4.Retrive Service Information

Web Service Requester


5. Create Client

Web Client
6

COSTS OF WEB SERVICES


Increased CPU utilization
Parsing and processing the XML-based messages at the client and service takes time.

Increased network bandwidth


XML-based messages that contain the information required to invoke a service can be larger than passing serialized parameter values.

Increased memory requirements


Storing the object model generated from an XML document might require additional memory.
7

MOBILE PHONE POPULATION

2.5 billion mobile phones A person carries a pervasive mobile device and gets
information anytime, anywhere and anyone.

Mobile phone population is expected to be 4 billions


by end of 2010 every 2 persons in 3 people will have a mobile phone

In China, mobile phone users are 430 million against


123 million of Internet users

In India, there are 125 million mobile phones against


60 million Internet users

Sun announced more than 74 % of JAVA enabled


handsets were sold worldwide in year 2007.

CHALLENGES IN MOBILE
High Latency Narrow Bandwidth Limited Computation Small Memory Space Battery Life

HANDHELD FLEXIBLE REPRESENTATION (HHFR) [High Latency]

10

11

LIMITED COMPUTATION
Presently all XML documents are textual data. So we use encoding and decoding techniques for non-textual data into textual data. It is an expensive process especially for relatively lowpowered mobile devices to convert non-textual data into and from textual data. So we will use in our application Representations of SOAP Message. Its approved by W3C organization.
12

Binary

SMALL MEMORY SPACE


In Mobile minimum 128 KB of flash memory for persistent storage and 32 KB (or more) of volatile memory to be available for runtime allocation. Traditionally we use DOM and SAX parsers for parsing XML documents. But these parsers take more memory because these are designed for Personal Computers. Using KXML and KSOAP instead of XML Parsers (DOM & SAX) and SOAP. It include the specific library files only. So it will reduce the application size.
13

SNAPSHOT

14

CONCLUSION:
Using MTA we can reduce the human work complexity and saves a lot of time. Also it provides opportunity to solve the daily problems in our life. Few years back we need different gadget for different applications. In this technology era. Mobile itself satisfies all requirements.

15

REFERENCE
Enterprise J2ME Developing Mobile Java Applications by Michael Juntao Yuan. J2ME in a Nutshell by Kim Topley XML, Web Services And The Data Revolution" by Frank. P. Coyle, Ramesh Nagappan , Robert Skoczylas and Rima Patel Sriganesh, Developing Java Web Services. www.w3c.org http://java.sun.com/j2me/ http://java.sun.com/webservice/
16

QUESTIONS?

17