GWT support?

Asked by snoopy3368

Maybe this is dumb, cause I'm a newbie, but do you support GWT? I.e. I hate writing JSP like code and I love writing Java like code. And GWT really made this a nice combination. Not sure it fits well here, but as I spend hours over trying to get a view to look good and trying to figure out how to make it all work I remembered that I liked GWT.

PS. I'm not a gui guy, mostly the 'model' and I should probably ask a different set of questions, specifically about XML, JSON as the gui guys will do it in FLASH or something they like and they prefer those media types of HTML.

Question information

Language:
English Edit question
Status:
Solved
For:
play framework Edit question
Assignee:
No assignee Edit question
Solved by:
snoopy3368
Solved:
Last query:
Last reply:
Revision history for this message
Guillaume Bort (guillaume-bort) said :
#1

Hi,

I'm not sure what is needed to ingrate gwt with a framework. But play
is mainly a mvc framework : if you don't use the router, neither the
controller features, neither the template engine I don't see any
benefit to use it ... Perhaps I don't clearly realize. So how do you
imagine an integration ?

On 21 nov. 08, at 15:28, snoopy3368
<email address hidden> wrote:

> New question #52100 on play framework:
> https://answers.launchpad.net/play/+question/52100
>
> Maybe this is dumb, cause I'm a newbie, but do you support GWT?
> I.e. I hate writing JSP like code and I love writing Java like
> code. And GWT really made this a nice combination. Not sure it
> fits well here, but as I spend hours over trying to get a view to
> look good and trying to figure out how to make it all work I
> remembered that I liked GWT.
>
> PS. I'm not a gui guy, mostly the 'model' and I should probably ask
> a different set of questions, specifically about XML, JSON as the
> gui guys will do it in FLASH or something they like and they prefer
> those media types of HTML.
>
> --
> You received this question notification because you are a member of
> play
> framework developers, which is an answer contact for play framework.

Revision history for this message
snoopy3368 (snoopy3368+launchpad) said :
#2

I guess I need to dig it back out and review it again. I remember that you could build all the GUI in Java like objects. With zero server side support, other than post/get. In other words instead of using JSP (or like template engine) to generate the client view, you could use Java objects and GWT would compile it all into javascript. When the URI was requested by a browser you would get the javascript, which would in turn have URIs for whichever action you would need.

Again, I'd have to dig it out. I'm having troubles getting basic things to work, so I may never get to GWT. Sorry, to bother. Ignore my post for know.

Revision history for this message
fzx (fangzhouxing) said :
#3

I think that there is no work needed to do to integrate Play! with GWT, you can use Restlet-GWT with GWT and communicate with any server side which has Restful service provided.