This only requires a very small change to the project to add a startup class.
这只需要一个很小的变化向项目添加一个启动类。
Startup time overhead to populate a new cache (which I discuss later in this article) is not significant, as each class simply needs to be relocated into the cache as it is defined.
填充新缓存导致的启动时间开销(在本文后面讨论)并不显著,因为每个类只需在定义时重新定位到缓存中。
At startup, the application server creates an instance of the class specified in the deployment descriptor and sets the properties the administrator has provided.
在启动时,应用服务器会创建在部署描述符中指定的类的一个实例,并设置管理员提供的属性。
应用推荐