📄 wap builds java applications.htm
字号:
<P>Existing HTML pages will need to be converted into WML. However, WML
pages are not as complex as HTML since they do not support as many
features as HTML pages. Hence, this is not a very time-consuming task.</P>
<P>WAP also supports images in the Wireless BitMap (WBMP) format. However,
a user using WAP services is paying considerably for connection time and
is usually more interested in to-the-point and targeted information rather
than beauty. Unless the images themselves convey information, it is much
better to provide quick information than hog bandwidth and time
transmitting graphics to the user.</P>
<P>A final note: although a simulator provides a nice environment for
testing WAP applications, a WAP application can be said to be completely
tested only when it has been run on all possible target WAP devices along
with the WAP gateway deployed. All dynamically generated pages are
compiled at the gateway. Hence, it is necessary to find out which version
of WAP the gateway supports. It is no use writing pages in WML 1.2 if the
gateway compiler only works with WML 1.1.</P>
<P><A name=resources><SPAN class=atitle2>Resources</SPAN></A>
<UL>
<LI>You'll find all the code for this article, including JSPs, servlets,
and EJBs in this <A
href="http://www-106.ibm.com/developerworks/java/library/wi-entwap/code.zip"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">zip
file</A>.<BR><BR>
<LI>Get an introduction to J2EE at <A
href="http://developer.java.sun.com/developer/products/j2ee/"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">Sun's Java
developer connection</A> (free registration required).<BR><BR>
<LI><A
href="http://www-106.ibm.com/developerworks/wireless/library/wi-wap/"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">"WAP Site
Authoring"</A> is a good introduction to WML and WMLScript. (<I
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">developerWorks</I>,
May 2001)<BR><BR>
<LI>Find out more about WAP, WML, and WMLScript from the <A
href="http://www.wapforum.org/"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">WAP Forum</A>, the
open, independent organization that maintains the WAP standard.<BR><BR>
<LI>IBM's <A
href="http://www-106.ibm.com/developerworks/cgi-bin/click.cgi?url=http://www-3.ibm.com/software/info1/websphere/index.jsp?tab=products/appserv"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">Websphere
Application Server</A> can be used to run the application outlined in
this article.<BR><BR>
<LI>You can <A href="http://www.nokia.com/wap/index.html"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">download
evaluation versions</A> of WAP gateway software and a WAP device
simulator from Nokia.<BR><BR>
<LI><A
href="http://www-106.ibm.com/developerworks/cgi-bin/click.cgi?url=http://www-3.ibm.com/software/awdtools/vapacbase/vapwap.htm"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">Salmon and IBM</A>
bring enterprise Java technology to your wireless network.<BR><BR>
<LI>Return to the <A
href="http://www-106.ibm.com/developerworks/wireless/?article=wir"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">Wireless
technology</A> zone or the <A
href="http://www-106.ibm.com/developerworks/java/?article=jr"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">Java
technology</A> zone here on <I
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">developerWorks</I>
for more Wireless and Java technology resources.<BR></LI></UL>
<P></P>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD><A name=author1></A><SPAN class=atitle2>About the
author</SPAN><BR>Aashish Patil recently received a bachelor's degree
in computer engineering from Thadomal Shahani Engineering College in
Mumbai, India. He completed a project on WAP-enabled stock trading
as a trainee at Tata Consultancy Services; this article is a direct
offshoot of this project. This fall, he will begin work on a
master's degree in computer science at the University of Southern
California. Contact Aashish at <A href="mailto:ash01@vsnl.net"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">ash01@vsnl.net</A>.</TD></TR></TBODY></TABLE><BR
clear=all><IMG height=10 alt=""
src="WAP builds Java applications.files/c.gif" width=100 border=0><BR>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR vAlign=top>
<TD align=right width="100%"><A onkeypress=sa_onclick(this.href)
onclick=sa_onclick(this.href)
href="ftp://www6.software.ibm.com/software/developer/library/wi-entwap.pdf"><IMG
height=26 alt=""
src="WAP builds Java applications.files/icon-pdf.gif" width=35
border=0></A><A href="javascript:void%20newWindow()"><IMG height=26
alt="e-mail it!"
src="WAP builds Java applications.files/icon-email.gif" width=46
border=0></A></TD>
<TD width=5><IMG height=1 alt=""
src="WAP builds Java applications.files/c.gif" width=5
border=0></TD></TR>
<TR vAlign=top>
<TD bgColor=#000000 colSpan=2><IMG height=1 alt=""
src="WAP builds Java applications.files/c.gif" width=100
border=0></TD></TR>
<TR vAlign=top>
<TD bgColor=#ffffff colSpan=2><IMG height=8 alt=""
src="WAP builds Java applications.files/c.gif" width=100
border=0></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0
xmlns:fo="http://www.w3.org/1999/XSL/Format">
<TBODY>
<TR vAlign=top>
<TD>
<FORM
action=http://www.alphaworks.ibm.com/developerworks/ratings.nsf/RateArticle?CreateDocument
method=post><INPUT type=hidden value="WAP builds Java applications"
name=ArticleTitle><INPUT type=hidden value=Wireless name=Zone><INPUT
type=hidden
value=http://www-106.ibm.com/developerworks/thankyou/feedback-thankyou.html
name=RedirectURL><A name=rating><SPAN class=atitle2>Rate this
article</SPAN></A>
<P>This content was helpful to me:</P>
<TABLE cellSpacing=0 cellPadding=0 width=600 border=0>
<TBODY>
<TR>
<TD colSpan=5><IMG height=8 alt=""
src="WAP builds Java applications.files/c.gif" width=100
border=0></TD></TR>
<TR vAlign=top>
<TD width="25%"><INPUT type=radio value=1 name=Rating>Strongly
disagree (1)</TD>
<TD width="17%"><INPUT type=radio value=2 name=Rating>Disagree
(2)</TD>
<TD width="16%"><INPUT type=radio value=3 name=Rating>Neutral
(3)</TD>
<TD width="17%"><INPUT type=radio value=4 name=Rating>Agree
(4)</TD>
<TD width="25%"><INPUT type=radio value=5 name=Rating>Strongly
agree (5)</TD></TR></TBODY></TABLE><BR><B>Comments?</B><BR><TEXTAREA name=Comments rows=5 wrap=virtual cols=60></TEXTAREA><BR><BR><INPUT type=submit value="Submit feedback"></FORM></TD></TR>
<TR vAlign=top>
<TD bgColor=#ffffff><IMG height=8 alt=""
src="WAP builds Java applications.files/c.gif" width=100
border=0></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR vAlign=top>
<TD width="100%">
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR vAlign=top>
<TD width="100%"><IMG height=4 alt=""
src="WAP builds Java applications.files/c.gif" width=2
border=0><BR><A class=dwbctl
href="http://www-136.ibm.com/developerworks/">developerWorks</A>
> <A class=dwbctl
href="http://www-136.ibm.com/developerworks/wireless">Wireless</A>
> </TD>
<TD align=right width=136><A
href="http://www-136.ibm.com/developerworks/"><IMG height=24
alt=developerWorks
src="WAP builds Java applications.files/dwlogo-small.gif"
width=136 border=0></A></TD>
<TD width=5><IMG height=1 alt=""
src="WAP builds Java applications.files/c.gif" width=5
border=0></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD>
<TD width=1><IMG height=1 alt=""
src="WAP builds Java applications.files/c.gif" width=1
border=0></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD><IMG height=1 alt="" src="WAP builds Java applications.files/c.gif"
width=1></TD></TR>
<TR vAlign=top>
<TD class=bbg height=21> <A class=mainlink
href="http://www.ibm.com/ibm/">About IBM</A><SPAN
class=divider> | </SPAN><A class=mainlink
href="http://www.ibm.com/privacy/">Privacy</A><SPAN
class=divider> | </SPAN><A class=mainlink
href="http://www.ibm.com/legal/">Terms of use</A><SPAN
class=divider> | </SPAN><A class=mainlink
href="http://www.ibm.com/contact/">Contact</A></TD></TR></TBODY></TABLE><!-- Survey trigger start -->
<SCRIPT language=JavaScript1.2 type=text/javascript>
//<![CDATA[<!--
var language="en";
var country="us";
var site="cvm";
var module="devworks";
var version="1";
var rate="0.51";
//-->]]>
</SCRIPT>
<SCRIPT language=JavaScript1.2 src="WAP builds Java applications.files/popup.js"
type=text/javascript>
</SCRIPT>
<!-- Survey trigger end -->
<SCRIPT language=JavaScript1.2 src="WAP builds Java applications.files/stats.js"
type=text/javascript></SCRIPT>
<NOSCRIPT><IMG height=1 alt=""
src="D:\Java工具\Wap\新网页\WAP builds Java applications.files\c(2).gif" width=1
border=0></NOSCRIPT> </BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -