I think the key is to not create them all the time.  So don't make a
new one for each transaction.  Make one and keep it around.

On Sep 23, 10:19 am, Prashant <antsh...@gmail.com> wrote:
> Hi,
>
> Will it make any difference to the performance of the app if I do not write
> a separate class (PMF, as suggested in GAE docs) for getting
> PersistentManagerFactory instance, instead, I declare it as a variable in
> the class where I want to use it, like
>
> protected final PersistenceManagerFactory pmf     =
> JDOHelper.getPersistenceManagerFactory("transactions-optional");
>
> // NOTE: I am not using *static* keyword.
>
> Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to