开发者

Google App Engine - low-level datastore API flag?

In my GAE-Java app, I'm using the low-level datastore AP开发者_JAVA技巧I. Hence I don't need the GAE app instance to load any of the higher level data access libraries such as JPA, JDO, Data Nucleus, etc.

Is there a flag that I can set to indicate that I don't want these libraries to be loaded?

My motivation to do this is to reduce app instance startup time everywhere I can. Now I don't know if these libraries are loaded only on-demand or always. The dev environment logs messages related to data nucleus which seems to indicate that some of these libraries may be pre-loaded? I hope I'm wrong here.

Thanks, Keyur


You don't have to tell App Engine not to load these libraries, just don't include their JARs in your project.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜