Los Servicios Web son una tendencia que busca automatizar la comunicación entre los
dispositivos computacionales que usan la pila de protocolos TCP/IP para emitir servicios o
recibirlos.
Existe paralelamente una creciente expectativa y uso hacia dispositivos que permiten
implementar los conceptos de movilidad. Este concepto se ve representado
principalmente en los Personal Digital Assistant, o PDAs de los cuales los más
representativos son los Palm de la empresa Palm y los Pocket PC que provienen de varios
fabricantes pero que se caracterizan por tener como sistema operativo el denominado
Windows CE.
Habida cuenta del gran auge de la tecnología de Servicios Web y de la importancia que
reviste el poder automatizar la comunicación en Internet o, viendo otras de sus
características más importantes, la posibilidad de solicitar o recibir sólo lo que realmente
se requiere en un momento dado, y del crecimiento en la importancia, uso, disponibilidad
de recursos y desarrollos en el mundo de los PDAs, se hace muy necesario realizar un
análisis del rendimiento de los Servicios Web, tendiente a optimizar el aprovechamiento
del ancho de banda de los canales a los cuales se conectan los PDAs. Por tal motivo el
presente trabajo detalla los siguientes aspectos: Se describe la metodología usada desde
el inicio hasta el final de la investigación. Se usa una forma narrativa para describir de la
mejor manera posible los descubrimientos, dificultades y soluciones a las mismas. Se
compone de un ESTADO DEL ARTE. Esta es una descripción en detalle de conceptos,
tecnologías, fabricantes, esquemas de comunicación. Es un buen apoyo para la
conceptualización en Servicios Web Móviles. Detalla la forma en que se realizaron las
pruebas. El diseño del banco de pruebas, los elementos de hardware y software usados y
los mecanismos para conectividad son parte de este ítem. Referencia los parámetros de
medición definidos luego de diferentes conclusiones obtenidas durante la investigación
acerca de los dispositivos que forman parte del trabajo, buscando el logro de los objetivos
planteados para el trabajo de tesis. Genera un tutorial para el desarrollo de Servicios Web
Móviles. Realiza una discusión y análisis de resultados. Presenta entre otros temas
abundantes tablas de resultados para comparaciones y conclusiones. Contiene análisis de
resultados obtenidos. Contiene la formalización definitiva de conclusiones tomadas de la
experiencia obtenida en las pruebas y de la documentación general utilizada. Presenta el
trabajo futuro relacionando qué temas afines podrían aportar nuevas recomendaciones y
conclusiones. Finalmente contiene la Bibliografía y se complementa con anexos
importantes.
Instituto Tecnológico y de Estudios Superiores de Monterrey ITESM
INTRODUCCIÓN
1. GENERALIDADES ....................................................................................................... 1
1.1 DEFINICIÓN DE SERVICIOS WEB MÓVILES ......................................................... 1
1.2 PRESENTACIÓN DEL PROBLEMA......................................................................... 2
1.3 OBJETIVOS ............................................................................................................. 3
1.3.1 General .................................................................................................................. 3
1.3.2 Específicos............................................................................................................. 3
1.4 METODOLOGÍA DE TRABAJO................................................................................ 4
1.5 ORGANIZACIÓN DEL DOCUMENTO...................................................................... 8
2. ESTADO DEL ARTE.................................................................................................. 10
2.1 INTRODUCCIÓN.................................................................................................... 10
2.1.1 Esquema general de los servicios web móviles.................................................... 11
2.2 ORGANIZACIONES INTERNACIONES QUE ACOMPAÑAN LOS SERVICIOS
MÓVILES......................................................................................................................... 16
2.2.1 OMA (Open Mobile Alliance) [9] ........................................................................... 16
2.2.2 W3C (World Wide Web Consortium) [6] ............................................................... 17
2.2.3 WS-I (Web Services Interoperability Organization) [10] ........................................ 17
2.2.4 OASIS (Organization for the Advancement of Structured Information
Standards) [11] ................................................................................................................ 18
2.2.5 Resumen de las organizaciones que acompañan los Servicios Web Móviles....... 18
2.3 DISPOSITIVOS MÓVILES EN LA ACTUALIDAD..................................................... 19
2.3.1 Teléfonos móviles o teléfonos celulares ............................................................... 20
2.3.2 SmartPhones ....................................................................................................... 22
2.3.3 PDAs .................................................................................................................. 25
2.4 FORMAS DE CONECTIVIDAD............................................................................... 29
2.4.1 Infrarrojo [22] ........................................................................................................ 30
2.4.2 WLAN 802.11b [23] .............................................................................................. 31
2.4.3 Bluetooth [24] ....................................................................................................... 32
2.4.4 GPRS [25] ............................................................................................................ 37
2.5 AMBIENTES DE DESARROLLO............................................................................ 39
2.5.1 Sistemas operativos ............................................................................................. 39
2.5.2 Herramientas de desarrollar ................................................................................. 41
3. DISEÑO DE LAS PRUEBAS EN SERVICIOS WEB MÓVILES .................................. 46
3.1 VISTA GRÁFICA DEL BANCO DE PRUEBAS......................................................... 46
3.2 DETALLES DEL BANCO DE PRUEBAS.................................................................. 46
3.2.1 Hardware y Software de servicios ........................................................................ 46
3.2.2 Elementos clientes ............................................................................................... 48
3.2.3 Elementos para el desarrollo ................................................................................ 49
3.3 DESARROLLO DEL BANCO DE PRUEBAS............................................................ 50
3.3.1 Creación de escenarios de conectividad .............................................................. 50
3.3.2 Ideas para la medición de uso de conectividad..................................................... 50
3.3.3 Compresión de la información desde los extremos............................................... 50
3.3.4 Publicadores de Servicios Web usados................................................................ 50
3.3.5 Simuladores de concurrencia ............................................................................... 51
3.4 NARRACIÓN DEL DETALLE DE PRUEBAS .......................................................... 51
3.4.1 La primera prueba, tamaño en bytes de la información enviada y recibida ........... 51
3.5 Dificultades .............................................................................................................. 52
3.5.1 Desarrollo de clientes de servicios web para palm ............................................... 52
4. PARÁMETROS DE MEDICIÓN ................................................................................. 53
4.1 INTRODUCCIÓN..................................................................................................... 53
4.2 PARÁMETROS DE MEDICIÓN ............................................................................... 53
4.2.1 El procesamiento.................................................................................................. 53
4.2.2 Consumo de ancho de banda............................................................................... 54
4.2.3 Memoria y almacenamiento.................................................................................. 55
5. TUTORIAL DE PROGRAMACIÓN EN SERVICIOS WEB MÓVILES ......................... 59
5.1 INTRODUCCIÓN..................................................................................................... 59
5.2 PALM [12] ................................................................................................................ 59
5.2.1 prc-tools [14] ........................................................................................................ 59
5.2.2 PODS (Palm OS Developer Suite) [12]................................................................. 68
5.3 Pocket PC [13] ......................................................................................................... 75
5.3.1 Introducción a los Web Services con PocketSOAP, Apache SOAP y Axis [34]..... 75
5.4 SERVICIOS WEB EN EL LADO DEL SERVIDOR.................................................... 89
5.4.1 Axis Java [7]......................................................................................................... 89
5.4.2 Axis C++ [7].......................................................................................................... 89
5.4.3 .NET Framework [8] ............................................................................................. 89
6. DISCUSIÓN Y ANÁLISIS DE RESULTADOS............................................................ 90
6.1 INTRODUCCIÓN...................................................................................................... 90
6.2 CANTIDAD DE BYTES TRANSMITIDOS EN AMBOS SENTIDOS (ANCHO DE
BANDA) 90
6.2.1 .NET Framework en Windows .............................................................................. 91
6.2.2 Linux .................................................................................................................. 95
6.3 LA COMPRESIÓN Y EL USO DEL PROCESAMIENTO .........................................100
6.3.1 Microsoft .NET Framework..................................................................................102
6.3.2 Linux .................................................................................................................111
6.4 RESUMEN..............................................................................................................114
6.4.1 Según resultados, vale la pena comprimir ...........................................................114
6.4.2 Y qué se transporta en los Servicios Web ...........................................................115
6.4.3 ¿Quién sufre más, el cliente o el servidor? ..........................................................115
6.4.4 Situaciones ideales para habilitar la compresión HTTP: ......................................116
6.4.5 Situaciones no ideales para habilitar la compresión HTTP ..................................117
6.4.6 Otros recursos como la memoria RAM y el almacenamiento...............................118
6.5 ESCANEO DE PAQUETES ....................................................................................120
7. CONCLUSIONES .....................................................................................................121
8. TRABAJO FUTURO..................................................................................................123
BIBLIOGRAFÍA...............................................................................................................124
ANEXOS.................127
Maestría
Web Services are a trend that seeks to automate communication between
computational devices that use the TCP / IP protocol stack to deliver services or
receive them.
At the same time, there is a growing expectation and use towards devices that allow
implement mobility concepts. This concept is represented
mainly in Personal Digital Assistants, or PDAs of which the most
representative are the Palm of the Palm company and the Pocket PC that come from several
manufacturers but which are characterized by having as an operating system the so-called
Windows CE.
Given the great boom in Web Services technology and the importance of
has the power to automate communication on the Internet or, seeing other of its
most important features, the ability to request or receive only what really
required at a given time, and growth in importance, use, availability
resources and developments in the world of PDAs, it is very necessary to carry out a
analysis of the performance of the Web Services, aimed at optimizing the use
of the bandwidth of the channels to which the PDAs are connected. For this reason the
This work details the following aspects: The methodology used since
the beginning to the end of the investigation. A narrative form is used to describe the
discoveries, difficulties and solutions to them in the best possible way. I know
composed of a STATE OF THE ART. This is a detailed description of concepts,
technologies, manufacturers, communication schemes. It is a good support for the
conceptualization in Mobile Web Services. Details the way in which the
tests. The design of the test bench, the hardware and software elements used and
mechanisms for connectivity are part of this item. Reference the parameters of
measurement defined after different conclusions obtained during the investigation
about the devices that are part of the job, seeking to achieve the objectives
raised for thesis work. Generates a tutorial for the development of Web Services
Mobile phones. Have a discussion and analysis of the results. Presents among other topics
abundant tables of results for comparisons and conclusions. Contains analysis of
results obtained. Contains the final formalization of conclusions taken from the
experience gained from testing and from the general documentation used. Presents the
future work relating which related topics could provide new recommendations and
conclusions. Finally it contains the Bibliography and is complemented with annexes
important.