Java's service means service, which meets our need to intercept requests and respond. This is a service, and it is a specific service. Intercepting requests and responding is the protocol. Similar servelt services and webservice services are based on the http protocol. of.
java’s service means service
Because we are the development side, we provide services to customers . And software servers like tomcat provide services for us developers!
So the term service is relative. So let’s talk specifically about servlets and webservices in java. In order to have a clear understanding of its definition when learning:
In the development process, classes like servlet serve us, and webservice frameworks also serve us. To meet our need to intercept requests and respond, this is a service, and it is a specific service. Intercepting requests and responding is a protocol.
Since we are now in a legal society, customer service has certain scope and conditions for providing you services. Just like not allowing small card service in hotels.
So, the servelt service and webservice service similar to what I said are based on the http protocol. Protocols are everywhere in life, so they are also on the Internet. Protocols are required for communication, and protocols are also required for accessing databases, etc.
So when it comes to service, you should think of service as doing things for others and meeting the needs of others.
Through this analysis condition, I think we should be able to quickly identify whether a specific object provides services or enjoys services. Personally, I feel that the components used in development like the servlets and webservices I mentioned all serve our development. So, he called for service.
Related learning recommendations: java basic tutorial
The above is the detailed content of What does java service mean?. For more information, please follow other related articles on the PHP Chinese website!