WAP

  Home  Protocols  WAP


“WAP Interview Questions and Answers will guide us now that Wireless Application Protocol (WAP) is an open international standard for application-layer network communications in a wireless-communication environment. Most use of WAP involves accessing the mobile web from a mobile phone or from a PDA. So learn more about WAP or get preparation for the job of Wireless Application Protocol (WAP) with the help of this WAP Interview Questions with Answers guide”



12 WAP Questions And Answers

1⟩ What is WAP (Wireless Application Protocol)?

Wireless Application Protocol (WAP) is a protocol for transmitting data between servers and clients (usually small wireless devices like mobile phones). WAP is analogous to HTTP in the World Wide Web. Many mobile phones include WAP browser software to allow users access to Internet WAP sites.

 148 views

4⟩ Can I use cookies with WAP?

In theory, yes. However, not all WAP handsets will support them. Another approach to session management is to use hidden form fields containing session identifiers (either in the header using the 'POST' method or in the URL using the 'GET' method.)

 135 views

5⟩ Do I need a WAP gateway?

No. Not necessarily. If you want to serve up simple WAP content, you can use an existing web server (and just change the MIME types). A mobile will connect to your server through a WAP gateway located in their mobile operator's network.

However, there are some advantages to hosting your applications on a WAP gateway - since it is part of the mobile network. You can have access to information like the mobile's number, identity, and possibly location.

 134 views

6⟩ Can I use Java Servlets to produce WML pages?

Yes. You can create WML in exactly the same way that you create HTML. If you have written your servlets to produce WML, just remember to set the MIME type correctly:

response.setContentType("text/vnd.wap.wml");

 136 views

7⟩ Does WAP run over GPRS?

Yes, it can do. GPRS is a new over-the-air service that transmits data packets to hand-held devices. It will allow much faster WAP transmission than currently available over SMS or CSD when using GSM.

 138 views

8⟩ How secure is WAP?

One of the layers of the WAP stack, known as WTLS, provides encryption and authentication for server-to-client security. This prevents fraudulent access to WAP transactions and opens the way for e-commerce- and intranet-type applications.

 133 views

11⟩ What does the postfield tag do?

The postfield element allows you to POST a field name and value submission in a URL request, without it having been visible on the posting form. The WML Specification provides an example of postfield in use.

 142 views

12⟩ What does the fieldset tag do?

When building WAP applications, you have to remember that the client device will probably have a very small screen. If you are trying to design a large form, you will want to specify which form elements are kept together on one screen. The fieldset tag groups together form elements, and the microbrowser will try to keep groups on one screen. The WML Specification provides an excellent example.

 148 views