简体   繁体   English

在部署GAE应用程序之前,将所有.class文件打包在一个jar中?

[英]Packing all .class file in a single jar before deploying GAE app?

I am using GAE plugin for eclipse and wanted to know if the plugin takes care of packing every class files in a single jar before deployement ? 我正在使用GAE插件进行eclipse,并想知道插件在部署之前是否负责将每个类文件打包在一个jar中?

I've heard that application performance can be slow if we have lot of class files. 我听说如果我们有很多类文件,应用程序性能会很慢。

I use maven for build and dependency definition rather than Eclipse and the Google plugin. 我使用maven进行构建和依赖性定义,而不是Eclipse和Google插件。 But generally if you have a single module in your project all the code for this will be built into a single jar file and bundled into a .war file together with all the jars defined in your dependencies. 但通常,如果项目中只有一个模块,则所有代码都将构建到一个jar文件中,并与依赖项中定义的所有jar一起捆绑到.war文件中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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