\documentclass[11pt,twoside]{article}\makeatletter

\IfFileExists{xcolor.sty}%
  {\RequirePackage{xcolor}}%
  {\RequirePackage{color}}
\usepackage{colortbl}
\usepackage{wrapfig}
\usepackage{ifxetex}
\ifxetex
  \usepackage{fontspec}
  \usepackage{xunicode}
  \catcode`⃥=\active \def⃥{\textbackslash}
  \catcode`❴=\active \def❴{\{}
  \catcode`❵=\active \def❵{\}}
  \def\textJapanese{\fontspec{Noto Sans CJK JP}}
  \def\textChinese{\fontspec{Noto Sans CJK SC}}
  \def\textKorean{\fontspec{Noto Sans CJK KR}}
  \setmonofont{DejaVu Sans Mono}
  
\else
  \IfFileExists{utf8x.def}%
   {\usepackage[utf8x]{inputenc}
      \PrerenderUnicode{–}
    }%
   {\usepackage[utf8]{inputenc}}
  \usepackage[english]{babel}
  \usepackage[T1]{fontenc}
  \usepackage{float}
  \usepackage[]{ucs}
  \uc@dclc{8421}{default}{\textbackslash }
  \uc@dclc{10100}{default}{\{}
  \uc@dclc{10101}{default}{\}}
  \uc@dclc{8491}{default}{\AA{}}
  \uc@dclc{8239}{default}{\,}
  \uc@dclc{20154}{default}{ }
  \uc@dclc{10148}{default}{>}
  \def\textschwa{\rotatebox{-90}{e}}
  \def\textJapanese{}
  \def\textChinese{}
  \IfFileExists{tipa.sty}{\usepackage{tipa}}{}
\fi
\def\exampleFont{\ttfamily\small}
\DeclareTextSymbol{\textpi}{OML}{25}
\usepackage{relsize}
\RequirePackage{array}
\def\@testpach{\@chclass
 \ifnum \@lastchclass=6 \@ne \@chnum \@ne \else
  \ifnum \@lastchclass=7 5 \else
   \ifnum \@lastchclass=8 \tw@ \else
    \ifnum \@lastchclass=9 \thr@@
   \else \z@
   \ifnum \@lastchclass = 10 \else
   \edef\@nextchar{\expandafter\string\@nextchar}%
   \@chnum
   \if \@nextchar c\z@ \else
    \if \@nextchar l\@ne \else
     \if \@nextchar r\tw@ \else
   \z@ \@chclass
   \if\@nextchar |\@ne \else
    \if \@nextchar !6 \else
     \if \@nextchar @7 \else
      \if \@nextchar (8 \else
       \if \@nextchar )9 \else
  10
  \@chnum
  \if \@nextchar m\thr@@\else
   \if \@nextchar p4 \else
    \if \@nextchar b5 \else
   \z@ \@chclass \z@ \@preamerr \z@ \fi \fi \fi \fi
   \fi \fi  \fi  \fi  \fi  \fi  \fi \fi \fi \fi \fi \fi}
\gdef\arraybackslash{\let\\=\@arraycr}
\def\@textsubscript#1{{\m@th\ensuremath{_{\mbox{\fontsize\sf@size\z@#1}}}}}
\def\Panel#1#2#3#4{\multicolumn{#3}{){\columncolor{#2}}#4}{#1}}
\def\abbr{}
\def\corr{}
\def\expan{}
\def\gap{}
\def\orig{}
\def\reg{}
\def\ref{}
\def\sic{}
\def\persName{}\def\name{}
\def\placeName{}
\def\orgName{}
\def\textcal#1{{\fontspec{Lucida Calligraphy}#1}}
\def\textgothic#1{{\fontspec{Lucida Blackletter}#1}}
\def\textlarge#1{{\large #1}}
\def\textoverbar#1{\ensuremath{\overline{#1}}}
\def\textquoted#1{‘#1’}
\def\textsmall#1{{\small #1}}
\def\textsubscript#1{\@textsubscript{\selectfont#1}}
\def\textxi{\ensuremath{\xi}}
\def\titlem{\itshape}
\newenvironment{biblfree}{}{\ifvmode\par\fi }
\newenvironment{bibl}{}{}
\newenvironment{byline}{\vskip6pt\itshape\fontsize{16pt}{18pt}\selectfont}{\par }
\newenvironment{citbibl}{}{\ifvmode\par\fi }
\newenvironment{docAuthor}{\ifvmode\vskip4pt\fontsize{16pt}{18pt}\selectfont\fi\itshape}{\ifvmode\par\fi }
\newenvironment{docDate}{}{\ifvmode\par\fi }
\newenvironment{docImprint}{\vskip 6pt}{\ifvmode\par\fi }
\newenvironment{docTitle}{\vskip6pt\bfseries\fontsize{22pt}{25pt}\selectfont}{\par }
\newenvironment{msHead}{\vskip 6pt}{\par}
\newenvironment{msItem}{\vskip 6pt}{\par}
\newenvironment{rubric}{}{}
\newenvironment{titlePart}{}{\par }

\newcolumntype{L}[1]{){\raggedright\arraybackslash}p{#1}}
\newcolumntype{C}[1]{){\centering\arraybackslash}p{#1}}
\newcolumntype{R}[1]{){\raggedleft\arraybackslash}p{#1}}
\newcolumntype{P}[1]{){\arraybackslash}p{#1}}
\newcolumntype{B}[1]{){\arraybackslash}b{#1}}
\newcolumntype{M}[1]{){\arraybackslash}m{#1}}
\definecolor{label}{gray}{0.75}
\def\unusedattribute#1{\sout{\textcolor{label}{#1}}}
\DeclareRobustCommand*{\xref}{\hyper@normalise\xref@}
\def\xref@#1#2{\hyper@linkurl{#2}{#1}}
\begingroup
\catcode`\_=\active
\gdef_#1{\ensuremath{\sb{\mathrm{#1}}}}
\endgroup
\mathcode`\_=\string"8000
\catcode`\_=12\relax

\usepackage[a4paper,twoside,lmargin=1in,rmargin=1in,tmargin=1in,bmargin=1in,marginparwidth=0.75in]{geometry}
\usepackage{framed}

\definecolor{shadecolor}{gray}{0.95}
\usepackage{longtable}
\usepackage[normalem]{ulem}
\usepackage{fancyvrb}
\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage{marginnote}

\renewcommand{\@cite}[1]{#1}


\renewcommand*{\marginfont}{\itshape\footnotesize}

\def\Gin@extensions{.pdf,.png,.jpg,.mps,.tif}

  \pagestyle{fancy}

\usepackage[pdftitle={An Approach on Performance Evaluation of Mobile Ajax Application},
 pdfauthor={}]{hyperref}
\hyperbaseurl{}

	 \paperwidth210mm
	 \paperheight297mm
              
\def\@pnumwidth{1.55em}
\def\@tocrmarg {2.55em}
\def\@dotsep{4.5}
\setcounter{tocdepth}{3}
\clubpenalty=8000
\emergencystretch 3em
\hbadness=4000
\hyphenpenalty=400
\pretolerance=750
\tolerance=2000
\vbadness=4000
\widowpenalty=10000

\renewcommand\section{\@startsection {section}{1}{\z@}%
     {-1.75ex \@plus -0.5ex \@minus -.2ex}%
     {0.5ex \@plus .2ex}%
     {\reset@font\Large\bfseries}}
\renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
     {-1.75ex\@plus -0.5ex \@minus- .2ex}%
     {0.5ex \@plus .2ex}%
     {\reset@font\Large}}
\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
     {-1.5ex\@plus -0.35ex \@minus -.2ex}%
     {0.5ex \@plus .2ex}%
     {\reset@font\large}}
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
     {-1ex \@plus-0.35ex \@minus -0.2ex}%
     {0.5ex \@plus .2ex}%
     {\reset@font\normalsize}}
\renewcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
     {1.5ex \@plus1ex \@minus .2ex}%
     {-1em}%
     {\reset@font\normalsize\bfseries}}


\def\l@section#1#2{\addpenalty{\@secpenalty} \addvspace{1.0em plus 1pt}
 \@tempdima 1.5em \begingroup
 \parindent \z@ \rightskip \@pnumwidth 
 \parfillskip -\@pnumwidth 
 \bfseries \leavevmode #1\hfil \hbox to\@pnumwidth{\hss #2}\par
 \endgroup}
\def\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}}
\def\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}}
\def\l@paragraph{\@dottedtocline{4}{7.0em}{4.1em}}
\def\l@subparagraph{\@dottedtocline{5}{10em}{5em}}
\@ifundefined{c@section}{\newcounter{section}}{}
\@ifundefined{c@chapter}{\newcounter{chapter}}{}
\newif\if@mainmatter 
\@mainmattertrue
\def\chaptername{Chapter}
\def\frontmatter{%
  \pagenumbering{roman}
  \def\thechapter{\@roman\c@chapter}
  \def\theHchapter{\roman{chapter}}
  \def\thesection{\@roman\c@section}
  \def\theHsection{\roman{section}}
  \def\@chapapp{}%
}
\def\mainmatter{%
  \cleardoublepage
  \def\thechapter{\@arabic\c@chapter}
  \setcounter{chapter}{0}
  \setcounter{section}{0}
  \pagenumbering{arabic}
  \setcounter{secnumdepth}{6}
  \def\@chapapp{\chaptername}%
  \def\theHchapter{\arabic{chapter}}
  \def\thesection{\@arabic\c@section}
  \def\theHsection{\arabic{section}}
}
\def\backmatter{%
  \cleardoublepage
  \setcounter{chapter}{0}
  \setcounter{section}{0}
  \setcounter{secnumdepth}{2}
  \def\@chapapp{\appendixname}%
  \def\thechapter{\@Alph\c@chapter}
  \def\theHchapter{\Alph{chapter}}
  \appendix
}
\newenvironment{bibitemlist}[1]{%
   \list{\@biblabel{\@arabic\c@enumiv}}%
       {\settowidth\labelwidth{\@biblabel{#1}}%
        \leftmargin\labelwidth
        \advance\leftmargin\labelsep
        \@openbib@code
        \usecounter{enumiv}%
        \let\p@enumiv\@empty
        \renewcommand\theenumiv{\@arabic\c@enumiv}%
	}%
  \sloppy
  \clubpenalty4000
  \@clubpenalty \clubpenalty
  \widowpenalty4000%
  \sfcode`\.\@m}%
  {\def\@noitemerr
    {\@latex@warning{Empty `bibitemlist' environment}}%
    \endlist}

\def\tableofcontents{\section*{\contentsname}\@starttoc{toc}}
\parskip0pt
\parindent1em
\def\Panel#1#2#3#4{\multicolumn{#3}{){\columncolor{#2}}#4}{#1}}
\newenvironment{reflist}{%
  \begin{raggedright}\begin{list}{}
  {%
   \setlength{\topsep}{0pt}%
   \setlength{\rightmargin}{0.25in}%
   \setlength{\itemsep}{0pt}%
   \setlength{\itemindent}{0pt}%
   \setlength{\parskip}{0pt}%
   \setlength{\parsep}{2pt}%
   \def\makelabel##1{\itshape ##1}}%
  }
  {\end{list}\end{raggedright}}
\newenvironment{sansreflist}{%
  \begin{raggedright}\begin{list}{}
  {%
   \setlength{\topsep}{0pt}%
   \setlength{\rightmargin}{0.25in}%
   \setlength{\itemindent}{0pt}%
   \setlength{\parskip}{0pt}%
   \setlength{\itemsep}{0pt}%
   \setlength{\parsep}{2pt}%
   \def\makelabel##1{\upshape ##1}}%
  }
  {\end{list}\end{raggedright}}
\newenvironment{specHead}[2]%
 {\vspace{20pt}\hrule\vspace{10pt}%
  \phantomsection\label{#1}\markright{#2}%

  \pdfbookmark[2]{#2}{#1}%
  \hspace{-0.75in}{\bfseries\fontsize{16pt}{18pt}\selectfont#2}%
  }{}
      \def\TheFullDate{2011-07-03 (revised: 03 July 2011)}
\def\TheID{\makeatother }
\def\TheDate{2011-07-03}
\title{An Approach on Performance Evaluation of Mobile Ajax Application}
\author{}\makeatletter 
\makeatletter
\newcommand*{\cleartoleftpage}{%
  \clearpage
    \if@twoside
    \ifodd\c@page
      \hbox{}\newpage
      \if@twocolumn
        \hbox{}\newpage
      \fi
    \fi
  \fi
}
\makeatother
\makeatletter
\thispagestyle{empty}
\markright{\@title}\markboth{\@title}{\@author}
\renewcommand\small{\@setfontsize\small{9pt}{11pt}\abovedisplayskip 8.5\p@ plus3\p@ minus4\p@
\belowdisplayskip \abovedisplayskip
\abovedisplayshortskip \z@ plus2\p@
\belowdisplayshortskip 4\p@ plus2\p@ minus2\p@
\def\@listi{\leftmargin\leftmargini
               \topsep 2\p@ plus1\p@ minus1\p@
               \parsep 2\p@ plus\p@ minus\p@
               \itemsep 1pt}
}
\makeatother
\fvset{frame=single,numberblanklines=false,xleftmargin=5mm,xrightmargin=5mm}
\fancyhf{} 
\setlength{\headheight}{14pt}
\fancyhead[LE]{\bfseries\leftmark} 
\fancyhead[RO]{\bfseries\rightmark} 
\fancyfoot[RO]{}
\fancyfoot[CO]{\thepage}
\fancyfoot[LO]{\TheID}
\fancyfoot[LE]{}
\fancyfoot[CE]{\thepage}
\fancyfoot[RE]{\TheID}
\hypersetup{citebordercolor=0.75 0.75 0.75,linkbordercolor=0.75 0.75 0.75,urlbordercolor=0.75 0.75 0.75,bookmarksnumbered=true}
\fancypagestyle{plain}{\fancyhead{}\renewcommand{\headrulewidth}{0pt}}

\date{}
\usepackage{authblk}

\providecommand{\keywords}[1]
{
\footnotesize
  \textbf{\textit{Index terms---}} #1
}

\usepackage{graphicx,xcolor}
\definecolor{GJBlue}{HTML}{273B81}
\definecolor{GJLightBlue}{HTML}{0A9DD9}
\definecolor{GJMediumGrey}{HTML}{6D6E70}
\definecolor{GJLightGrey}{HTML}{929497} 

\renewenvironment{abstract}{%
   \setlength{\parindent}{0pt}\raggedright
   \textcolor{GJMediumGrey}{\rule{\textwidth}{2pt}}
   \vskip16pt
   \textcolor{GJBlue}{\large\bfseries\abstractname\space}
}{%   
   \vskip8pt
   \textcolor{GJMediumGrey}{\rule{\textwidth}{2pt}}
   \vskip16pt
}

\usepackage[absolute,overlay]{textpos}

\makeatother 
      \usepackage{lineno}
      \linenumbers
      
\begin{document}

             \author[1]{Dr.Elinda Kajo  Mece}

             \affil[1]{  Polytechnic University of Tirana,Tirana, Albania}

\renewcommand\Authands{ and }

\date{\small \em Received: 24 May 2011 Accepted: 21 June 2011 Published: 3 July 2011}

\maketitle


\begin{abstract}
        


The goal of this paper is to evaluate the performance of the application developed with Mobile Ajax for mobile phones. The measurement of performance is conceived to be in two phases. At the first phase we measure and evaluate the performance of mobile browser using different Ajax toolkits. And at the second phase we measure and compare the performance of a Mobile Web Ajax application with a traditional mobile web application. In the end we propose some tips to solve the performance problem of those applications.

\end{abstract}


\keywords{Performance, Mobile Ajax Application, Mobile Phones.}

\begin{textblock*}{18cm}(1cm,1cm) % {block width} (coords) 
\textcolor{GJBlue}{\LARGE Global Journals \LaTeX\ JournalKaleidoscope\texttrademark}
\end{textblock*}

\begin{textblock*}{18cm}(1.4cm,1.5cm) % {block width} (coords) 
\textcolor{GJBlue}{\footnotesize \\ Artificial Intelligence formulated this projection for compatibility purposes from the original article published at Global Journals. However, this technology is currently in beta. \emph{Therefore, kindly ignore odd layouts, missed formulae, text, tables, or figures.}}
\end{textblock*}


\let\tabcellsep& 	 	 		 
\section[{INTRODUCTION}]{INTRODUCTION}\par
jax is a new technology that have specific requires and need modern browsers to open Ajax Web application. Today the mobile phones are widely used and are multifunctional. In these devices is used Mobile Ajax as a special case of Ajax that is designed for adaptability with these devices' technology. A question that we make is: "Can all the mobile phones and their browsers support Mobile Ajax?" To answer at this question we decided to test the performance of some Ajax mobile web application. Another reason is because testing the performance of mobile web application is very crucial.\par
In the first part of this paper, we evaluate the performance of 4 mobile browsers using 8 Ajax toolkits. Then we evaluate and compare the performance of two applications; Mobile Ajax Chat application and Java ME Chat application. In the end conclusions will be drawn regarding the outcome of performance evaluation. 
\section[{II. THE PERFORMANCE OF MOBILE BROWSER}]{II. THE PERFORMANCE OF MOBILE BROWSER}\par
We have measured the performance and the support of 8 Ajax toolkits in 3 mobile phones. We have chosen the most used mobile phones today. In Tab. 1 are the mobile phones and the corresponding browsers that we used for testing the performance of Ajax toolkits. Last years Ajax Technology is widely used, which is why different toolkits, libraries and framework have been released as open source to benefit others in their work. We used for our tests 8 toolkit listed in Tab. 2 that are the most used toolkits based in the yearly polls of Ajaxian \hyperref[b0]{[1]}, a web page for Ajax developers.\par
For testing the performance of these toolkits in mobile browsers we used the demo application of the toolkits in their web sites. The tests consist in two phase: We first evaluate the capability of the browser to display the application correctly. We look the display and the functions of the applications in the browsers. Based on the result we gave each browser a grade on a scale from 1 to 4, explained as follows:\par
1 -represents the highest grade, the application has no defects during the test. 2 -Represents a minor grade, the application has minor problems in missing functionality and/or with the layout. 3-Represents a grade with major problems, the application has major problems in missing functionality that prevent the user from getting the full functionality. 4-Represent the lower grade, the application has failures in the workflow which means that the user does not receive the requested functions. 
\section[{b) Measuring the performance}]{b) Measuring the performance}\par
After the grading of the browser we evaluate the performance of the application by measuring the initial loading time of the application. The loading time of an application is the time from the moment that the user click in the application until it is loaded to the phone. The time is measured using a stopwatch and represent A the user-perceived clock time. So we evaluate the time tests of an application are realized in 10 sequential iterations. In all tests we use the same very highbandwidth WLAN network connections. The tests are separated in two categories (cached and cached cleaned) for calculating the upper and the lower bound of the perceived delay.\par
The cached category is where the cache of the browser in not cleaned between each test's iteration. Those results are considered as the best case as a part of the application is stored in browser's cache.\par
The cache-cleaned category is where the cache of browser is cleaned between each test's iteration.\par
c) The testing result At Tab. 3 are the results for the tests we have done of the grand of the browsers. From the table we see that S60 Opera Mobile and Safari iPhone are the only browsers that are rated with 1 grade. S60 Opera Mobile has the greatest number of 1 grade and it has the best display of the applications. Second come Safari iPhone that beside S60 Opera Mobile does not take any 3 grade. If we take in consideration the total value of the 1 and 2 grades, the Safari iPhone browser has the best performance for the applications. The S60 Browser and BlackBerry Browser do not take any 1 grade so they have problems supporting the Ajax toolkits. The worst browser is BlackBerry Browser.\par
Tab. At Fig.  {\ref 1} are the results of the measure of performance for the browsers using Ajax toolkits. The results of loading time for each toolkit presented in the figure are calculated as the average of 10 iterations. The y-axis on the figure shows the measured loading time. The legend shows the name of the browsers and the case (cache or cache cleaned) of the tests. The x-axis on the figure shows the Ajax toolkits. For each toolkit is showed the average loading time for all the browsers. Those results are summarized at Table  {\ref 4}.\par
Fig.  {\ref 1 :} The performance of browsers At Table  {\ref 4} are the results of the loading time tests listed by speed, calculated as the average times of each measurement respectively. We have determined with 1, 2, 3, 4 scale the speed of browsers, were 1 represent the fastest and 4 the slowest. And with x we have determined the failure of measurement; in this case the application does not open at the browser. From the table we conclude that the faster browser is S60 Opera Mobile, after it come Safari iPhone. BlackBerry browser is the lowest one and it has the higher numbers of failures. Analyzing the result of the tests we resume that the browser that has the best display and the lower loading time is S60 Opera Mobile. BlackBerry Browser has the lower support and the higher loading time for all the Ajax Application.  
\section[{PERFORMANCE OF MOBILE WEB AJAX AND JAVA ME APPLICATION}]{PERFORMANCE OF MOBILE WEB AJAX AND JAVA ME APPLICATION}\par
The second phase of our tests is the testing of the performance of two chat applications. The first application is a Mobile Web Ajax Chat application and the second is a Chat Application designed with Java ME. These are applications for commutation in chat room and they use the same database. The purpose of tests is to evaluate and compare the performance of those applications. The test of applications is realized in two phases: Phase 1: Computer and Emulator : the tests are realized in computer using the emulators. For testing the Mobile Ajax Chat \hyperref[b6]{[7]}, \hyperref[b1]{[2]}, \hyperref[b4]{[5]} we have used Firebug, YSlow and Mozilla Firefox Browser configured with User Agent iPhone 3.0. For testing the performance of Java ME Chat we have used the "Sun Java Wireless Toolkit 2.5.1 for CLDC" emulator. We analyzed the performance at the client side of the Mobile Ajax Chat application. We have tested all the pages and functions of the application. During the tests we analyzed the loading time, the HTTP request and the role of cache browser in all the component of the application. In the end of the tests we have analyzed the performance of the application using YSlow program.\par
At Figure  {\ref 2} and Figure  {\ref 3} are the results from YSlow program of the login form in two cases. The first figure shows the case where the browser's cache is cleaned and the second figure shows the case where the browser's cache is not cleaned. For loading the login form 5 requests are generated. In the first case the loading time is 1.29s and the amount of loaded byte is 12.2 KB. In the second case the loading time is 781 ms and the amount of loaded bytes is 3.1 KB because 7.1 KB are saved in cache. We see an improvement of 37 \% in the loading time when the browser's cache is not cleaned. And the amount of bytes loaded is smaller.The browser send a GET request to call a source that is saved in cache. The source saved in cache returns answer through a 304 status that means the source is available in cache. This means lower loading time. At Table  {\ref 5} we summarized the results taken by all the tests of application's forms for number of request taken, loading time and the transferred bytes. The time to send a new message to the server depends from the size of the message but is low. As shown at Table  {\ref 5}, to logout from the application takes 6 requests and the time of this process is lower because 7.1 KB are retrieved from cache.\par
The last test is for the registering form. To load the registering form the application takes 4 requests and to register a new user it takes 2 more requests. The time needed to register a new user is lower because the application verifies the registering information entered by the user in time that he entered it.\par
Then we test the performance of the application with YSlow program. This program classifies our application with grade A that is the higher grade and it takes 90 points that is a very good evaluation. We have reached this grade after we have improved and tested during the development of the application. But there are some parameters that needed to improve. The application is evaluated with grade D for the use of CDN An Approach on Performance Evaluation of Mobile Ajax Application and the program suggests specifying CDN hostname in the references. The application is evaluated with grade D for compress components with gzip and the program suggests compressing some components to reduce the amount of bytes transmitted and to improve the performance. In other components the application is evaluated with grade A.\begin{figure}[htbp]
\noindent\textbf{}\includegraphics[]{image-2.png}
\caption{\label{fig_0}}\end{figure}
 \begin{figure}[htbp]
\noindent\textbf{23}\includegraphics[]{image-3.png}
\caption{\label{fig_1}Fig. 2 :Fig. 3 :}\end{figure}
 \begin{figure}[htbp]
\noindent\textbf{} \par 
\begin{longtable}{P{0.32866666666666666\textwidth}P{0.204\textwidth}P{0.04533333333333334\textwidth}P{0.153\textwidth}P{0.11900000000000001\textwidth}}
\tabcellsep \multicolumn{2}{l}{S60 Browser S60 Opera Mobile}\tabcellsep Blac kBerry Browser\tabcellsep Safari iPhone\\
JQuery\tabcellsep 2\tabcellsep 1\tabcellsep 2\tabcellsep 1\\
Prototype\tabcellsep 2\tabcellsep 1\tabcellsep 3\tabcellsep 2\\
Script.aculo.us\tabcellsep 2\tabcellsep 3\tabcellsep 2\tabcellsep 2\\
YUI\tabcellsep 2\tabcellsep 2\tabcellsep 2\tabcellsep 2\\
Dojo\tabcellsep 4\tabcellsep 1\tabcellsep 4\tabcellsep 1\\
Ext JS\tabcellsep 3\tabcellsep 1\tabcellsep 4\tabcellsep 1\\
GWT\tabcellsep 4\tabcellsep 1\tabcellsep 4\tabcellsep 2\\
ASP.NET AJAX\tabcellsep 3\tabcellsep 2\tabcellsep 3\tabcellsep 2\end{longtable} \par
 
\caption{\label{tab_2}}\end{figure}
 			\footnote{© 2011 Global Journals Inc. (US)} 			\footnote{August} 		 		\backmatter  			 
\subsection[{August}]{August}\par
Also we test the performance of Java ME Chat application with "Sun Java Wireless Toolkit 2.5.1" emulator. All components of the application work perfectly. b) Phase 2 : Testing in Mobile Phones i. Testing Mobile Ajax Chat\par
The Mobile Ajax Chat application is accessed through the browser and need the connection to internet. This application does not need to be downloaded and installed at the devise. The tests at S60 Browser: The application is correctly displayed and all the functionalities are working. But the application has little problems when we communicate in chat rooms and the message is not displayed correctly. For these reasons we evaluate it with 2 grade.The tests at S60 Opera Mobile: The application is correctly displayed and all the functionalities are working. We can communicate in the chat without problems. For these reasons we evaluate it with 1 grade.\par
The tests at BlackBerry Web Browser: The application is not displayed correctly, it has problems with the layout and the browser crashes suddenly when we are communicating in the chat rooms. The application has problems in sending and receiving messages. For these reasons we evaluate it with 2 grade.The tests at Safari iPhone: At this browser the application has the better display and functionality. The change of the display of the phone from vertical to horizontal does not bring any problem. The display of the message form is the best. For these reasons we evaluate it with 1 grade. 
\subsection[{ii. Testing Java ME Chat}]{ii. Testing Java ME Chat}\par
The Java ME Chat application needs to download and to install in the mobile phone. After we have installed the application we test the performance of the application in all the mobile phones. In all the three mobile phones (Nokia N96, BlackBerry and iPhone) the application is displayed and functions correctly because those devices support Java. Also we have tested the communication of a Mobile Ajax Chat application user with a Java Me Chat application user. The two users can communicate perfectly and without problem with each other.\par
IV. 
\subsection[{CONCLUSIONS AND RECOMMENDATIONS}]{CONCLUSIONS AND RECOMMENDATIONS}\par
As we discussed the goal of this paper is to evaluate performance of Ajax applications in mobile phones. Out tests demonstrate that there are problems in supporting Ajax applications from the browsers. S60 Opera Mobile and Safari iPhone browsers have the better performance for Ajax toolkits. BlackBerry Web Browser has the worst performance for Ajax toolkits. The browser's cache has an important role in improving the performance of the application.Mobile Ajax Chat application has higher performance and the loading time of all forms is smaller. This application is evaluated with A grade from YSlow programe.\par
Java ME Chat application is executed and has correct functionalities in all mobile phones, because all mobile phones support Java and the application does not need a browser to run.When we are developing a new Mobile Ajax application we need to take care of the characteristics of users' browsers. We need to study and known all the characteristics of users' browsers.To eliminate the problems of browsers for Mobile Ajax application we need to design a new browser that satisfy all the request of Mobile Ajax. This browser must support all Ajax's requires and toolkits.\par
At this phase we have tested the performance of the two applications at three mobile phones in the respective browsers.			 			  				\begin{bibitemlist}{1}
\bibitem[Almaer ()]{b0}\label{b0} 	 		\textit{},  		 			D Almaer 		.  		 \url{http://ajaxian.com/archives/ajax-survey-results-are-in}  	 	 		Ajax Survey Results Are  		2006 -2010.  	 
\bibitem[Kristopher ()]{b6}\label{b6} 	 		\textit{Ajax performance analysis},  		 			Zyp Kristopher 		.  		 \url{http://ibm.com/developerWork}  		2008.  	 
\bibitem[Garrett ()]{b2}\label{b2} 	 		\textit{Ajax: A New Approach to Web Applications},  		 			J Garrett 		.  		 \url{http://www.adaptivepath.com/punlications/essays/archives/000385.php}  		2005.  	 
\bibitem[Michael ()]{b1}\label{b1} 	 		\textit{Create Ajax applications for the mobile Web},  		 			Galpin Michael 		.  		 \url{http://bm.com/developerWorks}  		2010.  	 
\bibitem[Joe ()]{b4}\label{b4} 	 		\textit{Maximizing JavaScript and Ajax performance},  		 			Lennon Joe 		.  		2010.  	 
\bibitem[Meier ()]{b5}\label{b5} 	 		\textit{Performance Testing Guidance for Web Applications},  		 			J D Meier 		.  		2007. United States: Microsoft Press.  	 
\bibitem[Jonathan and Lee]{b3}\label{b3} 	 		\textit{Toward a Mobile Rich Web Application -Mobile AJAX and Mobile Web 2},  		 			Jeon Jonathan 		,  		 			Seungyun Lee 		.  		 \url{http://www.w3.org/2007/06/mobile-ajax/papers/etri.jeon.MobileAJAX-PositionPaper-r5.pdf}  		 	 
\end{bibitemlist}
 			 		 	 
\end{document}
