Keyur
Keyur

Reputation: 292

Google App Engine - low-level datastore API flag?

In my GAE-Java app, I'm using the low-level datastore API. 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

Upvotes: 1

Views: 252

Answers (1)

Jason Hall
Jason Hall

Reputation: 20930

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

Upvotes: 1

Related Questions