Wicket works fine on GAE as long as you make sure your page instances
do not contain non-Serializable instances - using detachable models
follows this rule.
Here is this base class I use to set up a Wicket / Engine App
public abstract class EngineApplication extends WebApplication
{
@Override
protected void init()
{
getResourceSettings().setResourceWatcher(new
OnDemandModificationWatcher());
super.init();
}
protected ISessionStore newSessionStore()
{
return new HttpSessionStore(this);
}
@Override
protected WebRequest newWebRequest(HttpServletRequest servletRequest)
{
if (isDevelopmentEnvironment())
{
((OnDemandModificationWatcher)
getResourceSettings().getResourceWatcher(true)).start();
}
return super.newWebRequest(servletRequest);
}
public static boolean isDevelopmentEnvironment()
{
return
System
.getProperty
("com.google.appengine.runtime.environment").equals("Development");
}
@Override
public String getConfigurationType()
{
if (isDevelopmentEnvironment())
{
return "development";
}
else
{
return "deployment";
}
}
}
On 6 Oct 2010, at 08:02, nico wrote:
swapplace isn't a good example, it is too simple
NM
On Mon, Oct 4, 2010 at 5:19 AM, Ian Marshall
<[email protected]> wrote:
Mmmm: my link has been Googlised. If interested, try
http://www.SwapPlace.co.uk
instead.
On Oct 4, 9:11 am, Ian Marshall <[email protected]> wrote:
> I disagree. I use Wicket and JDO on GAE/J; it works fine for me,
> including no serialisation problems.
>
> As a working example, I am satisfied with my Wicket/JDO/GAE/J
proof-of-
> concept web application at
>
> www.SwapPlace.co.uk.
>
> I am using the lessons learnt for my commercial web site
development,
> which is coming along nicely too.
>
> On Oct 3, 9:43 pm, nico <[email protected]> wrote:
>
> > Hey! don't use wicket + GAE!!! you will have lot of
serialization problems
> > and your project will FAIL! you will lose time and money!!!!!
> > bug:http://code.google.com/p/googleappengine/issues/detail?id=2500
>
> > Bye!
> > NM
--
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 [email protected]
.
To unsubscribe from this group, send email to [email protected]
.
For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en
.
--
Nicolás Meléndez
Java Software Developer
Cell: +54 9 1157535454
1) Google App Engine works:
1.a) http://www.clasificad.com.ar (Local free classifieds for
housing, sale, services, local community, curses,jobs, and events -
GAE/J + Wicket + YUI)
1.b) http://www.chessk.com (Massive multiplayer chess online GAE/J
+ Applets + Wicket)
2) Linkedin: http://ar.linkedin.com/in/nicolasmelendez
--
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 [email protected]
.
To unsubscribe from this group, send email to [email protected]
.
For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en
.
--
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.