Mobile Web applications, as the name suggests, are applications that you can access from a mobile device, such as a mobile phone or a Pocket PC. In today's dynamic business scenario, it is essential that users not be limited to accessing their data or the Internet only from their personal computers at home or at the office. Instead, it has become a necessity to be able to access their personal or business data and Internet from anywhere at any time. Users should have the capability to access their data or an Internet site from their mobile devices. This can be achieved through the use of mobile Web applications.
Until recently, mobile Web applications were not widely used, mainly because of certain limitations of mobile Web applications, as discussed in the following list:
To enable users to benefit from a mobile Web application, the .NET Framework allows you to create mobile Web applications that you can access from a mobile device without much problem. In addition, you can optimize these mobile applications for the capabilities of the targeted device.
You can create mobile Web applications that you can access in the same way that you access a Web page from a browser window. In addition, a mobile Web application that you create by using the .NET technologies allows you to access a Web application from a mobile device. This caters to a user's requirement of accessing an application or a Web site from a mobile device. We will discuss the technologies that have made this possible in the later section "The Transfer Protocols for Accessing Mobile Web Applications."
However, Visual Studio .NET does not allow you to create mobile Web applications by default. To be able to create a mobile Web application in Visual Studio .NET, you first need to install the Microsoft Mobile Internet Toolkit. The following section discusses the Microsoft Mobile Internet Toolkit in detail.
The Microsoft Mobile Internet Toolkit
The Microsoft Mobile Internet Toolkit is an easy-to-use toolki based on the .NET Framework that you install on your machine to create mobile Web applications. You learned to create ASP.NET Web applications by using Visual Studio .NET. The Mobile Internet Toolkit makes creating mobile Web applications as simple as creating ASP.NET applications in Visual Studio .NET. This is because the Mobile Internet Toolkit provides you with the tools that you can use to create, test, and deploy a mobile Web application. Using the tools provided by the Mobile Internet Toolkit, such as controls and components, you can create the mobile Web forms that are the building blocks of a mobile Web application.
Following are the features of the Mobile Internet Toolkit that make it easy to create mobile Web applications in Visual Studio .NET:
The Toolbox Containing Mobile Web Controls
The Mobile Internet Designer
After you write a code for a mobile Web application, the code adapts to the features of the mobile device from which the application is accessed. These features of the mobile device include the bandwidth, screen size, memory, and processor capacity.
Although the code of a mobile Web application that you access from various mobile devices is the same, the Internet protocols used to transfer mobile Web applications are different for different devices. For example, the transfer protocol for a mobile phone is WAP and for a PDA it's TCP/IP.
The Mobile Web Form with a Control Added
An emulator is a device that simulates the mobile Web application environment on your personal computer. To do this, you first need to install an emulator and emulator software on your machine. Figure shows an emulator for a mobile phone.
A Mobile Web Form Emulator
You've probably noticed the ease that the Mobile Internet Toolkit provides you for creating mobile Web applications. However, as discussed earlier, Visual Studio .NET does not allow you to create mobile Web applications by default. This is because the Mobile Internet Toolkit does not come as part of Visual Studio .NET. You need to install the Mobile Internet Toolkit. You can install the Mobile Internet Toolkit on any machine that runs Windows NT or higher and has the .NET Framework or Visual Studio .NET installed on it.
After you install the Mobile Internet Toolkit, several project types are added to the New Project dialog box. These project types include Pocket PC Application, Pocket PC Class Library, Pocket PC Control Library, Mobile Web Application, and Mobile Phone Application. Figure shows the New Project dialog box with new project types added.
The New Project Dialog Box with New Project Types Added
The Transfer Protocols for Accessing Mobile Web Applications
As discussed earlier, different protocols are used to transfer mobile Web applications on different mobile devices. These protocols include TCP/IP, WAP, HTTP, and so on. This section discusses some of these protocols.
As the name suggests, TCP/IP is a set of protocols that transfers data over the network. This implies that TCP/IP defines the set of rules to follow while you're transferring data across computers over the network. In addition to transferring data over a network, TCP/IP allows you to share resources and enable communication across computers over the same network or different networks. Therefore, TCP/IP is a platform-independent protocol that can transfer data over networks in the form of data packets. For example, you can use TCP/IP to transfer data from a computer that is running Windows to another computer that is running DOS, Unix, or NetWare.
When you need to transfer data across a network, TCP/IP breaks the data into smaller data packets that you can transfer over the network easily. Then, at the receiver end, the data packets are reassembled to produce the original data. The IP address of the destination location defines the address of the location to which the data packets need to be transferred. As discussed earlier, TCP/IP is the transfer protocol that accesses a mobile Web application from a PDA or other device that supports TCP/IP-based network communication.
WAP is the transfer protocol that accesses a mobile Web application from a wireless device, such as a mobile phone. In addition, WAP allows you to access an Internet site from a wireless device. However, to be able to access a mobile Web application or an Internet site from a wireless device, you need to have a WAP-enabled mobile device.
In earlier sections, we discussed the problems that the users face while accessing traditional mobile Web applications from a mobile device. These problems include higher bandwidth requirements, higher processor and memory capacities, and smaller screen sizes. As a solution to these problems, the WAP Forum developed an industry standard that defines the set of rules for communication between wireless devices and the application developed to be accessed from a wireless device. A WAP-enabled device has features that are appropriate for accessing mobile applications. These features include limited memory, a battery, and the ability to utilize maximum processor capacity. As a result, it has become significantly easier to access an application or an Internet site from a WAP-enabled device.
Having introduced you to the WAP technology, we will now discuss the WAP architecture that makes it possible to transfer a mobile Web application to a wireless device.
The WAP Architecture
The WAP architecture is a three-layered structure that includes a client, a server, and an intermediate layer. This intermediate layer includes a WAP gateway, which is an interface between the client and the server. A WAP gateway is software that comprises encoders and decoders used to transmit data in the format that the receiving device understands. This is made possible because of the support that the WAP gateway extends to technologies such as WML (Wireless Markup Language) and XML (Extensible Markup Language). These markup languages define the format for displaying data and describe the data to be displayed in a text format.
When a client—a wireless device in our case—sends a request to the server, a connection is made to the WAP gateway. The encoders that are present in the WAP gateway then encode the request as per the transfer protocols. The request is then transferred to the server, and the server sends a response to the client in the form of a site that the client requested. However, the server can process only the request made for a WAP-enabled Web site. See Figure so that you can more easily understand this architecture.
The WAP Architecture
A discussion of the Web architecture will enhance your understanding about the WAP architecture, so we will discuss it next. Learning about the Web architecture will also help you appreciate its similarities to the WAP architecture.
The Web Architecture
The WAP architecture is similar to the Web architecture. However, the Web architecture does not include the intermediate layer, which is the WAP gateway software in the WAP architecture.
In the Web architecture, the client sends a request to the Web server in the form of the Internet address of the requested Web site. The server processes the request and sends the response in the HTML format to the client. Figure shows the Web architecture in detail.
The Web Architecture
XML Related Interview Questions
|Soap Tool Interview Questions||HTML Interview Questions|
|PHP Interview Questions||ASP.NET Interview Questions|
|PHP5 Interview Questions||Java Interview Questions|
|CSS Interview Questions||XSLT Interview Questions|
|Java XML Interview Questions||XMLHttpRequest (XHR) Interview Questions|
|ebXML Interview Questions||XML DOM Interview Questions|
|XML-RPC Interview Questions||XSD Interview Questions|
|Soap Web Services Interview Questions||XSL Interview Questions|
|Xml Publisher Interview Questions|
Basics Of Xml
Basics Of Web Services
Introduction To Soap
Introduction To Uddi
Introduction To Wsdl
Creating A Web Service Using The Microsoft Soap Toolkit
Building Web Applications On The .net Platform
Creating An Asp.net Web Service
Creating A Web Service From An Interface
Introduction To The Atl Server
Creating A Web Service Using The Atl Server Library
Design And Creation Of The Knowledge Share Web Service
Introduction To Java Xml Technologies
Developing Java Web Services
Design And Creation Of A Web Service Using The Ibm Toolkit
Introduction To Mobile Applications
Creating A Mobile Application That Consumes A Web Service
Web Services Development With Jdeveloper
Creating Web Services Using Perl
Integration Of Xml Web Services With The Office Xp And Sql
Server 2000 Toolkits
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.