简体   繁体   中英

Are Java EE server components compiled?

服务器或容器是否对可重用的对象或组件进行了某种形式的编译以加快执行速度?

这个答案与编译无关,因此我不确定是否有帮助:例如,Java EE服务器维护数据库连接池或无状态EJB以便重用。

By default, any recent Java VM will do just-in-time compilation of frequently used program code which translates the intermediate Java bytecode to native code on the underlying platform. This usually boosts performance of those code parts. When and if Java bytecode will be compiled to native is at the discretion of the VM.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM