I am trying to update to the new SDK in my project settings. I am not
using Eclipse plugin as it does not work. I use maven for running and
deploying. Even though my xml points to newest sdk, it does not work
and shows standard message about older sdk version. When running
locally it uses correct version, but not always. But when deploying it
shows that I'm using 2-3 versions older SDK. Am I missing something?
war\WEB-INF\lib
folder dictate to GAE/J which version of the SDK we want to be run in
production. For example: I have
appengine-api-1.0-sdk-1.5.5.jar
amongst other .jar files, so my app will run under the Java 1.5.5 SDK
when deployed in production. (Yes, I haven't upgraded my build
environment to take the newest SDK into account.
Any help? (Hello fellow Apache Wicket developer!)
As for start-up times, what's your data persistence technology? I use
JDO. For this, there is a many-second period required to instantiate a
JVM's singleton instance of a persistence manager factory (PMF). My
ways to cope with this are:
1. Enqueue a task at start-up to instantiate a PMF instance.
2. Ensure that the home page does not need to exchange data with
the datastore.
My start-up times can be very slow for my zero traffic due to a new
JVM being started, but that's nothing to do with Wicket or JDO. I can
always have a JVM instance always on to counter this.
-------- Original Message --------
I will take a look at that, it was quite mysterious to me, as I have
even deleted all old sdks from my disk and changed all reference.
Anyway, are you happy with Apache Wicket? I am quite early with my
project and I really like Wicket. I am a bit worried about performance
though - do you have any issues with that? How about startup times?
Mines are really slow, but I am not sure if Wicket has anything to do
with it.
I really like same things you mentioned and I am still constantly
surprised that people prefer JSP and JSF. I have to work on Oracle's
ADF at my day job, really ugly stuff.
My home page does not exchange data with datastore, at least not
initially [it has login screen]. Could you tell me more about point
1?
maven gae:version gives that:
[INFO] SDK directory: C:\Users\Zeldor\.m2\repository/com/google/
appengine/appengine-java-sdk/1.6.1/appengine-java-sdk-1.6.1
[INFO] SDK version:
Release: 1.5.2
Timestamp: Tue Jul 19 01:48:56 CEST 2011
API versions: [1.0]
Any ideas? In my pom.xml I have:
<properties>
<!--
This is the App Engine SDK version. It's used by the maven-
gae-plugin.
See http://code.google.com/p/maven-gae-plugin/ for
additional configuration options.
-->
<gae.version>1.6.1</gae.version>
I am not a Maven person; I still use Ant with my NetBeans IDE. So I
probably cannot help you. Hopefully someone else on this forum can.
(As a non-Maven person, does your Maven build a war folder prior to
running your GAE/J development server? If so, you could take a peek in
the folder I mentioned earlier to see which SDK .jar files get put in
there.)
(I'll answer your other question next week when I next open my IDE.)
Ian
Enqueuing a task at start-up to instantiate a PMF instance ---------------------------------------------------------- First, some code.
| Subject: | [google-appengine] Re: Problem updating my project to new SDK |
|---|---|
| Date: | Sat, 17 Dec 2011 06:24:14 -0800 (PST) |
| From: | Paul <pgronk...@gmail.com> |
| Reply-To: | google-a...@googlegroups.com |
| To: | Google App Engine <google-a...@googlegroups.com> |
And it looks like I won't be able to test anything today, I just run
out of free quota, when trying to clean up over 30k _ah_SESSION
entities...