The Java technology and WAP development topic has recently been opened up by the Java Development Network, which will focus on the integration of WAP development and Java technology. We will not open up new articles. If you publish WAP-related technologies, please refer to Java technology and WAP development topics.
WAP (Wireless Application Protocal) is an open protocol, which is different from Japan's I-MODE, which is closed. In fact, WAP is the combination of wireless networks and Internet networks. Originally, wireless networks primarily carry voice services, while internet data services are already very mature. The application of data services in wireless networks promotes the formation of WAP. You can even think that WAP is a lightweight HTTP protocol tailored for wireless networks.
As a developer, we should understand the working principle and programming mode of WAP. If you have Web application development experience, it will be easier to understand. In fact, it is a B/S model. The Browser here is not a traditional Browser, but a user agent on the WAP device. It can also be understood as a WAP Browser. The server is a general WEB server. You can use IIS, Apache, or other web servers, because html is not suitable for transmission on wireless devices with tight resources, we use the wml language on the server. In fact, when a user accesses the network through a wireless device, the request must first go through the WAP Gateway. The WAP gateway will encode and decode the data and then send the data request to the web server, the processed data is sent to the mobile phone after being decoded by the WAP Gateway. This is transparent to programmers. You only need to manage the server code. The following figure helps you understand this programming mode.