SAR file is created with the .sar extenstion same like how other archive files (JAR, WAR, EAR) created. But the purpose of the SAR file is differenet from the other archive files. It is used for deploying a service component in the application server without dependent on other componenets. You can create a seperate componenet as a SAR file and deploy it in the server. When application server starts, the component will be deployed and started running independently. Most of the times these SAR files are used for writing thread related components which has to be running independently.
Sar包不同于其他格式的包,它可以独立部署,不依赖其他的组件。你可以在一台主机上独立Sar应用,启动后会独立部署运行。大部分Sar用来部署单独运行的线程独立的组件应用。
什么是SAR包?
最新推荐文章于 2023-10-23 18:16:37 发布