Help me with setting up Ubuntu, NetBeans, Maven2, Wicket, Jetty and Google App Engine

View: New views
5 Messages — Rating Filter:   Alert me  

Help me with setting up Ubuntu, NetBeans, Maven2, Wicket, Jetty and Google App Engine

by Piotr Tarsa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I am trying to develop Wicket application (site about my research in
Data Compression Algorithms) to Google App Engine using NetBeans and
Maven2.

I need an up-to-date pom.xml files with short dependencies, ie. the
ones I saw had a long list of dependencies.

Currently I've found two unsatisfactory solutions:
http://gae-j-maven.appspot.com/
http://code.google.com/p/maven-gae-plugin/

Do you know something better? I need to have access to Google App
Engine features like DataStore, MemCache etc.

I've set netbeans.deploy=false so NetBeans doesn't ask for deploying
server (besides, I am using embedded Jetty to run that, so the
question was weird), but sadly, now NetBeans doesn't open new browser
window and doesn't stop Jetty before another run command.

Do you think that using Maven2 with that project makes sense? Maybe I
should make regular NetBeans project...

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


links on the page after invalidating the session

by davidqz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am reading the book: Wicket in Action.

The first sentence of the Note on page 274 reads:
-----
Always set a bookmarkable response page after you invalidate the session.
-----

My understanding is that if this page has any Wicket-generated links, it MUST be bookmarkable links too.

Correct?

Thanks!





     

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


A question about the book WIA

by davidqz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am reading the book: Wicket in Action.

The first sentence of second paragraph of page 273 reads:
-----
In the UserPanel, we created a model that extends LoadableDetachableModel for representing the current user (if any).
-----

In this chapter (Chapter 11 Securiing your application), I am unable to see any code for the above-mentioned model creation. I cannot understand it.

Could someone out there elaborate on this?

Thank you for your help!



     

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Help me with setting up Ubuntu, NetBeans, Maven2, Wicket, Jetty and Google App Engine

by Mauro Ciancio :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Piotr:

On Sat, Nov 7, 2009 at 11:55 AM, Piotr Tarsa <piotr.tarsa@...> wrote:

> I need an up-to-date pom.xml files with short dependencies, ie. the
> ones I saw had a long list of dependencies.
>

I usually start with the wicket quickstart project and it fits my needs.
Later,
I add the dependecies that I need.


> I've set netbeans.deploy=false so NetBeans doesn't ask for deploying
> server (besides, I am using embedded Jetty to run that, so the
> question was weird), but sadly, now NetBeans doesn't open new browser
> window and doesn't stop Jetty before another run command.
>

You could use the option 'apply code changes' if you change a class. This
replace the old class file with the new one without needing to restart
the jetty. It's very usefull and reduces the deployment dead time.
In order to use this options you should run your start jetty in debug mode.


> Do you think that using Maven2 with that project makes sense? Maybe I
> should make regular NetBeans project...


In my opinion Maven is the correct option. Downloading the jars manually
is a ugly task.

Cheers.
--
Mauro Ciancio

Re: links on the page after invalidating the session

by igor.vaynberg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

the links on the page dont have to be bookmarkable, the only
requirement is that after you invalidate the session you use

setresponsepage(page.class) variant - which constructs a bookmarkable
link vs a setresponsepage(page) - which constructs a session-relative
link and wont work because you invalidated the session

-igor

On Sat, Nov 7, 2009 at 6:30 AM, David Chang <david_q_zhang@...> wrote:

> I am reading the book: Wicket in Action.
>
> The first sentence of the Note on page 274 reads:
> -----
> Always set a bookmarkable response page after you invalidate the session.
> -----
>
> My understanding is that if this page has any Wicket-generated links, it MUST be bookmarkable links too.
>
> Correct?
>
> Thanks!
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...