Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the types of servers in Hong Kong

2025-01-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

What are the types of servers in Hong Kong?

In the actual development of enterprises, Hong Kong servers that can handle user requests can be divided into several basic types, and different Hong Kong servers deal with different problems. This flexibility gives developers a wide range of options when creating and deploying applications, but it can also lead to confusion in various types of server usage scenarios.

Web server

At a basic level, users usually submit requests to the system through a Web browser. (for the sake of clarity, we temporarily ignore that all other types of clients (RMI, CORBA, COM/DCOM, customization, etc.) Web requests must be received by the Web server (also known as the HTTP server). The Web server must process standard HTTP requests and responses and then return the HTML to the requesting user. The code executed in the server environment may be cgi-driven, Servlet, ASP, or other server-side programming languages, but the end result is that the Web server passes the HTML to the user.

All the data.

The difference between Web server and application server in enterprise development

The Web server may need to execute an application in response to a user request that may generate a list of news items or process the contents of the form that the user submits to the comments section. If you write the server application as Java Servlet, you need a place to execute, which is often referred to as the Servlet engine. Depending on the Web server, this engine can be internal, external, or a completely different component. Unlike traditional CGI environments, CGI scripts are started each time a request is sent to the server. This persistence provides an easy way for servlet to connect and maintain state between each HTTP request. JSP pages are typically bound to the servlet engine and executed in the same space / application as servlet.

All the data.

There are many products that deal with Web services and Servlet engines in different ways. Netscape/iPlanet Enterprise Server builds the Servlet engine directly into the Web server and runs in the same process space. Apache requires the servlet engine to run in an external process and communicate with the engine through TCP/IP sockets. Other servers, such as MS IIS, do not officially support servlet, and other products are needed to add this feature.

Hong Kong Application Server

When you need to use Enterprise javabean (and other J2EE components, such as JMS and CORBA), the application server comes into play. The application server is a comprehensive application-level server that provides additional functions related to enterprise computing, such as load balancing, database access classes, transaction processing, and messaging services.

The EJB application server provides an EJB container, which is the environment in which bean is executed, and the container will manage transactions, thread pools, and other issues as needed. These application servers are usually stand-alone products, and developers bind servlet/JSP pages to EJB components through remote object access to API. Depending on the application server, programmers can use CORBA or RMI to communicate with their bean, but the benchmark is to use JNDI to locate and create EJB references as needed.

At present, the most confusing thing is that many application server providers include some or all of these components in their products. If you use or understand WebLogic, you will find that WebLogic contains a Web server, a servlet engine, a JSP processor, a JMS tool, and an EJB container. In theory, such a product should handle all aspects of web development.

In most practices, you will most likely use these products to manage / serve EJB instances, while a dedicated Web server will handle specific HTTP requests.

Conclusion

Today, most application servers also include a Web server, which means that the Web server can be used as a subset (subset) of the application server. Although application servers include the capabilities of Web servers, developers rarely deploy application servers (that is, application server and Web server capabilities) with this capability. Instead, they typically configure the Web server separately from the application server if necessary. This functional separation helps to improve performance (simple Web requests do not affect application servers), separate configurations (dedicated Web servers, clusters, and so on), and leave room for choosing the best product.

High-rent server, try the world Hong Kong high-data server, the server assigned room is high-end customized modular intelligent monitoring Hong Kong college computer room, it will have to "think" firewall system, complete G high-speed and large bandwidth, can quickly respond to attacks, against CC lightning, multi-layer defense mechanism wisdom, support network security defense may exceed 99.99%.

Hong Kong server, committed to providing users with the most cost-effective server!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report