Re: Google IO 2012 : no GWT session ?

2012-07-09 Thread Ed

>
> The GWT 2.5 release is one of the biggest GWT ever and has many new things 
> in there.  

@Daniel: why?
I hope you can convince me, as I don't share this feeling with you till now.

- Ed

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/9a1pQwiqHwEJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-07-09 Thread Daniel Kurka
I am open to listen to what GWT developers have to say and to get a good 
feedback loop going.

So if you have something in mind please bring it up in the gwt contributer list 
I will take a look for sure!

-Daniel



Am 09.07.2012 um 16:01 schrieb Joshua Kappon:

> We're hoping that the steering committee will make steps for reaching and 
> expanding the GWT community more actively.
> I think that a great step in this direction is establishing a road-map with 
> the help of the community.
> 
> Regular GWT Hangouts could also be nice ;)
> 
> 
> On Sunday, July 8, 2012 5:01:42 PM UTC+3, Daniel Kurka wrote:
> I have been on IO all week and talked to many people from the GWT team and 
> other GWT developers.
> 
> I am not worried at all about GWTs future. It had a bad marketing in the last 
> year due to many reasons which we will turn around in the upcoming months 
> with the GWT steering committee.
> 
> The GWT 2.5 release is one of the biggest GWT ever and has many new things in 
> there. Wait for Rays talk to appear (in which I play a very small role) on 
> the youtube in a few days to clear things up for you.
> 
> -Daniel
> 
> 
> 
> 
> Am 06.07.2012 um 22:04 schrieb Murray:
> 
>> Daniel,
>> 
>> I was at Google I/O last week and decided ask for myself.. the responses I 
>> got, was NOT good
>> I flat out asked one Googler, working a developer "bar" in the main lobby  
>> (not sure what team he was on) 
>> "..should I continue my project that's not yet released, in GWT or what..?" 
>> and he appeared to be reluctant
>> to say...suggesting that something was up! he then went on to say he would 
>> change it to DART as it
>> is not yet a complete standard So then I asked "..what about 
>> JSP/Appengine or Python?"  and with a big Grin
>> on if face he shuck his head affirmatively violently ... as if to say he 
>> doesn't want it to be said that "he told me so"
>> 
>> right now we need some GWT folks to step up and say something definitive!!!  
>> this "rumor" has been going around for 
>> a while now.. and there were no Sessions on GWT at the IO2012 other than 
>> Porting GWT to DART !!!
>> 
>> I went to a session on Appengine /REST and a a question was asked at the end 
>> of the session regarding 
>> REST and GWT the answer was also suspect...
>> 
>> I think this link will take you to the session ..forward to the end...
>>  https://developers.google.com/events/io/sessions/gooio2012/121/
>> 
>> 
>> 
>> 
>> 
>> On Friday, June 22, 2012 1:54:29 PM UTC-4, Daniel Kurka wrote:
>> I can assure you (since I am deeply invested in GWT) that GWT is in no way 
>> of being phased out. The main reason is the amount of other talks (android, 
>> google+) being added to the conference, reducing talk time for everyone else.
>> As Thomas said before there is something big coming for GWT which will be 
>> announced in Rays talk at IO.
>> 
>> There are a lot of google products relying on GWT which is not something 
>> that you could change in a short amount of time. Dart may be an interesting 
>> project, but it is not going to change the way google currently depends on 
>> GWT (at least not in the next years).
>> 
>> The fact that the GWT team is looking for team members on the google 
>> employment list should also put you in the direction that this is no where 
>> near dead.
>> 
>> So hopefully as a contributer to the project I can calm you nerves a little.
>> 
>> -Daniel
>> 
>> 
>> 
>> 
>> 
>> 
>> Am 19.06.2012 um 19:29 schrieb Thomas Lefort:
>> 
>>> https://groups.google.com/forum/?fromgroups#!topic/Google-Web-Toolkit-Employment/NJmWmKsXQlI
>>> 
>>> sounds pretty healthy to me :)
>>> 
>>> I bet competition will be fierce!
>>> 
>>> 
>>> On Thursday, 17 May 2012 08:00:00 UTC+2, Celinio Fernandes wrote:
>>> Hello,
>>> I just noticed that the schedule for Google IO 2012 is now available : 
>>> https://developers.google.com/events/io/sessions
>>> Not sure whether it is definitive or not.
>>> I see that this year there is no session dedicated to GWT. How come ? 
>>> But there are 2 sessions dedicated to Dart. Is this a sign ?
>>> 
>>> 
>>> 
>>> 
>>> -- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "Google Web Toolkit" group.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msg/google-web-toolkit/-/m0up22vaGNoJ.
>>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>>> To unsubscribe from this group, send email to 
>>> google-web-toolkit+unsubscr...@googlegroups.com.
>>> For more options, visit this group at 
>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>> 
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google Web Toolkit" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/google-web-toolkit/-/Jh2IrAfsH8MJ.
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> goog

Re: Google IO 2012 : no GWT session ?

2012-07-09 Thread Joshua Kappon
We're hoping that the steering committee will make steps for reaching and 
expanding the GWT community more actively.
I think that a great step in this direction is establishing a road-map with 
the help of the community.

Regular GWT Hangouts could also be nice ;)


On Sunday, July 8, 2012 5:01:42 PM UTC+3, Daniel Kurka wrote:
>
> I have been on IO all week and talked to many people from the GWT team and 
> other GWT developers.
>
> I am not worried at all about GWTs future. It had a bad marketing in the 
> last year due to many reasons which we will turn around in the upcoming 
> months with the GWT steering committee.
>
> The GWT 2.5 release is one of the biggest GWT ever and has many new things 
> in there. Wait for Rays talk to appear (in which I play a very small role) 
> on the youtube in a few days to clear things up for you.
>
> -Daniel
>
>
>
>
> Am 06.07.2012 um 22:04 schrieb Murray:
>
> Daniel,
>
> I was at Google I/O last week and decided ask for myself.. the responses I 
> got, was NOT good
> I flat out asked one Googler, working a developer "bar" in the main lobby 
>  (not sure what team he was on) 
> "..should I continue my project that's not yet released, in GWT or 
> what..?" and he appeared to be reluctant
> to say...suggesting that something was up! he then went on to say he would 
> change it to DART as it
> is not yet a complete standard So then I asked "..what about 
> JSP/Appengine or Python?"  and with a big Grin
> on if face he shuck his head affirmatively violently ... as if to say 
> he doesn't want it to be said that "he told me so"
>
> right now we need some GWT folks to step up and 
> say something definitive!!!  this "rumor" has been going around for 
> a while now.. and there were no Sessions on GWT at the IO2012 other than 
> Porting GWT to DART !!!
>
> I went to a session on Appengine /REST and a a question was asked at the 
> end of the session regarding 
> REST and GWT the answer was also suspect...
>
> I think this link will take you to the session ..forward to the end...
>  https://developers.google.com/events/io/sessions/gooio2012/121/
>
>
>
>
>
> On Friday, June 22, 2012 1:54:29 PM UTC-4, Daniel Kurka wrote:
>>
>> I can assure you (since I am deeply invested in GWT) that GWT is in no 
>> way of being phased out. The main reason is the amount of other talks 
>> (android, google+) being added to the conference, reducing talk time for 
>> everyone else.
>> As Thomas said before there is something big coming for GWT which will be 
>> announced in Rays talk at IO.
>>
>> There are a lot of google products relying on GWT which is not something 
>> that you could change in a short amount of time. Dart may be an interesting 
>> project, but it is not going to change the way google currently depends on 
>> GWT (at least not in the next years).
>>
>> The fact that the GWT team is looking for team members on the google 
>> employment list should also put you in the direction that this is no where 
>> near dead.
>>
>> So hopefully as a contributer to the project I can calm you nerves a 
>> little.
>>
>> -Daniel
>>
>>
>>
>>
>>
>>
>> Am 19.06.2012 um 19:29 schrieb Thomas Lefort:
>>
>>
>> https://groups.google.com/forum/?fromgroups#!topic/Google-Web-Toolkit-Employment/NJmWmKsXQlI
>>
>> sounds pretty healthy to me :)
>>
>> I bet competition will be fierce!
>>
>>
>> On Thursday, 17 May 2012 08:00:00 UTC+2, Celinio Fernandes wrote:
>>>
>>> Hello,
>>> I just noticed that the schedule for Google IO 2012 is now available : 
>>> https://developers.google.com/events/io/sessions
>>> Not sure whether it is definitive or not.
>>> I see that this year there is no session dedicated to GWT. How come ? 
>>> But there are 2 sessions dedicated to Dart. Is this a sign ?
>>>
>>>
>>>
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google Web Toolkit" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/google-web-toolkit/-/m0up22vaGNoJ.
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> google-web-toolkit+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>>
>>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/google-web-toolkit/-/Jh2IrAfsH8MJ.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/wi

Re: Google IO 2012 : no GWT session ?

2012-07-09 Thread Ümit Seren
Sounds really good. 
I got some time to watch some of the I/O conference videos specifically on 
HTML5 and web technologies. 
One of the talks that got me really exciting was the one about Web 
components (https://developers.google.com/events/io/sessions/gooio2012/205/
).
Considering that GWT really advocates encapsulation and components that 
seems to be a natural fit for it. 
Maybe it's too early to comments on that but as you are in the steering 
committee, are there any plans to embrace these new technologies with 
future GWT versions?

cheers
Ümit

On Sunday, July 8, 2012 4:01:42 PM UTC+2, Daniel Kurka wrote:
>
> I have been on IO all week and talked to many people from the GWT team and 
> other GWT developers.
>
> I am not worried at all about GWTs future. It had a bad marketing in the 
> last year due to many reasons which we will turn around in the upcoming 
> months with the GWT steering committee.
>
> The GWT 2.5 release is one of the biggest GWT ever and has many new things 
> in there. Wait for Rays talk to appear (in which I play a very small role) 
> on the youtube in a few days to clear things up for you.
>
> -Daniel
>
>
>
>
> Am 06.07.2012 um 22:04 schrieb Murray:
>
> Daniel,
>
> I was at Google I/O last week and decided ask for myself.. the responses I 
> got, was NOT good
> I flat out asked one Googler, working a developer "bar" in the main lobby 
>  (not sure what team he was on) 
> "..should I continue my project that's not yet released, in GWT or 
> what..?" and he appeared to be reluctant
> to say...suggesting that something was up! he then went on to say he would 
> change it to DART as it
> is not yet a complete standard So then I asked "..what about 
> JSP/Appengine or Python?"  and with a big Grin
> on if face he shuck his head affirmatively violently ... as if to say 
> he doesn't want it to be said that "he told me so"
>
> right now we need some GWT folks to step up and 
> say something definitive!!!  this "rumor" has been going around for 
> a while now.. and there were no Sessions on GWT at the IO2012 other than 
> Porting GWT to DART !!!
>
> I went to a session on Appengine /REST and a a question was asked at the 
> end of the session regarding 
> REST and GWT the answer was also suspect...
>
> I think this link will take you to the session ..forward to the end...
>  https://developers.google.com/events/io/sessions/gooio2012/121/
>
>
>
>
>
> On Friday, June 22, 2012 1:54:29 PM UTC-4, Daniel Kurka wrote:
>>
>> I can assure you (since I am deeply invested in GWT) that GWT is in no 
>> way of being phased out. The main reason is the amount of other talks 
>> (android, google+) being added to the conference, reducing talk time for 
>> everyone else.
>> As Thomas said before there is something big coming for GWT which will be 
>> announced in Rays talk at IO.
>>
>> There are a lot of google products relying on GWT which is not something 
>> that you could change in a short amount of time. Dart may be an interesting 
>> project, but it is not going to change the way google currently depends on 
>> GWT (at least not in the next years).
>>
>> The fact that the GWT team is looking for team members on the google 
>> employment list should also put you in the direction that this is no where 
>> near dead.
>>
>> So hopefully as a contributer to the project I can calm you nerves a 
>> little.
>>
>> -Daniel
>>
>>
>>
>>
>>
>>
>> Am 19.06.2012 um 19:29 schrieb Thomas Lefort:
>>
>>
>> https://groups.google.com/forum/?fromgroups#!topic/Google-Web-Toolkit-Employment/NJmWmKsXQlI
>>
>> sounds pretty healthy to me :)
>>
>> I bet competition will be fierce!
>>
>>
>> On Thursday, 17 May 2012 08:00:00 UTC+2, Celinio Fernandes wrote:
>>>
>>> Hello,
>>> I just noticed that the schedule for Google IO 2012 is now available : 
>>> https://developers.google.com/events/io/sessions
>>> Not sure whether it is definitive or not.
>>> I see that this year there is no session dedicated to GWT. How come ? 
>>> But there are 2 sessions dedicated to Dart. Is this a sign ?
>>>
>>>
>>>
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google Web Toolkit" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/google-web-toolkit/-/m0up22vaGNoJ.
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> google-web-toolkit+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>>
>>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/google-web-toolkit/-/Jh2IrAfsH8MJ.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options,

Re: Google IO 2012 : no GWT session ?

2012-07-08 Thread Daniel Kurka
I have been on IO all week and talked to many people from the GWT team and 
other GWT developers.

I am not worried at all about GWTs future. It had a bad marketing in the last 
year due to many reasons which we will turn around in the upcoming months with 
the GWT steering committee.

The GWT 2.5 release is one of the biggest GWT ever and has many new things in 
there. Wait for Rays talk to appear (in which I play a very small role) on the 
youtube in a few days to clear things up for you.

-Daniel




Am 06.07.2012 um 22:04 schrieb Murray:

> Daniel,
> 
> I was at Google I/O last week and decided ask for myself.. the responses I 
> got, was NOT good
> I flat out asked one Googler, working a developer "bar" in the main lobby  
> (not sure what team he was on) 
> "..should I continue my project that's not yet released, in GWT or what..?" 
> and he appeared to be reluctant
> to say...suggesting that something was up! he then went on to say he would 
> change it to DART as it
> is not yet a complete standard So then I asked "..what about 
> JSP/Appengine or Python?"  and with a big Grin
> on if face he shuck his head affirmatively violently ... as if to say he 
> doesn't want it to be said that "he told me so"
> 
> right now we need some GWT folks to step up and say something definitive!!!  
> this "rumor" has been going around for 
> a while now.. and there were no Sessions on GWT at the IO2012 other than 
> Porting GWT to DART !!!
> 
> I went to a session on Appengine /REST and a a question was asked at the end 
> of the session regarding 
> REST and GWT the answer was also suspect...
> 
> I think this link will take you to the session ..forward to the end...
>  https://developers.google.com/events/io/sessions/gooio2012/121/
> 
> 
> 
> 
> 
> On Friday, June 22, 2012 1:54:29 PM UTC-4, Daniel Kurka wrote:
> I can assure you (since I am deeply invested in GWT) that GWT is in no way of 
> being phased out. The main reason is the amount of other talks (android, 
> google+) being added to the conference, reducing talk time for everyone else.
> As Thomas said before there is something big coming for GWT which will be 
> announced in Rays talk at IO.
> 
> There are a lot of google products relying on GWT which is not something that 
> you could change in a short amount of time. Dart may be an interesting 
> project, but it is not going to change the way google currently depends on 
> GWT (at least not in the next years).
> 
> The fact that the GWT team is looking for team members on the google 
> employment list should also put you in the direction that this is no where 
> near dead.
> 
> So hopefully as a contributer to the project I can calm you nerves a little.
> 
> -Daniel
> 
> 
> 
> 
> 
> 
> Am 19.06.2012 um 19:29 schrieb Thomas Lefort:
> 
>> https://groups.google.com/forum/?fromgroups#!topic/Google-Web-Toolkit-Employment/NJmWmKsXQlI
>> 
>> sounds pretty healthy to me :)
>> 
>> I bet competition will be fierce!
>> 
>> 
>> On Thursday, 17 May 2012 08:00:00 UTC+2, Celinio Fernandes wrote:
>> Hello,
>> I just noticed that the schedule for Google IO 2012 is now available : 
>> https://developers.google.com/events/io/sessions
>> Not sure whether it is definitive or not.
>> I see that this year there is no session dedicated to GWT. How come ? 
>> But there are 2 sessions dedicated to Dart. Is this a sign ?
>> 
>> 
>> 
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google Web Toolkit" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/google-web-toolkit/-/m0up22vaGNoJ.
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> google-web-toolkit+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-web-toolkit?hl=en.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/google-web-toolkit/-/Jh2IrAfsH8MJ.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-07-06 Thread Kevin Moore
Thomas,
Thanks for your comments, very nsightful. It was not my intention to
compare jsp/appengime to gwt but rather to the RPC portion of gwt .

With appengine I have the flexibility of many of ux approaches., but now I
am excited about creating a services based approach to my product giving
the flexibility of different client side solution on the same core logic.

However it  was  easier to ramp my team up and keep them motivated in the
tech, with gwt

I too felt the Google wave pinch!

We will see, thanks
On Jul 6, 2012 6:54 PM, "Thomas Broyer"  wrote:

>
>
> On Saturday, July 7, 2012 1:46:24 AM UTC+2, Murray wrote:
>>
>> Thomas,
>>
>> The uncertainty spooks me just a little, since the rumors started I have
>> been going over in my head what
>> It would take to retool my existing app to a
>> Jsp/appengine app, and so far I like what I am thinking, especially given
>> the new Rest features announced at IO.
>>
>> What are your thoughts on appengine vs gwt, to be honest I trust Google
>> more than the community.
>>
> To me, comparing JSP/AppEngine with GWT is like comparing Ruby on Rails
> with jQuery (minus the GWT-RPC/RequestFactory features/protocols).
> GWT is a client-side tool, JSP/AppEngine is a server-side platform,
> they're not comparable.
>
> All the apps I've made or seen made with GWT could have been done with
> something else (jQuery, Closure, etc. on the client-side; Java, .NET,
> Rails, PHP, etc. on the server-side). GWT is just a tool, it definitely
> *is* replaceable. The difference will be the level of tooling, and your
> tastes. Technically, GMail could have been built with GWT, just like Groups
> could have been built with Closure.
>
> Given the "spring cleanings" and pricing changes done by Google on their
> services and APIs, I'm not sure they're that much worried about "saving
> face" and fainting they're not abandoning GWT if that's what they actually
> do (they invested during 5 years before Wave was made public, they had
> partners who started building business around Wave, and they shut it down
> after 2 years with no replacement –Apache Wave is far from providing all
> that Google Wave had– they could very well have announced that they'd
> switch to another tool for their apps at the time they announced they'll
> close their Atlanta offices, that'd have been the perfect timing). Of
> course I could be wrong; I pray I'm not (there are many signs of health for
> "GWT at Google" though, despite the recent hard blows).
>
> If you think you'd better switch to something else, go with it; GWT is not
> a one-size-fits-all tool, such a thing does not exist.
>
> As for the Google Cloud Endpoints; they look really great, and yes, go
> with it if your needs and requirements fit their constraints. Otherwise,
> well, I bet there will be equivalents that are not tied to AppEngine,
> and/or with other features or constraints. These are inspired by JAX-RS, or
> RequestFactory, or SOAP, with slightly different characteristics (generates
> JS and ObjC clients contrary to the Java-centric approach of
> RequestFactory, but without batching and "identity" –EntityProxy–, with
> JSON discovery contrary to SOAP's WSDL, but similarly to Swagger or
> Flatpack).
> And if you wonder, there will probably be a Google Cloud Endpoint client
> for GWT, if not already, as https://code.google.com/apis/console/ and
> https://developers.google.com/apis-explorer/#p/ are GWT apps.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/r_3akFDq3ZcJ.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-07-06 Thread Thomas Broyer


On Saturday, July 7, 2012 1:46:24 AM UTC+2, Murray wrote:
>
> Thomas,
>
> The uncertainty spooks me just a little, since the rumors started I have 
> been going over in my head what
> It would take to retool my existing app to a
> Jsp/appengine app, and so far I like what I am thinking, especially given 
> the new Rest features announced at IO.
>
> What are your thoughts on appengine vs gwt, to be honest I trust Google 
> more than the community.
>
To me, comparing JSP/AppEngine with GWT is like comparing Ruby on Rails 
with jQuery (minus the GWT-RPC/RequestFactory features/protocols).
GWT is a client-side tool, JSP/AppEngine is a server-side platform, they're 
not comparable.

All the apps I've made or seen made with GWT could have been done with 
something else (jQuery, Closure, etc. on the client-side; Java, .NET, 
Rails, PHP, etc. on the server-side). GWT is just a tool, it definitely 
*is* replaceable. The difference will be the level of tooling, and your 
tastes. Technically, GMail could have been built with GWT, just like Groups 
could have been built with Closure.
 
Given the "spring cleanings" and pricing changes done by Google on their 
services and APIs, I'm not sure they're that much worried about "saving 
face" and fainting they're not abandoning GWT if that's what they actually 
do (they invested during 5 years before Wave was made public, they had 
partners who started building business around Wave, and they shut it down 
after 2 years with no replacement –Apache Wave is far from providing all 
that Google Wave had– they could very well have announced that they'd 
switch to another tool for their apps at the time they announced they'll 
close their Atlanta offices, that'd have been the perfect timing). Of 
course I could be wrong; I pray I'm not (there are many signs of health for 
"GWT at Google" though, despite the recent hard blows).

If you think you'd better switch to something else, go with it; GWT is not 
a one-size-fits-all tool, such a thing does not exist.

As for the Google Cloud Endpoints; they look really great, and yes, go with 
it if your needs and requirements fit their constraints. Otherwise, well, I 
bet there will be equivalents that are not tied to AppEngine, and/or with 
other features or constraints. These are inspired by JAX-RS, or 
RequestFactory, or SOAP, with slightly different characteristics (generates 
JS and ObjC clients contrary to the Java-centric approach of 
RequestFactory, but without batching and "identity" –EntityProxy–, with 
JSON discovery contrary to SOAP's WSDL, but similarly to Swagger or 
Flatpack).
And if you wonder, there will probably be a Google Cloud Endpoint client 
for GWT, if not already, as https://code.google.com/apis/console/ and 
https://developers.google.com/apis-explorer/#p/ are GWT apps.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/r_3akFDq3ZcJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-07-06 Thread kritic
Let's not forget that GWT means Google Web Toolkit. The name itself does 
not necessarily mean, "stick with java only". There could conceivably be 
other languages introduced to it. It would make sense if the fragmentation 
that is Google's dev tools be packaged into Google Web Toolkit. I wouldn't 
be surprised to see Dart become the newest addition to GWT. Judging by the 
talks at I/O, it looks like Dart is the future. The java end of it probably 
won't be deprecated but will most likely be talked about less and less with 
new tutorials focusing on dart. 

Either way, speculation.. Businesses deny and deny until the end.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/AY8jgxPb9qsJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-07-06 Thread Kevin Moore
Thomas,

The uncertainty spooks me just a little, since the rumors started I have
been going over in my head what
It would take to retool my existing app to a
Jsp/appengine app, and so far I like what I am thinking, especially given
the new Rest features announced at IO.

What are your thoughts on appengine vs gwt, to be honest I trust Google
more than the community.

Thanks
On Jul 6, 2012 3:32 PM, "Thomas Broyer"  wrote:

>
>
> On Saturday, July 7, 2012 12:15:21 AM UTC+2, nino wrote:
>>
>> That links is dead Thomas :)
>>
>
> Ghaa, of course: code.google.com, not www.google.com ;-)
> Introductory message with correct link at
> https://plus.google.com/109697072684132989725/posts/WwRaBNhJAch
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/k9A5WlJxdJYJ.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-07-06 Thread Thomas Broyer


On Saturday, July 7, 2012 12:15:21 AM UTC+2, nino wrote:
>
> That links is dead Thomas :)
>

Ghaa, of course: code.google.com, not www.google.com ;-)
Introductory message with correct link at 
https://plus.google.com/109697072684132989725/posts/WwRaBNhJAch

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/k9A5WlJxdJYJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-07-06 Thread Alain Ekambi
That links is dead Thomas :)

2012/7/7 Thomas Broyer 

>
>
> On Friday, July 6, 2012 11:46:00 PM UTC+2, Murray wrote:
>>
>> Jim,
>> Thanks for the reply and links, I never noticed Rays session on the list,
>> then I again.. the sessions  were being constantly updated anyways...
>> Wish I had gone to that one
>>
>
> Also, we've been in close touch with Ray recently (the Steering Committee;
> by mail, chat, and conferences on the phone –which are fun to plan when
> spanning Europe and the US 'til California ;-) )  and the news are good.
> The reason Google opens GWT is that they don't have the resources to
> handle the community's need/pressure (the priority, understandably, always
> was on their own internal needs first); the goal is to share the resources
> and responsibilities with others (among which "big players" like
> RedHat/JBoss, Sencha and Vaadin, and smaller ones like ArcBees; see Ray's
> slides for the full list).
>
> If you're not yet aware, before you learn it from uninformed sources: yes,
> Google Atlanta engineering offices are closing, so the original GWT Team is
> shut down. Dev already started shifting to Mountain View, CA (where Ray
> Ryan worked until last fall, and Ray Cromwell is, among others), but there
> will probably be some blurry moment this summer as things settle down
> (sources will also be moving from "internally developed within Google and
> mirrored to the public SVN" to "openly developed on Git and mirrored within
> Google".
> So yes, expect some "blurry moment" this summer, but news are good.
>
> (BTW, the Atlanta-based GWT Team worked that last year on building a
> collaborative IDE they just open-sourced before closing the doors:
> http://www.google.com/p/collide )
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/HEO-6L17uxcJ.
>
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-07-06 Thread Thomas Broyer


On Friday, July 6, 2012 11:46:00 PM UTC+2, Murray wrote:
>
> Jim,
> Thanks for the reply and links, I never noticed Rays session on the list,
> then I again.. the sessions  were being constantly updated anyways... Wish 
> I had gone to that one
>

Also, we've been in close touch with Ray recently (the Steering Committee; 
by mail, chat, and conferences on the phone –which are fun to plan when 
spanning Europe and the US 'til California ;-) )  and the news are good.
The reason Google opens GWT is that they don't have the resources to handle 
the community's need/pressure (the priority, understandably, always was on 
their own internal needs first); the goal is to share the resources and 
responsibilities with others (among which "big players" like RedHat/JBoss, 
Sencha and Vaadin, and smaller ones like ArcBees; see Ray's slides for the 
full list).

If you're not yet aware, before you learn it from uninformed sources: yes, 
Google Atlanta engineering offices are closing, so the original GWT Team is 
shut down. Dev already started shifting to Mountain View, CA (where Ray 
Ryan worked until last fall, and Ray Cromwell is, among others), but there 
will probably be some blurry moment this summer as things settle down 
(sources will also be moving from "internally developed within Google and 
mirrored to the public SVN" to "openly developed on Git and mirrored within 
Google".
So yes, expect some "blurry moment" this summer, but news are good.

(BTW, the Atlanta-based GWT Team worked that last year on building a 
collaborative IDE they just open-sourced before closing the doors: 
http://www.google.com/p/collide )

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/HEO-6L17uxcJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-07-06 Thread Murray
Jim,
Thanks for the reply and links, I never noticed Rays session on the list,
then I again.. the sessions  were being constantly updated anyways... Wish 
I had gone to that one


On Friday, July 6, 2012 4:37:48 PM UTC-4, Jim Douglas wrote:
>
> Murray: 
>
> https://developers.google.com/events/io/sessions/gooio2012/218/ 
>
>
> https://docs.google.com/a/basis.com/presentation/d/1pC9WK80-fzIs2iMQOO3Jsvfmqv2erI9xucuF3lHOE7Q/edit?pli=1#slide=id.p18
>  
>
>
> http://www.infoworld.com/d/application-development/google-hands-over-control-of-google-web-toolkit-steering-committee-196753
>  
>
> On Jul 6, 1:04 pm, Murray  wrote: 
> > Daniel, 
> > 
> > I was at Google I/O last week and decided ask for myself.. the responses 
> I 
> > got, was NOT good 
> > I flat out asked one Googler, working a developer "bar" in the main 
> lobby 
> >  (not sure what team he was on) 
> > "..should I continue my project that's not yet released, in GWT or 
> what..?" 
> > and he appeared to be reluctant 
> > to say...suggesting that something was up! he then went on to say he 
> would 
> > change it to DART as it 
> > is not yet a complete standard So then I asked "..what about 
> > JSP/Appengine or Python?"  and with a big Grin 
> > on if face he shuck his head affirmatively violently ... as if to say 
> > he doesn't want it to be said that "he told me so" 
> > 
> > right now we need some GWT folks to step up and say something 
> definitive!!! 
> >  this "rumor" has been going around for 
> > a while now.. and there were no Sessions on GWT at the IO2012 other than 
> > Porting GWT to DART !!! 
> > 
> > I went to a session on Appengine /REST and a a question was asked at the 
> > end of the session regarding 
> > REST and GWT the answer was also suspect... 
> > 
> > I think this link will take you to the session ..forward to the end... 
> >  https://developers.google.com/events/io/sessions/gooio2012/121/ 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > On Friday, June 22, 2012 1:54:29 PM UTC-4, Daniel Kurka wrote: 
> > 
> > > I can assure you (since I am deeply invested in GWT) that GWT is in no 
> way 
> > > of being phased out. The main reason is the amount of other talks 
> (android, 
> > > google+) being added to the conference, reducing talk time for 
> everyone 
> > > else. 
> > > As Thomas said before there is something big coming for GWT which will 
> be 
> > > announced in Rays talk at IO. 
> > 
> > > There are a lot of google products relying on GWT which is not 
> something 
> > > that you could change in a short amount of time. Dart may be an 
> interesting 
> > > project, but it is not going to change the way google currently 
> depends on 
> > > GWT (at least not in the next years). 
> > 
> > > The fact that the GWT team is looking for team members on the google 
> > > employment list should also put you in the direction that this is no 
> where 
> > > near dead. 
> > 
> > > So hopefully as a contributer to the project I can calm you nerves a 
> > > little. 
> > 
> > > -Daniel 
> > 
> > > Am 19.06.2012 um 19:29 schrieb Thomas Lefort: 
> > 
> > >https://groups.google.com/forum/?fromgroups#!topic/Google-Web-Toolkit... 
>
> > 
> > > sounds pretty healthy to me :) 
> > 
> > > I bet competition will be fierce! 
> > 
> > > On Thursday, 17 May 2012 08:00:00 UTC+2, Celinio Fernandes wrote: 
> > 
> > >> Hello, 
> > >> I just noticed that the schedule for Google IO 2012 is now available 
> : 
> > >>https://developers.google.com/events/io/sessions 
> > >> Not sure whether it is definitive or not. 
> > >> I see that this year there is no session dedicated to GWT. How come ? 
> > >> But there are 2 sessions dedicated to Dart. Is this a sign ? 
> > 
> > > -- 
> > > You received this message because you are subscribed to the Google 
> Groups 
> > > "Google Web Toolkit" group. 
> > > To view this discussion on the web visit 
> > >https://groups.google.com/d/msg/google-web-toolkit/-/m0up22vaGNoJ. 
> > > To post to this group, send email to 
> google-web-toolkit@googlegroups.com. 
> > > To unsubscribe from this group, send email to 
> > > google-web-toolkit+unsubscr...@googlegroups.com. 
> > > For more options, visit this group at 
> > >http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/htNVO_fz6EkJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-07-06 Thread Thomas Broyer


On Friday, July 6, 2012 10:37:48 PM UTC+2, Jim Douglas wrote:
>
> Murray: 
>
> https://developers.google.com/events/io/sessions/gooio2012/218/ 
>
>
> https://docs.google.com/a/basis.com/presentation/d/1pC9WK80-fzIs2iMQOO3Jsvfmqv2erI9xucuF3lHOE7Q/edit?pli=1#slide=id.p18
>  
>
>
> http://www.infoworld.com/d/application-development/google-hands-over-control-of-google-web-toolkit-steering-committee-196753
>  
>

And 
also: 
https://groups.google.com/d/topic/google-web-toolkit-employment/NJmWmKsXQlI/discussion

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/zazoaVyJ90wJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-07-06 Thread Jim Douglas
Murray:

https://developers.google.com/events/io/sessions/gooio2012/218/

https://docs.google.com/a/basis.com/presentation/d/1pC9WK80-fzIs2iMQOO3Jsvfmqv2erI9xucuF3lHOE7Q/edit?pli=1#slide=id.p18

http://www.infoworld.com/d/application-development/google-hands-over-control-of-google-web-toolkit-steering-committee-196753

On Jul 6, 1:04 pm, Murray  wrote:
> Daniel,
>
> I was at Google I/O last week and decided ask for myself.. the responses I
> got, was NOT good
> I flat out asked one Googler, working a developer "bar" in the main lobby
>  (not sure what team he was on)
> "..should I continue my project that's not yet released, in GWT or what..?"
> and he appeared to be reluctant
> to say...suggesting that something was up! he then went on to say he would
> change it to DART as it
> is not yet a complete standard So then I asked "..what about
> JSP/Appengine or Python?"  and with a big Grin
> on if face he shuck his head affirmatively violently ... as if to say
> he doesn't want it to be said that "he told me so"
>
> right now we need some GWT folks to step up and say something definitive!!!
>  this "rumor" has been going around for
> a while now.. and there were no Sessions on GWT at the IO2012 other than
> Porting GWT to DART !!!
>
> I went to a session on Appengine /REST and a a question was asked at the
> end of the session regarding
> REST and GWT the answer was also suspect...
>
> I think this link will take you to the session ..forward to the end...
>  https://developers.google.com/events/io/sessions/gooio2012/121/
>
>
>
>
>
>
>
> On Friday, June 22, 2012 1:54:29 PM UTC-4, Daniel Kurka wrote:
>
> > I can assure you (since I am deeply invested in GWT) that GWT is in no way
> > of being phased out. The main reason is the amount of other talks (android,
> > google+) being added to the conference, reducing talk time for everyone
> > else.
> > As Thomas said before there is something big coming for GWT which will be
> > announced in Rays talk at IO.
>
> > There are a lot of google products relying on GWT which is not something
> > that you could change in a short amount of time. Dart may be an interesting
> > project, but it is not going to change the way google currently depends on
> > GWT (at least not in the next years).
>
> > The fact that the GWT team is looking for team members on the google
> > employment list should also put you in the direction that this is no where
> > near dead.
>
> > So hopefully as a contributer to the project I can calm you nerves a
> > little.
>
> > -Daniel
>
> > Am 19.06.2012 um 19:29 schrieb Thomas Lefort:
>
> >https://groups.google.com/forum/?fromgroups#!topic/Google-Web-Toolkit...
>
> > sounds pretty healthy to me :)
>
> > I bet competition will be fierce!
>
> > On Thursday, 17 May 2012 08:00:00 UTC+2, Celinio Fernandes wrote:
>
> >> Hello,
> >> I just noticed that the schedule for Google IO 2012 is now available :
> >>https://developers.google.com/events/io/sessions
> >> Not sure whether it is definitive or not.
> >> I see that this year there is no session dedicated to GWT. How come ?
> >> But there are 2 sessions dedicated to Dart. Is this a sign ?
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To view this discussion on the web visit
> >https://groups.google.com/d/msg/google-web-toolkit/-/m0up22vaGNoJ.
> > To post to this group, send email to google-web-toolkit@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-07-06 Thread Murray
Daniel,

I was at Google I/O last week and decided ask for myself.. the responses I 
got, was NOT good
I flat out asked one Googler, working a developer "bar" in the main lobby 
 (not sure what team he was on) 
"..should I continue my project that's not yet released, in GWT or what..?" 
and he appeared to be reluctant
to say...suggesting that something was up! he then went on to say he would 
change it to DART as it
is not yet a complete standard So then I asked "..what about 
JSP/Appengine or Python?"  and with a big Grin
on if face he shuck his head affirmatively violently ... as if to say 
he doesn't want it to be said that "he told me so"

right now we need some GWT folks to step up and say something definitive!!! 
 this "rumor" has been going around for 
a while now.. and there were no Sessions on GWT at the IO2012 other than 
Porting GWT to DART !!!

I went to a session on Appengine /REST and a a question was asked at the 
end of the session regarding 
REST and GWT the answer was also suspect...

I think this link will take you to the session ..forward to the end...
 https://developers.google.com/events/io/sessions/gooio2012/121/





On Friday, June 22, 2012 1:54:29 PM UTC-4, Daniel Kurka wrote:
>
> I can assure you (since I am deeply invested in GWT) that GWT is in no way 
> of being phased out. The main reason is the amount of other talks (android, 
> google+) being added to the conference, reducing talk time for everyone 
> else.
> As Thomas said before there is something big coming for GWT which will be 
> announced in Rays talk at IO.
>
> There are a lot of google products relying on GWT which is not something 
> that you could change in a short amount of time. Dart may be an interesting 
> project, but it is not going to change the way google currently depends on 
> GWT (at least not in the next years).
>
> The fact that the GWT team is looking for team members on the google 
> employment list should also put you in the direction that this is no where 
> near dead.
>
> So hopefully as a contributer to the project I can calm you nerves a 
> little.
>
> -Daniel
>
>
>
>
>
>
> Am 19.06.2012 um 19:29 schrieb Thomas Lefort:
>
>
> https://groups.google.com/forum/?fromgroups#!topic/Google-Web-Toolkit-Employment/NJmWmKsXQlI
>
> sounds pretty healthy to me :)
>
> I bet competition will be fierce!
>
>
> On Thursday, 17 May 2012 08:00:00 UTC+2, Celinio Fernandes wrote:
>>
>> Hello,
>> I just noticed that the schedule for Google IO 2012 is now available : 
>> https://developers.google.com/events/io/sessions
>> Not sure whether it is definitive or not.
>> I see that this year there is no session dedicated to GWT. How come ? 
>> But there are 2 sessions dedicated to Dart. Is this a sign ?
>>
>>
>>
>>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/google-web-toolkit/-/m0up22vaGNoJ.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/Jh2IrAfsH8MJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-06-22 Thread Daniel Kurka
I can assure you (since I am deeply invested in GWT) that GWT is in no way of 
being phased out. The main reason is the amount of other talks (android, 
google+) being added to the conference, reducing talk time for everyone else.
As Thomas said before there is something big coming for GWT which will be 
announced in Rays talk at IO.

There are a lot of google products relying on GWT which is not something that 
you could change in a short amount of time. Dart may be an interesting project, 
but it is not going to change the way google currently depends on GWT (at least 
not in the next years).

The fact that the GWT team is looking for team members on the google employment 
list should also put you in the direction that this is no where near dead.

So hopefully as a contributer to the project I can calm you nerves a little.

-Daniel






Am 19.06.2012 um 19:29 schrieb Thomas Lefort:

> https://groups.google.com/forum/?fromgroups#!topic/Google-Web-Toolkit-Employment/NJmWmKsXQlI
> 
> sounds pretty healthy to me :)
> 
> I bet competition will be fierce!
> 
> 
> On Thursday, 17 May 2012 08:00:00 UTC+2, Celinio Fernandes wrote:
> Hello,
> I just noticed that the schedule for Google IO 2012 is now available : 
> https://developers.google.com/events/io/sessions
> Not sure whether it is definitive or not.
> I see that this year there is no session dedicated to GWT. How come ? 
> But there are 2 sessions dedicated to Dart. Is this a sign ?
> 
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/google-web-toolkit/-/m0up22vaGNoJ.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-06-19 Thread Thomas Lefort
https://groups.google.com/forum/?fromgroups#!topic/Google-Web-Toolkit-Employment/NJmWmKsXQlI

sounds pretty healthy to me :)

I bet competition will be fierce!


On Thursday, 17 May 2012 08:00:00 UTC+2, Celinio Fernandes wrote:
>
> Hello,
> I just noticed that the schedule for Google IO 2012 is now available : 
> https://developers.google.com/events/io/sessions
> Not sure whether it is definitive or not.
> I see that this year there is no session dedicated to GWT. How come ? 
> But there are 2 sessions dedicated to Dart. Is this a sign ?
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/m0up22vaGNoJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-05-30 Thread Thierry Abaléa
> "something big" is coming (I'm afraid I can't share details, sorry)
I suppose that "something big" does not refer to "Elemental". I think that 
not because it is not big but because Ray Cromwell made the information 
public via his Google+ 
page. 
But you already know it. Even if you think you can't share details perhaps 
you can say that there is something more !?

Thierry Abaléa.

On Thursday, 17 May 2012 12:23:59 UTC+2, Thomas Broyer wrote:
>
>
>
> On Thursday, May 17, 2012 8:00:00 AM UTC+2, Celinio Fernandes wrote:
>>
>> Hello,
>> I just noticed that the schedule for Google IO 2012 is now available : 
>> https://developers.google.com/events/io/sessions
>> Not sure whether it is definitive or not.
>> I see that this year there is no session dedicated to GWT. How come ? 
>> But there are 2 sessions dedicated to Dart. Is this a sign ?
>>
>
> I've been told (by the GWT manager) that they're planning a session about 
> GWT. No worries, GWT is healthy and "something big" is coming (I'm afraid I 
> can't share details, sorry). 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/jXQ2tTgvOM4J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-05-24 Thread kritic

>
> Java is the main language in many enterprise projects and runs on 70% of 
> the mobiles. So no, it won't go away. It is also the main course language 
> for computer science.
>

So what? That doesn't mean it won't be changed to something else. Also, I'm 
not talking about the "enterprise". I'm talking about Google's future 
projects. Google doesn't *have* to stick with Java.

 Dart is not going to be accepted by the other browsers. It is no standard 
> and has no real added value and you can't connect it easily to server side 
> code based on J2EE/EJB3.


You don't know that. Nobody does. It's still very, very early days for 
dart. Personally, I'm not all that excited about it but wouldn't complain 
if it became bigger than it is now. As for connecting it back to server 
side code, I believe you can do server side code with dart also - sorta 
like node.js.

GO, is a quick and hack language for prototyping. It is not going to 
> replace Java or C#.
>

Forgive me, you seem to think I was implying Go was going to replace Java 
or C#. No. I am, however, wondering if it will replace Java *within* 
Google. It certainly has the potential to do so. It is not a hack. Take a 
little glance at who developed the language before saying ridiculous things 
such as that.

GWT, Closure Library, Dart, Native Client can all be summed up into a 
single package. Served as a complete development environment for 
developers. If you want to code in C/C++/C# or whatever language you want, 
it would make sense to bundle Native Client/GWT/Dart/Closure and use 
something like Emscripten to allow the developer to choose how to deploy 
their code. Need performance? Native code (NaCl).. Not so concerned about 
performance? GWT/Dart (javascript). 

Whether or not any of that will happen is a bit question. I think it would 
be pretty nice. We'll see.
 

On Saturday, May 19, 2012 10:17:01 AM UTC-4, de Witte wrote:
>
>
>
> Op zaterdag 19 mei 2012 09:34:24 UTC+2 schreef kritic het volgende:
>>
>> Regardless of what the GWT team says, I do believe GWT as it is now will 
>> be phased out. Don't get me wrong, I think the features that GWT provides 
>> are second to none and the work put into it has been nothing short of 
>> impressive, but it has to be recognized that it is also becoming a rather 
>> pain in lower back for Google simply because it uses Java. Seems odd, but I 
>> really think the whole thing with Android is leaving a bad taste. I really 
>> do think Java will become used less and less for future projects 
>> (especially GWT).
>
>
> Java is the main language in many enterprise projects and runs on 70% of 
> the mobiles. So no, it won't go away. It is also the main course language 
> for computer science.
>
> The way GWT is now, like I wrote already, will probably be shifted to 
>> something else. Dart is all the rage right now and it's nice, however it 
>> almost feels like an attempt to replace GWT. Golang (Go) is another 
>> language that is very well thought out and could conceivably replace Java 
>> within, at least, Google. 
>>
>
> Dart is not going to be accepted by the other browsers. It is no standard 
> and has no real added value and you can't connect it easily to server side 
> code based on J2EE/EJB3. 
>
> GO, is a quick and hack language for prototyping. It is not going to 
> replace Java or C#.
>  
>
>>
>> Perhaps emscripten has been looked at by the GWT team. Perhaps it may be 
>> better to use something like that - which will introduce a mix of languages 
>> with all the same features as GWT? I would enjoy that. I think many would. 
>> Right now, though, I am keeping my distance from GWT. Even though it's a 
>> fantastic technology.
>>
>> On Thursday, May 17, 2012 2:00:00 AM UTC-4, Celinio Fernandes wrote:
>>>
>>> Hello,
>>> I just noticed that the schedule for Google IO 2012 is now available : 
>>> https://developers.google.com/events/io/sessions
>>> Not sure whether it is definitive or not.
>>> I see that this year there is no session dedicated to GWT. How come ? 
>>> But there are 2 sessions dedicated to Dart. Is this a sign ?
>>>
>>>
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/NZJydWH_dXEJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-05-23 Thread Kanagaraj M
The History and Future of Google Web ToolkitRay Cromwell
https://developers.google.com/events/io/sessions/gooio2012/218/

On Thursday, 17 May 2012 11:30:00 UTC+5:30, Celinio Fernandes wrote:
>
> Hello,
> I just noticed that the schedule for Google IO 2012 is now available : 
> https://developers.google.com/events/io/sessions
> Not sure whether it is definitive or not.
> I see that this year there is no session dedicated to GWT. How come ? 
> But there are 2 sessions dedicated to Dart. Is this a sign ?
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/Bv_QbUgZzuUJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-05-23 Thread Kanagaraj M
The History and Future of Google Web Toolkitbyt Ray Cromwell
https://developers.google.com/events/io/sessions/gooio2012/218/

On Thursday, 17 May 2012 11:30:00 UTC+5:30, Celinio Fernandes wrote:
>
> Hello,
> I just noticed that the schedule for Google IO 2012 is now available : 
> https://developers.google.com/events/io/sessions
> Not sure whether it is definitive or not.
> I see that this year there is no session dedicated to GWT. How come ? 
> But there are 2 sessions dedicated to Dart. Is this a sign ?
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/6fxs0dDdTW8J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-05-23 Thread de Witte


Op zaterdag 19 mei 2012 09:34:24 UTC+2 schreef kritic het volgende:
>
> Regardless of what the GWT team says, I do believe GWT as it is now will 
> be phased out. Don't get me wrong, I think the features that GWT provides 
> are second to none and the work put into it has been nothing short of 
> impressive, but it has to be recognized that it is also becoming a rather 
> pain in lower back for Google simply because it uses Java. Seems odd, but I 
> really think the whole thing with Android is leaving a bad taste. I really 
> do think Java will become used less and less for future projects 
> (especially GWT).


Java is the main language in many enterprise projects and runs on 70% of 
the mobiles. So no, it won't go away. It is also the main course language 
for computer science.

The way GWT is now, like I wrote already, will probably be shifted to 
> something else. Dart is all the rage right now and it's nice, however it 
> almost feels like an attempt to replace GWT. Golang (Go) is another 
> language that is very well thought out and could conceivably replace Java 
> within, at least, Google. 
>

Dart is not going to be accepted by the other browsers. It is no standard 
and has no real added value and you can't connect it easily to server side 
code based on J2EE/EJB3. 

GO, is a quick and hack language for prototyping. It is not going to 
replace Java or C#.
 

>
> Perhaps emscripten has been looked at by the GWT team. Perhaps it may be 
> better to use something like that - which will introduce a mix of languages 
> with all the same features as GWT? I would enjoy that. I think many would. 
> Right now, though, I am keeping my distance from GWT. Even though it's a 
> fantastic technology.
>
> On Thursday, May 17, 2012 2:00:00 AM UTC-4, Celinio Fernandes wrote:
>>
>> Hello,
>> I just noticed that the schedule for Google IO 2012 is now available : 
>> https://developers.google.com/events/io/sessions
>> Not sure whether it is definitive or not.
>> I see that this year there is no session dedicated to GWT. How come ? 
>> But there are 2 sessions dedicated to Dart. Is this a sign ?
>>
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/RzMI9-jKiVkJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-05-21 Thread Thomas Broyer


On Sunday, May 20, 2012 12:17:38 PM UTC+2, Andrés Testi wrote:
>
> The session topic is "Migrating code from GWT to Dart"... sorry, but it 
> scares me.


It shouldn't.

Ray Cromwell:

> There are non-published/non-finalized GWT sessions. I am doing one on the 
> GWT 2.5 release and future roadmap.
> The Dart one is just a hobby project, that is, how can you make GWT and 
> Dart code collaborate, what do GWT constructs look like if you write them 
> in Dart. I wouldn't read anything into this anymore than if you saw me do a 
> Scala or Go session.


— Source: https://plus.google.com/115263933340916245640/posts/CtdpmjSuiFW 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/w00ycivmD6gJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-05-21 Thread dominikz
I presume that the next thing we'll be hearing is Ray leaving google or at 
least GWT team!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/9De33uVB22sJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-05-20 Thread Joseph Lust
Wow, Ray Cromwell, the benevolent GWT overlord himself, is the presenter? 
I'm sure he was wild to get the assignment.

Highly suspect, almost enough so to make me want to spend GWT study time 
(a.k.a. weekends) on something else until this is clarified.


Joe

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/-9XYCpZgVZ4J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-05-20 Thread Clint Gilbert
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/19/2012 03:34 AM, kritic wrote:
> Regardless of what the GWT team says, I do believe GWT as it is now
> will be phased out.

I fear you're right.  I get the same feeling, for the reasons you
mentioned.  It's too bad, because Dart, while an improvement over
straight JS, brings - for me - the worst parts of JS (dynamic typing)
and Java (unhelpful verbosity) though with some welcome improvements
to structure-ability and defining anonymous functions.

Scala-GWT is getting quite close to a first release.  It's a long
shot, but I hope it takes off.  Scala is extremely well-suited to
cutting out huge amounts of ui-callback boilerplate without
sacrificing any type-safety.




> Don't get me wrong, I think the features that GWT provides are 
> second to none and the work put into it has been nothing short of
> impressive, but it has to be recognized that it is also becoming a
> rather pain in lower back for Google simply because it uses Java.
> Seems odd, but I really think the whole thing with Android is
> leaving a bad taste. I really do think Java will become used less
> and less for future projects (especially GWT).
> 
> The way GWT is now, like I wrote already, will probably be shifted
> to something else. Dart is all the rage right now and it's nice,
> however it almost feels like an attempt to replace GWT. Golang (Go)
> is another language that is very well thought out and could
> conceivably replace Java within, at least, Google.
> 
> Perhaps emscripten has been looked at by the GWT team. Perhaps it
> may be better to use something like that - which will introduce a
> mix of languages with all the same features as GWT? I would enjoy
> that. I think many would. Right now, though, I am keeping my
> distance from GWT. Even though it's a fantastic technology.
> 
> On Thursday, May 17, 2012 2:00:00 AM UTC-4, Celinio Fernandes
> wrote:
> 
> Hello, I just noticed that the schedule for Google IO 2012 is now
> available : https://developers.google.com/events/io/sessions 
>  Not sure whether
> it is definitive or not. I see that this year there is no session
> dedicated to GWT. How come ? But there are 2 sessions dedicated to
> Dart. Is this a sign ?
> 
> 
> 
> -- You received this message because you are subscribed to the
> Google Groups "Google Web Toolkit" group. To view this discussion
> on the web visit 
> https://groups.google.com/d/msg/google-web-toolkit/-/vNfMwXAhWxcJ. 
> To post to this group, send email to
> google-web-toolkit@googlegroups.com. To unsubscribe from this
> group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com. For more options,
> visit this group at 
> http://groups.google.com/group/google-web-toolkit?hl=en.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk+5Ia4ACgkQ0GFaTS4nYxvqIgCgnsnCT/Ao33GcZXQ39ugiBQKm
cfUAoIMFRYGGsFUUX1OB8rjjJtH8g8v2
=nKad
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-05-20 Thread Wendel
What I can tell is that there is a temporary ''wave" and "buzz" about Dart. 
Great technology but nobody needs it right now.

Business wise it is very expensive to have you team learning a new language 
or framework, so you need a compelling reason.

About the session:

> Curious to learn how to port your GWT code to Dart? In this code lab, we 
> will go over Dart equivalents for various GWT libraries and idioms, 
> techniques for interoperating with existing GWT server backends, and tricks 
> to allow Dart code to talk to existing GWT and Javascript code.
>

Such session only raises one question, why? 

Have a look at the video http://www.youtube.com/watch?v=E80DLSyGBgc

The guy is not answering the question.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/c9jRTEcBqyYJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-05-20 Thread Roger Studner
There is a "wave" and a "buzz" about GWT I jus can't put my finger on.



Roger

On May 20, 2012, at 6:17 AM, Andrés Testi wrote:

> The session topic is "Migrating code from GWT to Dart"... sorry, but it 
> scares me.
> 
> - Andrés
> 
> El domingo, 20 de mayo de 2012 07:09:11 UTC-3, dflorey escribió:
> Yeah, the first GWT session just arrived:
> https://developers.google.com/events/io/sessions/gooio2012/1414/
> 
> ;-)
> 
> On Thursday, May 17, 2012 12:23:59 PM UTC+2, Thomas Broyer wrote:
> 
> 
> On Thursday, May 17, 2012 8:00:00 AM UTC+2, Celinio Fernandes wrote:
> Hello,
> I just noticed that the schedule for Google IO 2012 is now available : 
> https://developers.google.com/events/io/sessions
> Not sure whether it is definitive or not.
> I see that this year there is no session dedicated to GWT. How come ? 
> But there are 2 sessions dedicated to Dart. Is this a sign ?
> 
> I've been told (by the GWT manager) that they're planning a session about 
> GWT. No worries, GWT is healthy and "something big" is coming (I'm afraid I 
> can't share details, sorry). 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/google-web-toolkit/-/QzLO5yCrTwMJ.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-05-20 Thread Dennis Haupt
that's not something big. something big would be "hey, we can now
compile to javascript AND dart. and we're 10x faster since 2.4."

Am 20.05.2012 12:17, schrieb Andrés Testi:
> The session topic is "Migrating code from GWT to Dart"... sorry, but it
> scares me.
> 
> - Andrés
> 
> El domingo, 20 de mayo de 2012 07:09:11 UTC-3, dflorey escribió:
> 
> Yeah, the first GWT session just arrived:
> https://developers.google.com/events/io/sessions/gooio2012/1414/
> <https://developers.google.com/events/io/sessions/gooio2012/1414/>
> 
> ;-)
> 
> On Thursday, May 17, 2012 12:23:59 PM UTC+2, Thomas Broyer wrote:
> 
> 
> 
> On Thursday, May 17, 2012 8:00:00 AM UTC+2, Celinio Fernandes wrote:
> 
> Hello,
> I just noticed that the schedule for Google IO 2012 is now
> available : https://developers.google.com/events/io/sessions
> <https://developers.google.com/events/io/sessions>
> Not sure whether it is definitive or not.
> I see that this year there is no session dedicated to GWT.
> How come ?
> But there are 2 sessions dedicated to Dart. Is this a sign ?
> 
> 
> I've been told (by the GWT manager) that they're planning a
> session about GWT. No worries, GWT is healthy and "something
> big" is coming (I'm afraid I can't share details, sorry). 
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/QzLO5yCrTwMJ.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.


-- 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-05-20 Thread Andrés Testi
The session topic is "Migrating code from GWT to Dart"... sorry, but it 
scares me.

- Andrés

El domingo, 20 de mayo de 2012 07:09:11 UTC-3, dflorey escribió:
>
> Yeah, the first GWT session just arrived:
> https://developers.google.com/events/io/sessions/gooio2012/1414/
>
> ;-)
>
> On Thursday, May 17, 2012 12:23:59 PM UTC+2, Thomas Broyer wrote:
>>
>>
>>
>> On Thursday, May 17, 2012 8:00:00 AM UTC+2, Celinio Fernandes wrote:
>>>
>>> Hello,
>>> I just noticed that the schedule for Google IO 2012 is now available : 
>>> https://developers.google.com/events/io/sessions
>>> Not sure whether it is definitive or not.
>>> I see that this year there is no session dedicated to GWT. How come ? 
>>> But there are 2 sessions dedicated to Dart. Is this a sign ?
>>>
>>
>> I've been told (by the GWT manager) that they're planning a session about 
>> GWT. No worries, GWT is healthy and "something big" is coming (I'm afraid I 
>> can't share details, sorry). 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/QzLO5yCrTwMJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-05-20 Thread dflorey
Yeah, the first GWT session just arrived:
https://developers.google.com/events/io/sessions/gooio2012/1414/

;-)

On Thursday, May 17, 2012 12:23:59 PM UTC+2, Thomas Broyer wrote:
>
>
>
> On Thursday, May 17, 2012 8:00:00 AM UTC+2, Celinio Fernandes wrote:
>>
>> Hello,
>> I just noticed that the schedule for Google IO 2012 is now available : 
>> https://developers.google.com/events/io/sessions
>> Not sure whether it is definitive or not.
>> I see that this year there is no session dedicated to GWT. How come ? 
>> But there are 2 sessions dedicated to Dart. Is this a sign ?
>>
>
> I've been told (by the GWT manager) that they're planning a session about 
> GWT. No worries, GWT is healthy and "something big" is coming (I'm afraid I 
> can't share details, sorry). 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/eJlEZ2PdNNcJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-05-19 Thread Dimitrijević Ivan
https://developers.google.com/speed/tools 

On Friday, May 18, 2012 10:14:59 PM UTC+2, mihu wrote:
>
> It's ok, I am also interested in why there is no link from the main page 
> of developers.google.com to the GWT pages for the new programmers easy to 
> find it...?
> Michal
>
> W dniu czwartek, 17 maja 2012 18:11:33 UTC+2 użytkownik Joshua Kappon 
> napisał:
>>
>> Great to hear. 
>> On Thursday, May 17, 2012 1:23:59 PM UTC+3, Thomas Broyer wrote: 
>> > On Thursday, May 17, 2012 8:00:00 AM UTC+2, Celinio Fernandes 
>> wrote:> style="margin:0;margin-left:0.8ex;border-left:1px #ccc 
>> solid;padding-left:1ex">Hello, 
>> > I just noticed that the schedule for Google IO 2012 is now available : 
>> https://developers.google.com/events/io/sessions"; 
>> target="_blank">https://developers.google.com/events/io/sessions 
>>
>> > Not sure whether it is definitive or not. 
>> > 
>> > 
>> > I see that this year there is no session dedicated to GWT. How come ? 
>> > But there are 2 sessions dedicated to Dart. Is this a sign ? 
>> >  
>> > 
>> >  
>> > I've been told (by the GWT manager) that they're planning a 
>> session about GWT. No worries, GWT is healthy and "something big" 
>> is coming (I'm afraid I can't share details, sorry).  
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/UwOmFaGQUckJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-05-19 Thread Giuseppe La Scaleia
I don't think this and for me java is the better programming language, so i 
hope that the google team give us a lot of new features for GWT.
Regards

Inviato da iPhone

Il giorno 19/mag/2012, alle ore 09:34, kritic <10wattmindt...@gmail.com> ha 
scritto:

> Regardless of what the GWT team says, I do believe GWT as it is now will be 
> phased out. Don't get me wrong, I think the features that GWT provides are 
> second to none and the work put into it has been nothing short of impressive, 
> but it has to be recognized that it is also becoming a rather pain in lower 
> back for Google simply because it uses Java. Seems odd, but I really think 
> the whole thing with Android is leaving a bad taste. I really do think Java 
> will become used less and less for future projects (especially GWT).
> 
> The way GWT is now, like I wrote already, will probably be shifted to 
> something else. Dart is all the rage right now and it's nice, however it 
> almost feels like an attempt to replace GWT. Golang (Go) is another language 
> that is very well thought out and could conceivably replace Java within, at 
> least, Google. 
> 
> Perhaps emscripten has been looked at by the GWT team. Perhaps it may be 
> better to use something like that - which will introduce a mix of languages 
> with all the same features as GWT? I would enjoy that. I think many would. 
> Right now, though, I am keeping my distance from GWT. Even though it's a 
> fantastic technology.
> 
> On Thursday, May 17, 2012 2:00:00 AM UTC-4, Celinio Fernandes wrote:
> Hello,
> I just noticed that the schedule for Google IO 2012 is now available : 
> https://developers.google.com/events/io/sessions
> Not sure whether it is definitive or not.
> I see that this year there is no session dedicated to GWT. How come ? 
> But there are 2 sessions dedicated to Dart. Is this a sign ?
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/google-web-toolkit/-/vNfMwXAhWxcJ.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-05-19 Thread kritic
Regardless of what the GWT team says, I do believe GWT as it is now will be 
phased out. Don't get me wrong, I think the features that GWT provides are 
second to none and the work put into it has been nothing short of 
impressive, but it has to be recognized that it is also becoming a rather 
pain in lower back for Google simply because it uses Java. Seems odd, but I 
really think the whole thing with Android is leaving a bad taste. I really 
do think Java will become used less and less for future projects 
(especially GWT).

The way GWT is now, like I wrote already, will probably be shifted to 
something else. Dart is all the rage right now and it's nice, however it 
almost feels like an attempt to replace GWT. Golang (Go) is another 
language that is very well thought out and could conceivably replace Java 
within, at least, Google. 

Perhaps emscripten has been looked at by the GWT team. Perhaps it may be 
better to use something like that - which will introduce a mix of languages 
with all the same features as GWT? I would enjoy that. I think many would. 
Right now, though, I am keeping my distance from GWT. Even though it's a 
fantastic technology.

On Thursday, May 17, 2012 2:00:00 AM UTC-4, Celinio Fernandes wrote:
>
> Hello,
> I just noticed that the schedule for Google IO 2012 is now available : 
> https://developers.google.com/events/io/sessions
> Not sure whether it is definitive or not.
> I see that this year there is no session dedicated to GWT. How come ? 
> But there are 2 sessions dedicated to Dart. Is this a sign ?
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/vNfMwXAhWxcJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-05-18 Thread mihu
It's ok, I am also interested in why there is no link from the main page of 
developers.google.com to the GWT pages for the new programmers easy to find 
it...?
Michal

W dniu czwartek, 17 maja 2012 18:11:33 UTC+2 użytkownik Joshua Kappon 
napisał:
>
> Great to hear. 
> On Thursday, May 17, 2012 1:23:59 PM UTC+3, Thomas Broyer wrote: 
> > On Thursday, May 17, 2012 8:00:00 AM UTC+2, Celinio Fernandes 
> wrote: style="margin:0;margin-left:0.8ex;border-left:1px #ccc 
> solid;padding-left:1ex">Hello, 
> > I just noticed that the schedule for Google IO 2012 is now available : 
> https://developers.google.com/events/io/sessions"; 
> target="_blank">https://developers.google.com/events/io/sessions 
> > Not sure whether it is definitive or not. 
> > 
> > 
> > I see that this year there is no session dedicated to GWT. How come ? 
> > But there are 2 sessions dedicated to Dart. Is this a sign ? 
> >  
> > 
> >  
> > I've been told (by the GWT manager) that they're planning a 
> session about GWT. No worries, GWT is healthy and "something big" 
> is coming (I'm afraid I can't share details, sorry).  
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/kfMd9TrWN6oJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-05-17 Thread Joshua Kappon
Great to hear.
On Thursday, May 17, 2012 1:23:59 PM UTC+3, Thomas Broyer wrote:
> On Thursday, May 17, 2012 8:00:00 AM UTC+2, Celinio Fernandes 
> wrote: style="margin:0;margin-left:0.8ex;border-left:1px #ccc 
> solid;padding-left:1ex">Hello,
> I just noticed that the schedule for Google IO 2012 is now available :  href="https://developers.google.com/events/io/sessions"; 
> target="_blank">https://developers.google.com/events/io/sessions
> Not sure whether it is definitive or not.
> 
> 
> I see that this year there is no session dedicated to GWT. How come ? 
> But there are 2 sessions dedicated to Dart. Is this a sign ?
> 
> 
> 
> I've been told (by the GWT manager) that they're planning a session 
> about GWT. No worries, GWT is healthy and "something big" is coming 
> (I'm afraid I can't share details, sorry). 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/KIlMh0vvkcQJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-05-17 Thread Julien Dramaix
>From the Google+ page of  Google Developers :

"The #io12  session and code labs 
schedule is in preview at developers.google.com/io. We'll continue to add 
sessions (as well as a livestream schedule) every week, so keep checking 
back. Let us know in the comments if there's something you're dying to hear 
about!"

It was already the case last year... The sessions for gwt were added later.

Julien

On Thursday, May 17, 2012 1:49:02 PM UTC+2, Dimitrijević Ivan wrote:
>
> I also think that AGENDA is still incomplete.
> You can not find any session regarding Google Closure also.
>
> On Thursday, May 17, 2012 12:23:59 PM UTC+2, Thomas Broyer wrote:
>>
>>
>>
>> On Thursday, May 17, 2012 8:00:00 AM UTC+2, Celinio Fernandes wrote:
>>>
>>> Hello,
>>> I just noticed that the schedule for Google IO 2012 is now available : 
>>> https://developers.google.com/events/io/sessions
>>> Not sure whether it is definitive or not.
>>> I see that this year there is no session dedicated to GWT. How come ? 
>>> But there are 2 sessions dedicated to Dart. Is this a sign ?
>>>
>>
>> I've been told (by the GWT manager) that they're planning a session about 
>> GWT. No worries, GWT is healthy and "something big" is coming (I'm afraid I 
>> can't share details, sorry). 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/SaRbvgLLk0wJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-05-17 Thread Dimitrijević Ivan
I also think that AGENDA is still incomplete.
You can not find any session regarding Google Closure also.

On Thursday, May 17, 2012 12:23:59 PM UTC+2, Thomas Broyer wrote:
>
>
>
> On Thursday, May 17, 2012 8:00:00 AM UTC+2, Celinio Fernandes wrote:
>>
>> Hello,
>> I just noticed that the schedule for Google IO 2012 is now available : 
>> https://developers.google.com/events/io/sessions
>> Not sure whether it is definitive or not.
>> I see that this year there is no session dedicated to GWT. How come ? 
>> But there are 2 sessions dedicated to Dart. Is this a sign ?
>>
>
> I've been told (by the GWT manager) that they're planning a session about 
> GWT. No worries, GWT is healthy and "something big" is coming (I'm afraid I 
> can't share details, sorry). 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/j4qW2YfuhBIJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-05-17 Thread Thomas Broyer


On Thursday, May 17, 2012 8:00:00 AM UTC+2, Celinio Fernandes wrote:
>
> Hello,
> I just noticed that the schedule for Google IO 2012 is now available : 
> https://developers.google.com/events/io/sessions
> Not sure whether it is definitive or not.
> I see that this year there is no session dedicated to GWT. How come ? 
> But there are 2 sessions dedicated to Dart. Is this a sign ?
>

I've been told (by the GWT manager) that they're planning a session about 
GWT. No worries, GWT is healthy and "something big" is coming (I'm afraid I 
can't share details, sorry). 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/FswbQ4rdhF0J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google IO 2012 : no GWT session ?

2012-05-17 Thread Joshua Kappon
On Thursday, May 17, 2012 9:00:00 AM UTC+3, Celinio Fernandes wrote:
> Hello,
> I just noticed that the schedule for Google IO 2012 is now available :  href="https://developers.google.com/events/io/sessions"; 
> target="_blank">https://developers.google.com/events/io/sessions
> Not sure whether it is definitive or not.
> 
> 
> I see that this year there is no session dedicated to GWT. How come ? 
> But there are 2 sessions dedicated to Dart. Is this a sign ?

Troubling news, I thought something big is coming.
Also notice that office hours exist for every api, and product google makes, 
but no gwt time at all.
I hope this will change

On Thursday, May 17, 2012 9:00:00 AM UTC+3, Celinio Fernandes wrote:
> Hello,
> I just noticed that the schedule for Google IO 2012 is now available :  href="https://developers.google.com/events/io/sessions"; 
> target="_blank">https://developers.google.com/events/io/sessions
> Not sure whether it is definitive or not.
> 
> 
> I see that this year there is no session dedicated to GWT. How come ? 
> But there are 2 sessions dedicated to Dart. Is this a sign ?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/3NyNDrPw6qEJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Google IO 2012 : no GWT session ?

2012-05-16 Thread Celinio
Hello,
I just noticed that the schedule for Google IO 2012 is now available :
https://developers.google.com/events/io/sessions
Not sure whether it is definitive or not.
I see that this year there is no session dedicated to GWT. How come ?
But there are 2 sessions dedicated to Dart. Is this a sign ?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT Session/login

2011-06-16 Thread Renato Beserra
1) Got it!

2) That is exactly the file I was looking for.

Now i can test spring security with my own project.

Thank you!



2011/6/16 Juan Pablo Gardella 

> You don't need make mvn package every time, and don't need install.
> You do mvn package one time. Then always mvn jetty:deploy. If you change
> some classes, you must package again. To run in hosted mode, mvn gwt:run.
> But is better run hosted mode inside eclipse.
>
> 1) src/main/resources/import.sql is used to populated the database. JPA
> annotation to generate.
> 2) See 
> WEB-INF/applicationContext-security.xml.
> You can develop a LoginService as wrapper of spring security.
>
> public class LoginService implements ILoginService{
>
> @Inject
> ApplicationContext applicationContext;
>
>
> private Collection getAuthorities() {
> return getAuthorities(SecurityContextHolder.getContext()
>  .getAuthentication());
> }
>
> private Collection getAuthorities(Authentication auth) {
>  Collection roles = new HashSet();
>
> if (auth == null)
>  throw new AuthenticationCredentialsNotFoundException(
> "No Authentication");
>
> Object obj = auth.getPrincipal();
>
> if (obj instanceof UserDetails)
>  roles = ((UserDetails) obj).getAuthorities();
>
> return roles;
>  }
>
>
>
> public String getUserName() {
> return getUserName(SecurityContextHolder.getContext()
>  .getAuthentication());
> }
>
> private String getUserName(Authentication auth) {
>
> if (null == auth)
> throw new AuthenticationCredentialsNotFoundException(
>  "No Authentication");
>
> Object obj = auth.getPrincipal();
>  String username = "";
>
> if (obj instanceof UserDetails)
>  username = ((UserDetails) obj).getUsername();
> else
> username = obj.toString();
>
> return username;
> }
>
> public boolean hasRol(String rol) {
>  for (GrantedAuthority authority : getAuthorities()) {
> if (authority.getAuthority().equals(rol))
>  return true;
> }
> return false;
>  }
>
> public boolean isLogged() {
> Authentication auth = SecurityContextHolder.getContext()
>  .getAuthentication();
> if (auth == null)
> return false;
>  return true;
> }
>
> public void logout() {
>  SecurityContextHolder.getContext().setAuthentication(null);
> }
>
>  private HashSet roles(Authentication
> authentication) {
> HashSet roles = new HashSet();
>  Collection _roles = getAuthorities(authentication);
> for (GrantedAuthority gr : _roles) {
>  roles.add(gr.getAuthority());
> }
> return roles;
>  }
>
> }
>
> Juan
>
> 2011/6/16 Renato Beserra 
>
>> Hi Juan,
>>
>> Thanks again for the example.
>>
>> I managed to run it today, the installation was easy but i have a few
>> questions.
>>
>> 1) Should the database be auto generated and populated?  I am using
>> m2eclipse and I used the following commands:
>>
>> maven install
>> maven package
>> maven package jetty:deploy-war
>>
>> The app is running and i can login but i see no "provincias" nor
>> "partidos", is that right?
>>
>> I didn't got any build errors.
>>
>> 2) It is not clear to me where the login is implemented. I was expecting
>> something like a "login Service" to make the bridge between GWT and
>> spring-security but i didn't find one. Could you explain me how the login is
>> handled?
>>
>> Thanks in advance!
>>
>>
>>
>>
>>
>>
>> 2011/5/27 Juan Pablo Gardella 
>>
>>> Here you are:
>>>
>>> https://bitbucket.org/gardellajuanpablo/gwt-sample/wiki/Home
>>>
>>> If you
>>> have any question ask me :)
>>>
>>> Regards,
>>> Juan
>>>
>>>
>>> 2011/5/27 Renato Beserra 
>>>
 Thanks a lot Juan, it will be very useful!


 2011/5/27 Juan Pablo Gardella 

> Yes is easy and powerfull. I'll make a sample and share to you.
>
>
>
> 2011/5/27 Renato Beserra 
>
>> Do you know if the integration is easy? I searched the web and found
>> some examples but they seem complex. Basically, i need to check some
>> permissions in the database given a session and a user id. Do you think 
>> that
>> Spring is suitable for that situation?
>>
>> Thanks Juan!
>>
>>
>> 2011/5/26 Juan Pablo Gardella 
>>
>>> Use a framework to manage security concern, for example Spring
>>> Security. This framework use HttpSession for example
>>>
>>> 2011/5/26 Renato Beserra 
>>>
 Hey guys,

 I am developing a GWT application that requires login and I am using
 GWT RPC. I implemented a simple login/session feature that is handled 
 with
 calls to the database to verify the authenticity of the session ID.

 I know that this is not efficient, but i am hesitating to use
 HTTPSession because i didn't find good information about its use with 
 GWT.

 So, my question is: Should I use HTTPSession? I have the feeling
 that ever

Re: GWT Session/login

2011-06-16 Thread Juan Pablo Gardella
You don't need make mvn package every time, and don't need install.
You do mvn package one time. Then always mvn jetty:deploy. If you change
some classes, you must package again. To run in hosted mode, mvn gwt:run.
But is better run hosted mode inside eclipse.

1) src/main/resources/import.sql is used to populated the database. JPA
annotation to generate.
2) See 
WEB-INF/applicationContext-security.xml.
You can develop a LoginService as wrapper of spring security.

public class LoginService implements ILoginService{

@Inject
ApplicationContext applicationContext;


private Collection getAuthorities() {
return getAuthorities(SecurityContextHolder.getContext()
.getAuthentication());
}

private Collection getAuthorities(Authentication auth) {
Collection roles = new HashSet();

if (auth == null)
throw new AuthenticationCredentialsNotFoundException(
"No Authentication");

Object obj = auth.getPrincipal();

if (obj instanceof UserDetails)
roles = ((UserDetails) obj).getAuthorities();

return roles;
}



public String getUserName() {
return getUserName(SecurityContextHolder.getContext()
.getAuthentication());
}

private String getUserName(Authentication auth) {

if (null == auth)
throw new AuthenticationCredentialsNotFoundException(
"No Authentication");

Object obj = auth.getPrincipal();
String username = "";

if (obj instanceof UserDetails)
username = ((UserDetails) obj).getUsername();
else
username = obj.toString();

return username;
}

public boolean hasRol(String rol) {
for (GrantedAuthority authority : getAuthorities()) {
if (authority.getAuthority().equals(rol))
return true;
}
return false;
}

public boolean isLogged() {
Authentication auth = SecurityContextHolder.getContext()
.getAuthentication();
if (auth == null)
return false;
return true;
}

public void logout() {
SecurityContextHolder.getContext().setAuthentication(null);
}

private HashSet roles(Authentication authentication)
{
HashSet roles = new HashSet();
Collection _roles = getAuthorities(authentication);
for (GrantedAuthority gr : _roles) {
roles.add(gr.getAuthority());
}
return roles;
}

}

Juan

2011/6/16 Renato Beserra 

> Hi Juan,
>
> Thanks again for the example.
>
> I managed to run it today, the installation was easy but i have a few
> questions.
>
> 1) Should the database be auto generated and populated?  I am using
> m2eclipse and I used the following commands:
>
> maven install
> maven package
> maven package jetty:deploy-war
>
> The app is running and i can login but i see no "provincias" nor
> "partidos", is that right?
>
> I didn't got any build errors.
>
> 2) It is not clear to me where the login is implemented. I was expecting
> something like a "login Service" to make the bridge between GWT and
> spring-security but i didn't find one. Could you explain me how the login is
> handled?
>
> Thanks in advance!
>
>
>
>
>
>
> 2011/5/27 Juan Pablo Gardella 
>
>> Here you are:
>>
>> https://bitbucket.org/gardellajuanpablo/gwt-sample/wiki/Home
>>
>> If you have
>> any question ask me :)
>>
>> Regards,
>> Juan
>>
>>
>> 2011/5/27 Renato Beserra 
>>
>>> Thanks a lot Juan, it will be very useful!
>>>
>>>
>>> 2011/5/27 Juan Pablo Gardella 
>>>
 Yes is easy and powerfull. I'll make a sample and share to you.



 2011/5/27 Renato Beserra 

> Do you know if the integration is easy? I searched the web and found
> some examples but they seem complex. Basically, i need to check some
> permissions in the database given a session and a user id. Do you think 
> that
> Spring is suitable for that situation?
>
> Thanks Juan!
>
>
> 2011/5/26 Juan Pablo Gardella 
>
>> Use a framework to manage security concern, for example Spring
>> Security. This framework use HttpSession for example
>>
>> 2011/5/26 Renato Beserra 
>>
>>> Hey guys,
>>>
>>> I am developing a GWT application that requires login and I am using
>>> GWT RPC. I implemented a simple login/session feature that is handled 
>>> with
>>> calls to the database to verify the authenticity of the session ID.
>>>
>>> I know that this is not efficient, but i am hesitating to use
>>> HTTPSession because i didn't find good information about its use with 
>>> GWT.
>>>
>>> So, my question is: Should I use HTTPSession? I have the feeling that
>>> everything would stay only at memory and that could make the application
>>> less robust.
>>>
>>> I have concerns regarding security so I intend to use a HTTPS
>>> connection. Is that enough to prevent forged requests?
>>>
>>> I am just getting started with web development, so any links and
>>> explanations would be very useful.
>>>
>>> I already looked the following links about this subject:

Re: GWT Session/login

2011-06-16 Thread Renato Beserra
Hi Juan,

Thanks again for the example.

I managed to run it today, the installation was easy but i have a few
questions.

1) Should the database be auto generated and populated?  I am using
m2eclipse and I used the following commands:

maven install
maven package
maven package jetty:deploy-war

The app is running and i can login but i see no "provincias" nor "partidos",
is that right?

I didn't got any build errors.

2) It is not clear to me where the login is implemented. I was expecting
something like a "login Service" to make the bridge between GWT and
spring-security but i didn't find one. Could you explain me how the login is
handled?

Thanks in advance!






2011/5/27 Juan Pablo Gardella 

> Here you are:
>
> https://bitbucket.org/gardellajuanpablo/gwt-sample/wiki/Home
>
> If you have
> any question ask me :)
>
> Regards,
> Juan
>
>
> 2011/5/27 Renato Beserra 
>
>> Thanks a lot Juan, it will be very useful!
>>
>>
>> 2011/5/27 Juan Pablo Gardella 
>>
>>> Yes is easy and powerfull. I'll make a sample and share to you.
>>>
>>>
>>>
>>> 2011/5/27 Renato Beserra 
>>>
 Do you know if the integration is easy? I searched the web and found
 some examples but they seem complex. Basically, i need to check some
 permissions in the database given a session and a user id. Do you think 
 that
 Spring is suitable for that situation?

 Thanks Juan!


 2011/5/26 Juan Pablo Gardella 

> Use a framework to manage security concern, for example Spring
> Security. This framework use HttpSession for example
>
> 2011/5/26 Renato Beserra 
>
>> Hey guys,
>>
>> I am developing a GWT application that requires login and I am using
>> GWT RPC. I implemented a simple login/session feature that is handled 
>> with
>> calls to the database to verify the authenticity of the session ID.
>>
>> I know that this is not efficient, but i am hesitating to use
>> HTTPSession because i didn't find good information about its use with 
>> GWT.
>>
>> So, my question is: Should I use HTTPSession? I have the feeling that
>> everything would stay only at memory and that could make the application
>> less robust.
>>
>> I have concerns regarding security so I intend to use a HTTPS
>> connection. Is that enough to prevent forged requests?
>>
>> I am just getting started with web development, so any links and
>> explanations would be very useful.
>>
>> I already looked the following links about this subject:
>>
>>
>> http://groups.google.com/group/Google-Web-Toolkit/web/security-for-gwt-applications?pli=1
>>
>>
>> http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ
>>
>>
>> Thanks in advance!
>>
>> --
>> Renato Beserra Sousa
>> Brazil
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Google Web Toolkit" group.
>> To post to this group, send email to
>> google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Google Web Toolkit" group.
> To post to this group, send email to
> google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>



 --
 Renato Beserra Sousa

 --
 You received this message because you are subscribed to the Google
 Groups "Google Web Toolkit" group.
 To post to this group, send email to
 google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

>>>
>>>  --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google Web Toolkit" group.
>>> To post to this group, send email to google-web-toolkit@googlegroups.com
>>> .
>>> To unsubscribe from this group, send email to
>>> google-web-toolkit+unsubscr...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>
>>
>>
>>
>> --
>> Renato Beserra Sousa
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit

Re: GWT Session/login

2011-05-27 Thread Renato Beserra
Amazing example! I will work on this next week.

Thank you very much! :)

2011/5/27 Juan Pablo Gardella 

> Here you are:
>
> https://bitbucket.org/gardellajuanpablo/gwt-sample/wiki/Home
>
> If you have
> any question ask me :)
>
> Regards,
> Juan
>
>
> 2011/5/27 Renato Beserra 
>
>> Thanks a lot Juan, it will be very useful!
>>
>>
>> 2011/5/27 Juan Pablo Gardella 
>>
>>> Yes is easy and powerfull. I'll make a sample and share to you.
>>>
>>>
>>>
>>> 2011/5/27 Renato Beserra 
>>>
 Do you know if the integration is easy? I searched the web and found
 some examples but they seem complex. Basically, i need to check some
 permissions in the database given a session and a user id. Do you think 
 that
 Spring is suitable for that situation?

 Thanks Juan!


 2011/5/26 Juan Pablo Gardella 

> Use a framework to manage security concern, for example Spring
> Security. This framework use HttpSession for example
>
> 2011/5/26 Renato Beserra 
>
>> Hey guys,
>>
>> I am developing a GWT application that requires login and I am using
>> GWT RPC. I implemented a simple login/session feature that is handled 
>> with
>> calls to the database to verify the authenticity of the session ID.
>>
>> I know that this is not efficient, but i am hesitating to use
>> HTTPSession because i didn't find good information about its use with 
>> GWT.
>>
>> So, my question is: Should I use HTTPSession? I have the feeling that
>> everything would stay only at memory and that could make the application
>> less robust.
>>
>> I have concerns regarding security so I intend to use a HTTPS
>> connection. Is that enough to prevent forged requests?
>>
>> I am just getting started with web development, so any links and
>> explanations would be very useful.
>>
>> I already looked the following links about this subject:
>>
>>
>> http://groups.google.com/group/Google-Web-Toolkit/web/security-for-gwt-applications?pli=1
>>
>>
>> http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ
>>
>>
>> Thanks in advance!
>>
>> --
>> Renato Beserra Sousa
>> Brazil
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Google Web Toolkit" group.
>> To post to this group, send email to
>> google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Google Web Toolkit" group.
> To post to this group, send email to
> google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>



 --
 Renato Beserra Sousa

 --
 You received this message because you are subscribed to the Google
 Groups "Google Web Toolkit" group.
 To post to this group, send email to
 google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

>>>
>>>  --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google Web Toolkit" group.
>>> To post to this group, send email to google-web-toolkit@googlegroups.com
>>> .
>>> To unsubscribe from this group, send email to
>>> google-web-toolkit+unsubscr...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>
>>
>>
>>
>> --
>> Renato Beserra Sousa
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>



-- 
Renato Beserra Sousa

-- 
You received this message because you are s

Re: GWT Session/login

2011-05-27 Thread Juan Pablo Gardella
Here you are:

https://bitbucket.org/gardellajuanpablo/gwt-sample/wiki/Home

If you have
any question ask me :)

Regards,
Juan

2011/5/27 Renato Beserra 

> Thanks a lot Juan, it will be very useful!
>
>
> 2011/5/27 Juan Pablo Gardella 
>
>> Yes is easy and powerfull. I'll make a sample and share to you.
>>
>>
>>
>> 2011/5/27 Renato Beserra 
>>
>>> Do you know if the integration is easy? I searched the web and found some
>>> examples but they seem complex. Basically, i need to check some permissions
>>> in the database given a session and a user id. Do you think that Spring is
>>> suitable for that situation?
>>>
>>> Thanks Juan!
>>>
>>>
>>> 2011/5/26 Juan Pablo Gardella 
>>>
 Use a framework to manage security concern, for example Spring Security.
 This framework use HttpSession for example

 2011/5/26 Renato Beserra 

> Hey guys,
>
> I am developing a GWT application that requires login and I am using
> GWT RPC. I implemented a simple login/session feature that is handled with
> calls to the database to verify the authenticity of the session ID.
>
> I know that this is not efficient, but i am hesitating to use
> HTTPSession because i didn't find good information about its use with GWT.
>
> So, my question is: Should I use HTTPSession? I have the feeling that
> everything would stay only at memory and that could make the application
> less robust.
>
> I have concerns regarding security so I intend to use a HTTPS
> connection. Is that enough to prevent forged requests?
>
> I am just getting started with web development, so any links and
> explanations would be very useful.
>
> I already looked the following links about this subject:
>
>
> http://groups.google.com/group/Google-Web-Toolkit/web/security-for-gwt-applications?pli=1
>
>
> http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ
>
>
> Thanks in advance!
>
> --
> Renato Beserra Sousa
> Brazil
>
> --
> You received this message because you are subscribed to the Google
> Groups "Google Web Toolkit" group.
> To post to this group, send email to
> google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

  --
 You received this message because you are subscribed to the Google
 Groups "Google Web Toolkit" group.
 To post to this group, send email to
 google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

>>>
>>>
>>>
>>> --
>>> Renato Beserra Sousa
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google Web Toolkit" group.
>>> To post to this group, send email to google-web-toolkit@googlegroups.com
>>> .
>>> To unsubscribe from this group, send email to
>>> google-web-toolkit+unsubscr...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>
>
> --
> Renato Beserra Sousa
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT Session/login

2011-05-27 Thread Renato Beserra
Thanks a lot Juan, it will be very useful!

2011/5/27 Juan Pablo Gardella 

> Yes is easy and powerfull. I'll make a sample and share to you.
>
>
>
> 2011/5/27 Renato Beserra 
>
>> Do you know if the integration is easy? I searched the web and found some
>> examples but they seem complex. Basically, i need to check some permissions
>> in the database given a session and a user id. Do you think that Spring is
>> suitable for that situation?
>>
>> Thanks Juan!
>>
>>
>> 2011/5/26 Juan Pablo Gardella 
>>
>>> Use a framework to manage security concern, for example Spring Security.
>>> This framework use HttpSession for example
>>>
>>> 2011/5/26 Renato Beserra 
>>>
 Hey guys,

 I am developing a GWT application that requires login and I am using GWT
 RPC. I implemented a simple login/session feature that is handled with 
 calls
 to the database to verify the authenticity of the session ID.

 I know that this is not efficient, but i am hesitating to use
 HTTPSession because i didn't find good information about its use with GWT.

 So, my question is: Should I use HTTPSession? I have the feeling that
 everything would stay only at memory and that could make the application
 less robust.

 I have concerns regarding security so I intend to use a HTTPS
 connection. Is that enough to prevent forged requests?

 I am just getting started with web development, so any links and
 explanations would be very useful.

 I already looked the following links about this subject:


 http://groups.google.com/group/Google-Web-Toolkit/web/security-for-gwt-applications?pli=1


 http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ


 Thanks in advance!

 --
 Renato Beserra Sousa
 Brazil

 --
 You received this message because you are subscribed to the Google
 Groups "Google Web Toolkit" group.
 To post to this group, send email to
 google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

>>>
>>>  --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google Web Toolkit" group.
>>> To post to this group, send email to google-web-toolkit@googlegroups.com
>>> .
>>> To unsubscribe from this group, send email to
>>> google-web-toolkit+unsubscr...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>
>>
>>
>>
>> --
>> Renato Beserra Sousa
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>



-- 
Renato Beserra Sousa

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT Session/login

2011-05-27 Thread Juan Pablo Gardella
Yes is easy and powerfull. I'll make a sample and share to you.



2011/5/27 Renato Beserra 

> Do you know if the integration is easy? I searched the web and found some
> examples but they seem complex. Basically, i need to check some permissions
> in the database given a session and a user id. Do you think that Spring is
> suitable for that situation?
>
> Thanks Juan!
>
>
> 2011/5/26 Juan Pablo Gardella 
>
>> Use a framework to manage security concern, for example Spring Security.
>> This framework use HttpSession for example
>>
>> 2011/5/26 Renato Beserra 
>>
>>> Hey guys,
>>>
>>> I am developing a GWT application that requires login and I am using GWT
>>> RPC. I implemented a simple login/session feature that is handled with calls
>>> to the database to verify the authenticity of the session ID.
>>>
>>> I know that this is not efficient, but i am hesitating to use HTTPSession
>>> because i didn't find good information about its use with GWT.
>>>
>>> So, my question is: Should I use HTTPSession? I have the feeling that
>>> everything would stay only at memory and that could make the application
>>> less robust.
>>>
>>> I have concerns regarding security so I intend to use a HTTPS connection.
>>> Is that enough to prevent forged requests?
>>>
>>> I am just getting started with web development, so any links and
>>> explanations would be very useful.
>>>
>>> I already looked the following links about this subject:
>>>
>>>
>>> http://groups.google.com/group/Google-Web-Toolkit/web/security-for-gwt-applications?pli=1
>>>
>>>
>>> http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ
>>>
>>>
>>> Thanks in advance!
>>>
>>> --
>>> Renato Beserra Sousa
>>> Brazil
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google Web Toolkit" group.
>>> To post to this group, send email to google-web-toolkit@googlegroups.com
>>> .
>>> To unsubscribe from this group, send email to
>>> google-web-toolkit+unsubscr...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>
>
> --
> Renato Beserra Sousa
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT Session/login

2011-05-27 Thread Renato Beserra
Do you know if the integration is easy? I searched the web and found some
examples but they seem complex. Basically, i need to check some permissions
in the database given a session and a user id. Do you think that Spring is
suitable for that situation?

Thanks Juan!


2011/5/26 Juan Pablo Gardella 

> Use a framework to manage security concern, for example Spring Security.
> This framework use HttpSession for example
>
> 2011/5/26 Renato Beserra 
>
>> Hey guys,
>>
>> I am developing a GWT application that requires login and I am using GWT
>> RPC. I implemented a simple login/session feature that is handled with calls
>> to the database to verify the authenticity of the session ID.
>>
>> I know that this is not efficient, but i am hesitating to use HTTPSession
>> because i didn't find good information about its use with GWT.
>>
>> So, my question is: Should I use HTTPSession? I have the feeling that
>> everything would stay only at memory and that could make the application
>> less robust.
>>
>> I have concerns regarding security so I intend to use a HTTPS connection.
>> Is that enough to prevent forged requests?
>>
>> I am just getting started with web development, so any links and
>> explanations would be very useful.
>>
>> I already looked the following links about this subject:
>>
>>
>> http://groups.google.com/group/Google-Web-Toolkit/web/security-for-gwt-applications?pli=1
>>
>>
>> http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ
>>
>>
>> Thanks in advance!
>>
>> --
>> Renato Beserra Sousa
>> Brazil
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>



-- 
Renato Beserra Sousa

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT Session/login

2011-05-26 Thread Juan Pablo Gardella
Use a framework to manage security concern, for example Spring Security.
This framework use HttpSession for example

2011/5/26 Renato Beserra 

> Hey guys,
>
> I am developing a GWT application that requires login and I am using GWT
> RPC. I implemented a simple login/session feature that is handled with calls
> to the database to verify the authenticity of the session ID.
>
> I know that this is not efficient, but i am hesitating to use HTTPSession
> because i didn't find good information about its use with GWT.
>
> So, my question is: Should I use HTTPSession? I have the feeling that
> everything would stay only at memory and that could make the application
> less robust.
>
> I have concerns regarding security so I intend to use a HTTPS connection.
> Is that enough to prevent forged requests?
>
> I am just getting started with web development, so any links and
> explanations would be very useful.
>
> I already looked the following links about this subject:
>
>
> http://groups.google.com/group/Google-Web-Toolkit/web/security-for-gwt-applications?pli=1
>
> http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ
>
>
> Thanks in advance!
>
> --
> Renato Beserra Sousa
> Brazil
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWT Session/login

2011-05-26 Thread Renato Beserra
Hey guys,

I am developing a GWT application that requires login and I am using GWT
RPC. I implemented a simple login/session feature that is handled with calls
to the database to verify the authenticity of the session ID.

I know that this is not efficient, but i am hesitating to use HTTPSession
because i didn't find good information about its use with GWT.

So, my question is: Should I use HTTPSession? I have the feeling that
everything would stay only at memory and that could make the application
less robust.

I have concerns regarding security so I intend to use a HTTPS connection. Is
that enough to prevent forged requests?

I am just getting started with web development, so any links and
explanations would be very useful.

I already looked the following links about this subject:

http://groups.google.com/group/Google-Web-Toolkit/web/security-for-gwt-applications?pli=1

http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ


Thanks in advance!

-- 
Renato Beserra Sousa
Brazil

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: managing gwt session?

2011-05-23 Thread Tim
Hi Ds,

i also had some trouble concerning gwt sessions. 
I've written down my solution for a user log in scenario using session in my 
blog:

http://tims-tech-blog.blogspot.com/

Hope it'll help.

Regards, Tim

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT Session Handling - user HTTP Session or own solution?

2011-01-17 Thread Miroslav Genov
Sounds well.

Also you can use a cache layer over your database to slow down the latency 
of your database requests. 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWT Session Handling - user HTTP Session or own solution?

2011-01-16 Thread Johannes Stein
Hello,

im thinking about how to handle user-sessions.
As i can remember there is the possibility to use HTTPSession
(Servlet).
Is this recommendable? Or is it a better idea to use an own solution?

Im thinking about storing the session-id in a NoSQL database named
redis.
The session id will be generated on the server-side and holded at the
client side.
For each request the session will be send to the server (rpc-call).
Thats my auth-process.
What do you think?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT Session management regardless of Servlet Container

2010-01-08 Thread Vitaliy Ryabukhin
>> No, it doesn't.
Why it doesn't? How an attacker can obtain and pass our rpc-sessionId?
-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: GWT Session management regardless of Servlet Container

2010-01-04 Thread Sripathi Krishnan
>
> doesn't the first half of my if statement do the same thing as your
> option 1? httpsession.getId().equals(sessionId)

No, it doesn't.
You should read up this article -
http://groups.google.com/group/Google-Web-Toolkit/web/security-for-gwt-applications
.

Assuming a user is logged in to your site (http://mywebsite.com). Now, an
attacker sends a link like http://attacker.com in an email to your user. The
html on attacker.com makes a post request to mywebsite.com.  In the above
scenario, the browser will send the cookie to your website, and
automatically assume that the user is logged in. That's the classical cross
site scripting attack.

The important thing to remember is that the attacker doesn't have access to
the cookie; he is just relying on the fact that the browser will send the
cookie. But if you pass the the session id in your request, things will work
fine. Browser won't automatically send it, and the attacker can't send it
because he doesn't have access to it.

Option (2) works because attacker.com cannot make a XmlHttpRequest (Same
Origin Policy). attacker.com can only use iframes/forms/images etc to make
http requests, none of which can set a custom http header.


--Sri


2010/1/5 Philip Ives 

> doesn't the first half of my if statement do the same thing as your
> option 1? httpsession.getId().equals(sessionId)
>
> I'm assuming all my rpcs take sessionId as a parameter (perhaps there
> is a better way to do this? I'm looking at re-factoring to use the
> command pattern.
>
> when i login the user i pass back the sessionid via rpc to the client
>
>
>
> On Dec 31 2009, 5:25 pm, Sripathi Krishnan
>  wrote:
> > There are two use cases generally need to be solved -
> >
> >1. Verify that the user is logged in.
> >2. Ensure that this isn't a cross-site scripting (XSRF) attack.
> >
> > The code snippet you provide does take care of (1). However, it does not
> > guarantee against (2).
> >
> > There are a couple of ways to take care of XSRF, none of which require
> you
> > to abandon HttpSession.
> >
> >1. Pass the jsessionid cookie value along with each rpc request. On
> the
> >server side, compare the jsessionid from request and from session. If
> they
> >are different, stop processing.
> >This isn't very difficult. You can make a custom RpcRequestBuilder
> class,
> >and append the jsessionid in the URL. The check on the server side is
> >something like this -
> >if (request.getParameter("sessionid").equals(session.getId())) {
> >//everything okay
> >}
> >else {
> >//XSRF
> >}
> >2. Pass a custom, static http header in every RPC request, and check
> for
> >the presence of the header in your RPC Servlet.
> >There is no known way of adding a custom header via any javascript
> code
> >other than a XmlHttpRequest, so this effectively rules out a XSRF. For
> a
> >short time period, GWT had this approach baked into
> RemoteServiceServlet,
> >but it has been removed from the current version. Not sure why they
> removed
> >it.
> >
> > None of the above two approaches forbid the use of container based
> session
> > management. So, if you want to use session management, go ahead and use
> it -
> > but just follow one of the approaches to prevent XSRF.
> >
> > --Sri
> >
> > 2009/12/31 Philip Ives > I've done some searching
> around and I understand the warrants of
> > > stateless applications. However login security always requires some
> > > state.
> >
> > > Of course your application could use  your containers session
> > > management and if your container can replication sessions across
> > > instances all the better.
> >
> > > In some of the session management discussions on the GWT site as well
> > > as these forums there is talk about not relying on your container to
> > > identify the session ID because it could come from the cookie / header
> > > and that has cross site security implications which I follow.
> >
> > > That all said getting the httpsession by context has been deprecated
> > > since 2.1
> >
> > > If you search this group with "session management"  you'll find most
> > > of these discussions.
> >
> > > If I anticipate that my container will handle session replication if i
> > > need it.  Does doing something like this make sense and make sure that
> > > the container's session management is not using the cookie/header, and
> > > if it is, it doesn't matter:
> >
> > > MyServiceImpl extends RemoteServiceServlet implements MyService {
> > >  /** session id is passed in during service call from client.
> > > (perhapps tokenized */
> > > public static getUserBySession(String sessionId) {
> > >   HttpSession httpsession = this.getThreadLocalRequest().getSession
> > > ();
> > >   if (httpsession.getId().equals(sessionId) && (Boolean)
> > > httpsession.getAttribute("Loggedin")) {
> > >   //user is valid and logged in, session id checked against rpc
> > > value.
> >
> > >   }
> >
> > > }
> >
> > > }
> >

Re: GWT Session management regardless of Servlet Container

2010-01-04 Thread Philip Ives
doesn't the first half of my if statement do the same thing as your
option 1? httpsession.getId().equals(sessionId)

I'm assuming all my rpcs take sessionId as a parameter (perhaps there
is a better way to do this? I'm looking at re-factoring to use the
command pattern.

when i login the user i pass back the sessionid via rpc to the client



On Dec 31 2009, 5:25 pm, Sripathi Krishnan
 wrote:
> There are two use cases generally need to be solved -
>
>    1. Verify that the user is logged in.
>    2. Ensure that this isn't a cross-site scripting (XSRF) attack.
>
> The code snippet you provide does take care of (1). However, it does not
> guarantee against (2).
>
> There are a couple of ways to take care of XSRF, none of which require you
> to abandon HttpSession.
>
>    1. Pass the jsessionid cookie value along with each rpc request. On the
>    server side, compare the jsessionid from request and from session. If they
>    are different, stop processing.
>    This isn't very difficult. You can make a custom RpcRequestBuilder class,
>    and append the jsessionid in the URL. The check on the server side is
>    something like this -
>    if (request.getParameter("sessionid").equals(session.getId())) {
>        //everything okay
>    }
>    else {
>        //XSRF
>    }
>    2. Pass a custom, static http header in every RPC request, and check for
>    the presence of the header in your RPC Servlet.
>    There is no known way of adding a custom header via any javascript code
>    other than a XmlHttpRequest, so this effectively rules out a XSRF. For a
>    short time period, GWT had this approach baked into RemoteServiceServlet,
>    but it has been removed from the current version. Not sure why they removed
>    it.
>
> None of the above two approaches forbid the use of container based session
> management. So, if you want to use session management, go ahead and use it -
> but just follow one of the approaches to prevent XSRF.
>
> --Sri
>
> 2009/12/31 Philip Ives > I've done some searching around 
> and I understand the warrants of
> > stateless applications. However login security always requires some
> > state.
>
> > Of course your application could use  your containers session
> > management and if your container can replication sessions across
> > instances all the better.
>
> > In some of the session management discussions on the GWT site as well
> > as these forums there is talk about not relying on your container to
> > identify the session ID because it could come from the cookie / header
> > and that has cross site security implications which I follow.
>
> > That all said getting the httpsession by context has been deprecated
> > since 2.1
>
> > If you search this group with "session management"  you'll find most
> > of these discussions.
>
> > If I anticipate that my container will handle session replication if i
> > need it.  Does doing something like this make sense and make sure that
> > the container's session management is not using the cookie/header, and
> > if it is, it doesn't matter:
>
> > MyServiceImpl extends RemoteServiceServlet implements MyService {
> >  /** session id is passed in during service call from client.
> > (perhapps tokenized */
> > public static getUserBySession(String sessionId) {
> >   HttpSession httpsession = this.getThreadLocalRequest().getSession
> > ();
> >   if (httpsession.getId().equals(sessionId) && (Boolean)
> > httpsession.getAttribute("Loggedin")) {
> >       //user is valid and logged in, session id checked against rpc
> > value.
>
> >   }
>
> > }
>
> > }
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-web-tool...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscr...@googlegroups.com > cr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: GWT Session management regardless of Servlet Container

2010-01-04 Thread Sripathi Krishnan
Sure. You could just a header *x-session-id* and set its value
appropriately. In your servlet, just check if the value matches what you get
from HttpSession object.


--Sri


2010/1/4 Abdullah Shaikh 

> Regarding the 2 option for XSRF, passing a custom, static http header in
> every RPC request, can we pass the jsessionid itself as http header.
>
> - Abdullah
>
>
> On Fri, Jan 1, 2010 at 3:55 AM, Sripathi Krishnan <
> sripathi.krish...@gmail.com> wrote:
>
>> There are two use cases generally need to be solved -
>>
>>1. Verify that the user is logged in.
>>2. Ensure that this isn't a cross-site scripting (XSRF) attack.
>>
>> The code snippet you provide does take care of (1). However, it does not
>> guarantee against (2).
>>
>> There are a couple of ways to take care of XSRF, none of which require you
>> to abandon HttpSession.
>>
>>1. Pass the jsessionid cookie value along with each rpc request. On
>>the server side, compare the jsessionid from request and from session. If
>>they are different, stop processing.
>>This isn't very difficult. You can make a custom RpcRequestBuilder
>>class, and append the jsessionid in the URL. The check on the server side 
>> is
>>something like this -
>>if (request.getParameter("sessionid").equals(session.getId())) {
>>//everything okay
>>}
>>else {
>>//XSRF
>>}
>>2. Pass a custom, static http header in every RPC request, and check
>>for the presence of the header in your RPC Servlet.
>>There is no known way of adding a custom header via any javascript
>>code other than a XmlHttpRequest, so this effectively rules out a XSRF. 
>> For
>>a short time period, GWT had this approach baked into 
>> RemoteServiceServlet,
>>but it has been removed from the current version. Not sure why they 
>> removed
>>it.
>>
>> None of the above two approaches forbid the use of container based session
>> management. So, if you want to use session management, go ahead and use it -
>> but just follow one of the approaches to prevent XSRF.
>>
>>
>> --Sri
>>
>>
>> 2009/12/31 Philip Ives 
>>
>> I've done some searching around and I understand the warrants of
>>> stateless applications. However login security always requires some
>>> state.
>>>
>>> Of course your application could use  your containers session
>>> management and if your container can replication sessions across
>>> instances all the better.
>>>
>>> In some of the session management discussions on the GWT site as well
>>> as these forums there is talk about not relying on your container to
>>> identify the session ID because it could come from the cookie / header
>>> and that has cross site security implications which I follow.
>>>
>>> That all said getting the httpsession by context has been deprecated
>>> since 2.1
>>>
>>> If you search this group with "session management"  you'll find most
>>> of these discussions.
>>>
>>> If I anticipate that my container will handle session replication if i
>>> need it.  Does doing something like this make sense and make sure that
>>> the container's session management is not using the cookie/header, and
>>> if it is, it doesn't matter:
>>>
>>> MyServiceImpl extends RemoteServiceServlet implements MyService {
>>>  /** session id is passed in during service call from client.
>>> (perhapps tokenized */
>>> public static getUserBySession(String sessionId) {
>>>   HttpSession httpsession = this.getThreadLocalRequest().getSession
>>> ();
>>>   if (httpsession.getId().equals(sessionId) && (Boolean)
>>> httpsession.getAttribute("Loggedin")) {
>>>   //user is valid and logged in, session id checked against rpc
>>> value.
>>>
>>>   }
>>>
>>>
>>> }
>>>
>>> }
>>>
>>> --
>>>
>>> You received this message because you are subscribed to the Google Groups
>>> "Google Web Toolkit" group.
>>> To post to this group, send email to google-web-toolkit@googlegroups.com
>>> .
>>> To unsubscribe from this group, send email to
>>> google-web-toolkit+unsubscr...@googlegroups.com
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>
>>>
>>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-tool...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

--

You received this message because you are subscrib

Re: GWT Session management regardless of Servlet Container

2010-01-04 Thread Abdullah Shaikh
Regarding the 2 option for XSRF, passing a custom, static http header in
every RPC request, can we pass the jsessionid itself as http header.

- Abdullah

On Fri, Jan 1, 2010 at 3:55 AM, Sripathi Krishnan <
sripathi.krish...@gmail.com> wrote:

> There are two use cases generally need to be solved -
>
>1. Verify that the user is logged in.
>2. Ensure that this isn't a cross-site scripting (XSRF) attack.
>
> The code snippet you provide does take care of (1). However, it does not
> guarantee against (2).
>
> There are a couple of ways to take care of XSRF, none of which require you
> to abandon HttpSession.
>
>1. Pass the jsessionid cookie value along with each rpc request. On the
>server side, compare the jsessionid from request and from session. If they
>are different, stop processing.
>This isn't very difficult. You can make a custom RpcRequestBuilder
>class, and append the jsessionid in the URL. The check on the server side 
> is
>something like this -
>if (request.getParameter("sessionid").equals(session.getId())) {
>//everything okay
>}
>else {
>//XSRF
>}
>2. Pass a custom, static http header in every RPC request, and check
>for the presence of the header in your RPC Servlet.
>There is no known way of adding a custom header via any javascript code
>other than a XmlHttpRequest, so this effectively rules out a XSRF. For a
>short time period, GWT had this approach baked into RemoteServiceServlet,
>but it has been removed from the current version. Not sure why they removed
>it.
>
> None of the above two approaches forbid the use of container based session
> management. So, if you want to use session management, go ahead and use it -
> but just follow one of the approaches to prevent XSRF.
>
>
> --Sri
>
>
> 2009/12/31 Philip Ives 
>
> I've done some searching around and I understand the warrants of
>> stateless applications. However login security always requires some
>> state.
>>
>> Of course your application could use  your containers session
>> management and if your container can replication sessions across
>> instances all the better.
>>
>> In some of the session management discussions on the GWT site as well
>> as these forums there is talk about not relying on your container to
>> identify the session ID because it could come from the cookie / header
>> and that has cross site security implications which I follow.
>>
>> That all said getting the httpsession by context has been deprecated
>> since 2.1
>>
>> If you search this group with "session management"  you'll find most
>> of these discussions.
>>
>> If I anticipate that my container will handle session replication if i
>> need it.  Does doing something like this make sense and make sure that
>> the container's session management is not using the cookie/header, and
>> if it is, it doesn't matter:
>>
>> MyServiceImpl extends RemoteServiceServlet implements MyService {
>>  /** session id is passed in during service call from client.
>> (perhapps tokenized */
>> public static getUserBySession(String sessionId) {
>>   HttpSession httpsession = this.getThreadLocalRequest().getSession
>> ();
>>   if (httpsession.getId().equals(sessionId) && (Boolean)
>> httpsession.getAttribute("Loggedin")) {
>>   //user is valid and logged in, session id checked against rpc
>> value.
>>
>>   }
>>
>>
>> }
>>
>> }
>>
>> --
>>
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-tool...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: GWT Session management regardless of Servlet Container

2009-12-31 Thread Sripathi Krishnan
There are two use cases generally need to be solved -

   1. Verify that the user is logged in.
   2. Ensure that this isn't a cross-site scripting (XSRF) attack.

The code snippet you provide does take care of (1). However, it does not
guarantee against (2).

There are a couple of ways to take care of XSRF, none of which require you
to abandon HttpSession.

   1. Pass the jsessionid cookie value along with each rpc request. On the
   server side, compare the jsessionid from request and from session. If they
   are different, stop processing.
   This isn't very difficult. You can make a custom RpcRequestBuilder class,
   and append the jsessionid in the URL. The check on the server side is
   something like this -
   if (request.getParameter("sessionid").equals(session.getId())) {
   //everything okay
   }
   else {
   //XSRF
   }
   2. Pass a custom, static http header in every RPC request, and check for
   the presence of the header in your RPC Servlet.
   There is no known way of adding a custom header via any javascript code
   other than a XmlHttpRequest, so this effectively rules out a XSRF. For a
   short time period, GWT had this approach baked into RemoteServiceServlet,
   but it has been removed from the current version. Not sure why they removed
   it.

None of the above two approaches forbid the use of container based session
management. So, if you want to use session management, go ahead and use it -
but just follow one of the approaches to prevent XSRF.


--Sri


2009/12/31 Philip Ives 

> I've done some searching around and I understand the warrants of
> stateless applications. However login security always requires some
> state.
>
> Of course your application could use  your containers session
> management and if your container can replication sessions across
> instances all the better.
>
> In some of the session management discussions on the GWT site as well
> as these forums there is talk about not relying on your container to
> identify the session ID because it could come from the cookie / header
> and that has cross site security implications which I follow.
>
> That all said getting the httpsession by context has been deprecated
> since 2.1
>
> If you search this group with "session management"  you'll find most
> of these discussions.
>
> If I anticipate that my container will handle session replication if i
> need it.  Does doing something like this make sense and make sure that
> the container's session management is not using the cookie/header, and
> if it is, it doesn't matter:
>
> MyServiceImpl extends RemoteServiceServlet implements MyService {
>  /** session id is passed in during service call from client.
> (perhapps tokenized */
> public static getUserBySession(String sessionId) {
>   HttpSession httpsession = this.getThreadLocalRequest().getSession
> ();
>   if (httpsession.getId().equals(sessionId) && (Boolean)
> httpsession.getAttribute("Loggedin")) {
>   //user is valid and logged in, session id checked against rpc
> value.
>
>   }
>
>
> }
>
> }
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




GWT Session management regardless of Servlet Container

2009-12-31 Thread Philip Ives
I've done some searching around and I understand the warrants of
stateless applications. However login security always requires some
state.

Of course your application could use  your containers session
management and if your container can replication sessions across
instances all the better.

In some of the session management discussions on the GWT site as well
as these forums there is talk about not relying on your container to
identify the session ID because it could come from the cookie / header
and that has cross site security implications which I follow.

That all said getting the httpsession by context has been deprecated
since 2.1

If you search this group with "session management"  you'll find most
of these discussions.

If I anticipate that my container will handle session replication if i
need it.  Does doing something like this make sense and make sure that
the container's session management is not using the cookie/header, and
if it is, it doesn't matter:

MyServiceImpl extends RemoteServiceServlet implements MyService {
 /** session id is passed in during service call from client.
(perhapps tokenized */
public static getUserBySession(String sessionId) {
   HttpSession httpsession = this.getThreadLocalRequest().getSession
();
   if (httpsession.getId().equals(sessionId) && (Boolean)
httpsession.getAttribute("Loggedin")) {
   //user is valid and logged in, session id checked against rpc
value.

   }


}

}

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




GWT session management with servlet-filter or with struts

2009-04-29 Thread TomJanssens

Hello,

I am developing one big gwt application with multiple
RemoteServiceServlet. Each remote servlet is responsible for a
different module.

Untill now I used a quick and dirty login mechanism, but now I want to
improve that. I was thinking of using an intercepting filter
(javax.servlet.filter) for it in each RemoteServiceServlet which will
redirect the user to the login page (a different html) when e.g. the
session has timed out.

However this would mean that one or more RPC requests will possibly
not get responded as it is the servlet redirecting to a different
page. Will this have any consequences (e.g. that after a while of time
there are no resources for RPC requests left)?

Now I am a newbie on struts, but I know that it allows you to do quite
easily this kind of login redirections. Would it make a lot of sense
to use struts for this kind of login and redirection. I am not
planning to use struts for anything else.

Of course, any other great ideas are always welcome.

Cheers
Tom
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT Session

2009-04-21 Thread Vagner Araujo

Hi Friends,

http://snipt.net/javagner

Vagner Araujo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT Session

2009-04-21 Thread Salvador Diaz

Hey Professor Vagner,

Why not using google project hosting or http://pastebin.com to post
your code examples and simply link to them in your posts ? It's nearly
impossible to read code in a font face that's not monospaced (not to
mention indentation and syntax highlighting).

I'm sure your code snippets would be much more appreciated that way.
At least I wouldn't have an instantaneous gut reaction to dismiss them
because of the utter torture of reading them without any syntax
highlighting and correct indentation.

Thanks for contributing to the community,

Salvador

On Apr 21, 7:26 am, Vitali Lovich  wrote:
> SessionId is not part of GWT.  It's some class he wrote.  Can't help you
> with that.
>
> All I was saying is that the RPC calls he does are GWT 1.5 style - 1.6 has a
> much cleaner way of doing it.
>
> On Tue, Apr 21, 2009 at 12:22 AM, Arun  wrote:
>
> > Hi Vitali,
>
> > can yolu please explain in detail what u have mentioned over here.
>
> > What should i need to do in order to run the above example? How i will
> > get the SessionId class?
>
> > thanks,
> > Arun.
>
> > On Apr 18, 11:46 am, Vitali Lovich  wrote:
> > > That's also outdated as the RPC is using the old syntax instead of the
> > > much shorter one that uses annotations.
>
> > > On Sat, Apr 18, 2009 at 2:24 AM, Arun  wrote:
>
> > > > hello Vagner,
>
> > > > This is very good example..
>
> > > > When I started implementing the same, it is asking me for SessionId.
>
> > > > could you tell me from where you are refering this one. It would be
> > > > helpful to me if you put it over here.
>
> > > > Also, is it possible to reference/create a user define data/object on
> > > > client side?
>
> > > > Thanks in advance.
>
> > > > Arun.
>
> > > > On Feb 27, 12:02 pm, Vagner Araujo  wrote:
> > > >> Hello Friends,
>
> > > >> I was making a simple code ofSessionfor my students.
> > > >> Well, I decided post that code here,
> > > >> because maybe it can serve as a basis for someone.
>
> > > >> //Main Class
>
> > > >> package com.javaneses.spring.client;
>
> > > >> import com.google.gwt.core.client.EntryPoint;
> > > >> import com.google.gwt.core.client.GWT;
> > > >> import com.google.gwt.user.client.Cookies;
> > > >> import com.google.gwt.user.client.Window;
> > > >> import com.google.gwt.user.client.rpc.AsyncCallback;
> > > >> import com.google.gwt.user.client.rpc.ServiceDefTarget;
> > > >> import com.google.gwt.user.client.ui.Button;
> > > >> import com.google.gwt.user.client.ui.ClickListener;
> > > >> import com.google.gwt.user.client.ui.DialogBox;
> > > >> import com.google.gwt.user.client.ui.FlexTable;
> > > >> import com.google.gwt.user.client.ui.FlowPanel;
> > > >> import com.google.gwt.user.client.ui.Label;
> > > >> import com.google.gwt.user.client.ui.PasswordTextBox;
> > > >> import com.google.gwt.user.client.ui.RootPanel;
> > > >> import com.google.gwt.user.client.ui.TextBox;
> > > >> import com.google.gwt.user.client.ui.Widget;
> > > >> import com.javaneses.spring.client.rpc.service.LoginService;
> > > >> import com.javaneses.spring.client.rpc.service.LoginServiceAsync;
> > > >> import com.javaneses.spring.client.rpc.service.SessionService;
> > > >> import com.javaneses.spring.client.rpc.service.SessionServiceAsync;
>
> > > >> /**
> > > >>  * Entry point classes define onModuleLoad().
> > > >>  */
> > > >> public class Main implements EntryPoint, ClickListener{
>
> > > >>         /**
> > > >>          * This is the entry point method.
> > > >>          */
>
> > > >>         private final SessionId sessionId = new SessionId();
>
> > > >>         private final DialogBox dialogBox = new DialogBox();
> > > >>         private final Label userLabel = new Label("User");
> > > >>         private final Label passwdLabel = new Label("Password");
> > > >>         private final TextBox userField = new TextBox();
> > > >>         private final PasswordTextBox passwdField = new
> > PasswordTextBox();
> > > >>         private final Button login = new Button("Login");
>
> > > >>         private final Label welcome = new Label("Welcome");
>
> > > >>         private final User user = new User();
>
> > > >>         {
> > > >>                 FlexTable flexTable = new FlexTable();
>
> > > >>                 flexTable.setWidget(0, 0, userLabel);
> > > >>                 flexTable.setWidget(0, 1, userField);
> > > >>                 flexTable.setWidget(1, 0, passwdLabel);
> > > >>                 flexTable.setWidget(1, 1, passwdField);
>
> > > >>                 FlowPanel panel = new FlowPanel();
> > > >>                 panel.setWidth("100");
> > > >>                 panel.add(login);
>
> > > >>                 flexTable.setWidget(2, 1, panel);
>
> > > >>                 dialogBox.setSize("350", "150");
> > > >>                 dialogBox.add(flexTable);
>
> > > >>                 login.addClickListener(this);
>
> > > >>                 sessionId.setSessionId(Cookies.getCookie("session"));
> > > >>         }//end init block
>
> > > >>         public void onMod

Re: GWT Session

2009-04-20 Thread Vitali Lovich
SessionId is not part of GWT.  It's some class he wrote.  Can't help you
with that.

All I was saying is that the RPC calls he does are GWT 1.5 style - 1.6 has a
much cleaner way of doing it.

On Tue, Apr 21, 2009 at 12:22 AM, Arun  wrote:

>
> Hi Vitali,
>
> can yolu please explain in detail what u have mentioned over here.
>
> What should i need to do in order to run the above example? How i will
> get the SessionId class?
>
> thanks,
> Arun.
>
> On Apr 18, 11:46 am, Vitali Lovich  wrote:
> > That's also outdated as the RPC is using the old syntax instead of the
> > much shorter one that uses annotations.
> >
> > On Sat, Apr 18, 2009 at 2:24 AM, Arun  wrote:
> >
> > > hello Vagner,
> >
> > > This is very good example..
> >
> > > When I started implementing the same, it is asking me for SessionId.
> >
> > > could you tell me from where you are refering this one. It would be
> > > helpful to me if you put it over here.
> >
> > > Also, is it possible to reference/create a user define data/object on
> > > client side?
> >
> > > Thanks in advance.
> >
> > > Arun.
> >
> > > On Feb 27, 12:02 pm, Vagner Araujo  wrote:
> > >> Hello Friends,
> >
> > >> I was making a simple code ofSessionfor my students.
> > >> Well, I decided post that code here,
> > >> because maybe it can serve as a basis for someone.
> >
> > >> //Main Class
> >
> > >> package com.javaneses.spring.client;
> >
> > >> import com.google.gwt.core.client.EntryPoint;
> > >> import com.google.gwt.core.client.GWT;
> > >> import com.google.gwt.user.client.Cookies;
> > >> import com.google.gwt.user.client.Window;
> > >> import com.google.gwt.user.client.rpc.AsyncCallback;
> > >> import com.google.gwt.user.client.rpc.ServiceDefTarget;
> > >> import com.google.gwt.user.client.ui.Button;
> > >> import com.google.gwt.user.client.ui.ClickListener;
> > >> import com.google.gwt.user.client.ui.DialogBox;
> > >> import com.google.gwt.user.client.ui.FlexTable;
> > >> import com.google.gwt.user.client.ui.FlowPanel;
> > >> import com.google.gwt.user.client.ui.Label;
> > >> import com.google.gwt.user.client.ui.PasswordTextBox;
> > >> import com.google.gwt.user.client.ui.RootPanel;
> > >> import com.google.gwt.user.client.ui.TextBox;
> > >> import com.google.gwt.user.client.ui.Widget;
> > >> import com.javaneses.spring.client.rpc.service.LoginService;
> > >> import com.javaneses.spring.client.rpc.service.LoginServiceAsync;
> > >> import com.javaneses.spring.client.rpc.service.SessionService;
> > >> import com.javaneses.spring.client.rpc.service.SessionServiceAsync;
> >
> > >> /**
> > >>  * Entry point classes define onModuleLoad().
> > >>  */
> > >> public class Main implements EntryPoint, ClickListener{
> >
> > >> /**
> > >>  * This is the entry point method.
> > >>  */
> >
> > >> private final SessionId sessionId = new SessionId();
> >
> > >> private final DialogBox dialogBox = new DialogBox();
> > >> private final Label userLabel = new Label("User");
> > >> private final Label passwdLabel = new Label("Password");
> > >> private final TextBox userField = new TextBox();
> > >> private final PasswordTextBox passwdField = new
> PasswordTextBox();
> > >> private final Button login = new Button("Login");
> >
> > >> private final Label welcome = new Label("Welcome");
> >
> > >> private final User user = new User();
> >
> > >> {
> > >> FlexTable flexTable = new FlexTable();
> >
> > >> flexTable.setWidget(0, 0, userLabel);
> > >> flexTable.setWidget(0, 1, userField);
> > >> flexTable.setWidget(1, 0, passwdLabel);
> > >> flexTable.setWidget(1, 1, passwdField);
> >
> > >> FlowPanel panel = new FlowPanel();
> > >> panel.setWidth("100");
> > >> panel.add(login);
> >
> > >> flexTable.setWidget(2, 1, panel);
> >
> > >> dialogBox.setSize("350", "150");
> > >> dialogBox.add(flexTable);
> >
> > >> login.addClickListener(this);
> >
> > >> sessionId.setSessionId(Cookies.getCookie("session"));
> > >> }//end init block
> >
> > >> public void onModuleLoad() {
> >
> > >> validateSession();
> >
> > >> }//end onModuleLoad
> >
> > >> private void validateSession(){
> >
> > >> SessionServiceAsync myServiceAsync =
> (SessionServiceAsync)GWT.create
> > >> (SessionService.class);
> > >> ServiceDefTarget serviceDefTarget = (ServiceDefTarget)
> > >> myServiceAsync;
> > >> serviceDefTarget.setServiceEntryPoint("session");
> >
> > >> AsyncCallback asyncCallback = new
> AsyncCallback
> > >> (){
> > >> public void onFailure(Throwable caught) {
> > >> System.out.println(caught);
> > >> }//end onFailure
> > >

Re: GWT Session

2009-04-20 Thread Arun

Hi Vitali,

can yolu please explain in detail what u have mentioned over here.

What should i need to do in order to run the above example? How i will
get the SessionId class?

thanks,
Arun.

On Apr 18, 11:46 am, Vitali Lovich  wrote:
> That's also outdated as the RPC is using the old syntax instead of the
> much shorter one that uses annotations.
>
> On Sat, Apr 18, 2009 at 2:24 AM, Arun  wrote:
>
> > hello Vagner,
>
> > This is very good example..
>
> > When I started implementing the same, it is asking me for SessionId.
>
> > could you tell me from where you are refering this one. It would be
> > helpful to me if you put it over here.
>
> > Also, is it possible to reference/create a user define data/object on
> > client side?
>
> > Thanks in advance.
>
> > Arun.
>
> > On Feb 27, 12:02 pm, Vagner Araujo  wrote:
> >> Hello Friends,
>
> >> I was making a simple code ofSessionfor my students.
> >> Well, I decided post that code here,
> >> because maybe it can serve as a basis for someone.
>
> >> //Main Class
>
> >> package com.javaneses.spring.client;
>
> >> import com.google.gwt.core.client.EntryPoint;
> >> import com.google.gwt.core.client.GWT;
> >> import com.google.gwt.user.client.Cookies;
> >> import com.google.gwt.user.client.Window;
> >> import com.google.gwt.user.client.rpc.AsyncCallback;
> >> import com.google.gwt.user.client.rpc.ServiceDefTarget;
> >> import com.google.gwt.user.client.ui.Button;
> >> import com.google.gwt.user.client.ui.ClickListener;
> >> import com.google.gwt.user.client.ui.DialogBox;
> >> import com.google.gwt.user.client.ui.FlexTable;
> >> import com.google.gwt.user.client.ui.FlowPanel;
> >> import com.google.gwt.user.client.ui.Label;
> >> import com.google.gwt.user.client.ui.PasswordTextBox;
> >> import com.google.gwt.user.client.ui.RootPanel;
> >> import com.google.gwt.user.client.ui.TextBox;
> >> import com.google.gwt.user.client.ui.Widget;
> >> import com.javaneses.spring.client.rpc.service.LoginService;
> >> import com.javaneses.spring.client.rpc.service.LoginServiceAsync;
> >> import com.javaneses.spring.client.rpc.service.SessionService;
> >> import com.javaneses.spring.client.rpc.service.SessionServiceAsync;
>
> >> /**
> >>  * Entry point classes define onModuleLoad().
> >>  */
> >> public class Main implements EntryPoint, ClickListener{
>
> >>         /**
> >>          * This is the entry point method.
> >>          */
>
> >>         private final SessionId sessionId = new SessionId();
>
> >>         private final DialogBox dialogBox = new DialogBox();
> >>         private final Label userLabel = new Label("User");
> >>         private final Label passwdLabel = new Label("Password");
> >>         private final TextBox userField = new TextBox();
> >>         private final PasswordTextBox passwdField = new PasswordTextBox();
> >>         private final Button login = new Button("Login");
>
> >>         private final Label welcome = new Label("Welcome");
>
> >>         private final User user = new User();
>
> >>         {
> >>                 FlexTable flexTable = new FlexTable();
>
> >>                 flexTable.setWidget(0, 0, userLabel);
> >>                 flexTable.setWidget(0, 1, userField);
> >>                 flexTable.setWidget(1, 0, passwdLabel);
> >>                 flexTable.setWidget(1, 1, passwdField);
>
> >>                 FlowPanel panel = new FlowPanel();
> >>                 panel.setWidth("100");
> >>                 panel.add(login);
>
> >>                 flexTable.setWidget(2, 1, panel);
>
> >>                 dialogBox.setSize("350", "150");
> >>                 dialogBox.add(flexTable);
>
> >>                 login.addClickListener(this);
>
> >>                 sessionId.setSessionId(Cookies.getCookie("session"));
> >>         }//end init block
>
> >>         public void onModuleLoad() {
>
> >>                 validateSession();
>
> >>         }//end onModuleLoad
>
> >>         private void validateSession(){
>
> >>                 SessionServiceAsync myServiceAsync = 
> >> (SessionServiceAsync)GWT.create
> >> (SessionService.class);
> >>                 ServiceDefTarget serviceDefTarget = (ServiceDefTarget)
> >> myServiceAsync;
> >>                 serviceDefTarget.setServiceEntryPoint("session");
>
> >>                 AsyncCallback asyncCallback = new 
> >> AsyncCallback
> >> (){
> >>                         public void onFailure(Throwable caught) {
> >>                                 System.out.println(caught);
> >>                         }//end onFailure
> >>                         public void onSuccess(SessionId result) {
> >>                                 if(result == null){
> >>                                         RootPanel.get().clear();
> >>                                         RootPanel.get().add(dialogBox);
> >>                                         System.out.println("Teste1");
> >>                                 }else 
> >> if(!sessionId.getSessionId().equals(result.getSessionId())){
> >>                           

Re: GWT Session

2009-04-17 Thread Vitali Lovich

That's also outdated as the RPC is using the old syntax instead of the
much shorter one that uses annotations.

On Sat, Apr 18, 2009 at 2:24 AM, Arun  wrote:
>
> hello Vagner,
>
> This is very good example..
>
> When I started implementing the same, it is asking me for SessionId.
>
> could you tell me from where you are refering this one. It would be
> helpful to me if you put it over here.
>
> Also, is it possible to reference/create a user define data/object on
> client side?
>
> Thanks in advance.
>
> Arun.
>
> On Feb 27, 12:02 pm, Vagner Araujo  wrote:
>> Hello Friends,
>>
>> I was making a simple code ofSessionfor my students.
>> Well, I decided post that code here,
>> because maybe it can serve as a basis for someone.
>>
>> //Main Class
>>
>> package com.javaneses.spring.client;
>>
>> import com.google.gwt.core.client.EntryPoint;
>> import com.google.gwt.core.client.GWT;
>> import com.google.gwt.user.client.Cookies;
>> import com.google.gwt.user.client.Window;
>> import com.google.gwt.user.client.rpc.AsyncCallback;
>> import com.google.gwt.user.client.rpc.ServiceDefTarget;
>> import com.google.gwt.user.client.ui.Button;
>> import com.google.gwt.user.client.ui.ClickListener;
>> import com.google.gwt.user.client.ui.DialogBox;
>> import com.google.gwt.user.client.ui.FlexTable;
>> import com.google.gwt.user.client.ui.FlowPanel;
>> import com.google.gwt.user.client.ui.Label;
>> import com.google.gwt.user.client.ui.PasswordTextBox;
>> import com.google.gwt.user.client.ui.RootPanel;
>> import com.google.gwt.user.client.ui.TextBox;
>> import com.google.gwt.user.client.ui.Widget;
>> import com.javaneses.spring.client.rpc.service.LoginService;
>> import com.javaneses.spring.client.rpc.service.LoginServiceAsync;
>> import com.javaneses.spring.client.rpc.service.SessionService;
>> import com.javaneses.spring.client.rpc.service.SessionServiceAsync;
>>
>> /**
>>  * Entry point classes define onModuleLoad().
>>  */
>> public class Main implements EntryPoint, ClickListener{
>>
>>         /**
>>          * This is the entry point method.
>>          */
>>
>>         private final SessionId sessionId = new SessionId();
>>
>>         private final DialogBox dialogBox = new DialogBox();
>>         private final Label userLabel = new Label("User");
>>         private final Label passwdLabel = new Label("Password");
>>         private final TextBox userField = new TextBox();
>>         private final PasswordTextBox passwdField = new PasswordTextBox();
>>         private final Button login = new Button("Login");
>>
>>         private final Label welcome = new Label("Welcome");
>>
>>         private final User user = new User();
>>
>>         {
>>                 FlexTable flexTable = new FlexTable();
>>
>>                 flexTable.setWidget(0, 0, userLabel);
>>                 flexTable.setWidget(0, 1, userField);
>>                 flexTable.setWidget(1, 0, passwdLabel);
>>                 flexTable.setWidget(1, 1, passwdField);
>>
>>                 FlowPanel panel = new FlowPanel();
>>                 panel.setWidth("100");
>>                 panel.add(login);
>>
>>                 flexTable.setWidget(2, 1, panel);
>>
>>                 dialogBox.setSize("350", "150");
>>                 dialogBox.add(flexTable);
>>
>>                 login.addClickListener(this);
>>
>>                 sessionId.setSessionId(Cookies.getCookie("session"));
>>         }//end init block
>>
>>         public void onModuleLoad() {
>>
>>                 validateSession();
>>
>>         }//end onModuleLoad
>>
>>         private void validateSession(){
>>
>>                 SessionServiceAsync myServiceAsync = 
>> (SessionServiceAsync)GWT.create
>> (SessionService.class);
>>                 ServiceDefTarget serviceDefTarget = (ServiceDefTarget)
>> myServiceAsync;
>>                 serviceDefTarget.setServiceEntryPoint("session");
>>
>>                 AsyncCallback asyncCallback = new 
>> AsyncCallback
>> (){
>>                         public void onFailure(Throwable caught) {
>>                                 System.out.println(caught);
>>                         }//end onFailure
>>                         public void onSuccess(SessionId result) {
>>                                 if(result == null){
>>                                         RootPanel.get().clear();
>>                                         RootPanel.get().add(dialogBox);
>>                                         System.out.println("Teste1");
>>                                 }else 
>> if(!sessionId.getSessionId().equals(result.getSessionId())){
>>                                         RootPanel.get().clear();
>>                                         RootPanel.get().add(dialogBox);
>>                                         System.out.println("Teste2");
>>                                 }else 
>> if(sessionId.getSessionId().equals(result.getSessionId())){
>>                                         RootPanel.get().add(welcome);
>>                                 }

Re: GWT Session

2009-04-17 Thread Arun

hello Vagner,

This is very good example..

When I started implementing the same, it is asking me for SessionId.

could you tell me from where you are refering this one. It would be
helpful to me if you put it over here.

Also, is it possible to reference/create a user define data/object on
client side?

Thanks in advance.

Arun.

On Feb 27, 12:02 pm, Vagner Araujo  wrote:
> Hello Friends,
>
> I was making a simple code ofSessionfor my students.
> Well, I decided post that code here,
> because maybe it can serve as a basis for someone.
>
> //Main Class
>
> package com.javaneses.spring.client;
>
> import com.google.gwt.core.client.EntryPoint;
> import com.google.gwt.core.client.GWT;
> import com.google.gwt.user.client.Cookies;
> import com.google.gwt.user.client.Window;
> import com.google.gwt.user.client.rpc.AsyncCallback;
> import com.google.gwt.user.client.rpc.ServiceDefTarget;
> import com.google.gwt.user.client.ui.Button;
> import com.google.gwt.user.client.ui.ClickListener;
> import com.google.gwt.user.client.ui.DialogBox;
> import com.google.gwt.user.client.ui.FlexTable;
> import com.google.gwt.user.client.ui.FlowPanel;
> import com.google.gwt.user.client.ui.Label;
> import com.google.gwt.user.client.ui.PasswordTextBox;
> import com.google.gwt.user.client.ui.RootPanel;
> import com.google.gwt.user.client.ui.TextBox;
> import com.google.gwt.user.client.ui.Widget;
> import com.javaneses.spring.client.rpc.service.LoginService;
> import com.javaneses.spring.client.rpc.service.LoginServiceAsync;
> import com.javaneses.spring.client.rpc.service.SessionService;
> import com.javaneses.spring.client.rpc.service.SessionServiceAsync;
>
> /**
>  * Entry point classes define onModuleLoad().
>  */
> public class Main implements EntryPoint, ClickListener{
>
>         /**
>          * This is the entry point method.
>          */
>
>         private final SessionId sessionId = new SessionId();
>
>         private final DialogBox dialogBox = new DialogBox();
>         private final Label userLabel = new Label("User");
>         private final Label passwdLabel = new Label("Password");
>         private final TextBox userField = new TextBox();
>         private final PasswordTextBox passwdField = new PasswordTextBox();
>         private final Button login = new Button("Login");
>
>         private final Label welcome = new Label("Welcome");
>
>         private final User user = new User();
>
>         {
>                 FlexTable flexTable = new FlexTable();
>
>                 flexTable.setWidget(0, 0, userLabel);
>                 flexTable.setWidget(0, 1, userField);
>                 flexTable.setWidget(1, 0, passwdLabel);
>                 flexTable.setWidget(1, 1, passwdField);
>
>                 FlowPanel panel = new FlowPanel();
>                 panel.setWidth("100");
>                 panel.add(login);
>
>                 flexTable.setWidget(2, 1, panel);
>
>                 dialogBox.setSize("350", "150");
>                 dialogBox.add(flexTable);
>
>                 login.addClickListener(this);
>
>                 sessionId.setSessionId(Cookies.getCookie("session"));
>         }//end init block
>
>         public void onModuleLoad() {
>
>                 validateSession();
>
>         }//end onModuleLoad
>
>         private void validateSession(){
>
>                 SessionServiceAsync myServiceAsync = 
> (SessionServiceAsync)GWT.create
> (SessionService.class);
>                 ServiceDefTarget serviceDefTarget = (ServiceDefTarget)
> myServiceAsync;
>                 serviceDefTarget.setServiceEntryPoint("session");
>
>                 AsyncCallback asyncCallback = new 
> AsyncCallback
> (){
>                         public void onFailure(Throwable caught) {
>                                 System.out.println(caught);
>                         }//end onFailure
>                         public void onSuccess(SessionId result) {
>                                 if(result == null){
>                                         RootPanel.get().clear();
>                                         RootPanel.get().add(dialogBox);
>                                         System.out.println("Teste1");
>                                 }else 
> if(!sessionId.getSessionId().equals(result.getSessionId())){
>                                         RootPanel.get().clear();
>                                         RootPanel.get().add(dialogBox);
>                                         System.out.println("Teste2");
>                                 }else 
> if(sessionId.getSessionId().equals(result.getSessionId())){
>                                         RootPanel.get().add(welcome);
>                                 }
>                         }//end onSucess
>                 };//end AsyncCallback asyncCallback = new
> AsyncCallback()
>                 myServiceAsync.session(sessionId, asyncCallback);
>         }//end validateSession
>
>         public void onClick(Widget sender) {
>                 if(sende

Re: GWT Session

2009-02-27 Thread Vagner Araujo

Hi,

in this example the cookie will expire when the current browser
session is ended,
but below is a snippet of code that will make the session expire every
two minutes of inactivity.


//Main Class

public void onClick(Widget sender) {
if(sender == login){
user.setUser(userField.getText());
user.setPasswd(passwdField.getText());
LoginServiceAsync loginServiceAsync = 
(LoginServiceAsync)GWT.create
(LoginService.class);
ServiceDefTarget serviceDefTarget = (ServiceDefTarget)
loginServiceAsync;
serviceDefTarget.setServiceEntryPoint("login");

AsyncCallback asyncCallback = new 
AsyncCallback() {
public void onSuccess(String result) {
if(result != null){
RootPanel.get().clear();
RootPanel.get().add(welcome);



//session expire every
two minutes of inactivity


Cookies.setCookie("session", 
result, new Date
(System.currentTimeMillis() + TWO_MIN));
sessionId.setSessionId(result);

System.out.println("login 
session => "+result);

}else{
Window.alert("Login Invalid !");
}
}
public void onFailure(Throwable caught) {
System.out.println(caught);
}
};//end asyncCallback

loginServiceAsync.login(user, asyncCallback);
}//end if(sender == login)
}//end onClick

//end class Main


//Class SessionServiceImpl

public SessionId session(SessionId sessionId) {
HttpSession httpSession = 
getThreadLocalRequest().getSession(false);
if(httpSession != null){
try {
sessionId.setSessionId(httpSession.getId());
} catch (IllegalStateException e) {
sessionId.setSessionId("");
}
return sessionId;
}//end if(result == null)
return null;
}//end session


//end Class SessionServiceImpl


//Class LoginServiceImpl

public String login(User user) {
if(user != null && user.getUser().equalsIgnoreCase("vagner") &&
user.getPasswd().equals("Javagner")){
HttpSession httpSession = 
getThreadLocalRequest().getSession();

//Specifies the time in seconds, before the
servlet container will invalidate this session.

httpSession.setMaxInactiveInterval(1000 * 60 *2);
return httpSession.getId();
}//end if
return null;
}//end login

//end LoginServiceImpl


thanks All ;-)

Professor Vagner
Vagner Araujo.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT Session

2009-02-27 Thread Danny Schimke
Hey Vagner Araujo!

Thank you for your post! I've searched a long time for something like
handling sessions in GWT!!! :D
I have a question too. Waht's when the session invalidates (e.g. timeout)?
Should there a "heartbeat" which checks the session validity?

Thank you!
-Danny

2009/2/27 Mahavir Jain 

> Thanks Vagner for sharing this.
>
> You can also refer the attached LoginManager which contains user
> Management.
>
> I, too downloaded from somewhere. I don't remember but source code is
> attached.
>
> Thanks.
> Mahavir
>
>
> On Fri, Feb 27, 2009 at 12:32 PM, Vagner Araujo wrote:
>
>>
>> Hello Friends,
>>
>> I was making a simple code of Session for my students.
>> Well, I decided post that code here,
>> because maybe it can serve as a basis for someone.
>>
>> //Main Class
>>
>> package com.javaneses.spring.client;
>>
>> import com.google.gwt.core.client.EntryPoint;
>> import com.google.gwt.core.client.GWT;
>> import com.google.gwt.user.client.Cookies;
>> import com.google.gwt.user.client.Window;
>> import com.google.gwt.user.client.rpc.AsyncCallback;
>> import com.google.gwt.user.client.rpc.ServiceDefTarget;
>> import com.google.gwt.user.client.ui.Button;
>> import com.google.gwt.user.client.ui.ClickListener;
>> import com.google.gwt.user.client.ui.DialogBox;
>> import com.google.gwt.user.client.ui.FlexTable;
>> import com.google.gwt.user.client.ui.FlowPanel;
>> import com.google.gwt.user.client.ui.Label;
>> import com.google.gwt.user.client.ui.PasswordTextBox;
>> import com.google.gwt.user.client.ui.RootPanel;
>> import com.google.gwt.user.client.ui.TextBox;
>> import com.google.gwt.user.client.ui.Widget;
>> import com.javaneses.spring.client.rpc.service.LoginService;
>> import com.javaneses.spring.client.rpc.service.LoginServiceAsync;
>> import com.javaneses.spring.client.rpc.service.SessionService;
>> import com.javaneses.spring.client.rpc.service.SessionServiceAsync;
>>
>> /**
>>  * Entry point classes define onModuleLoad().
>>  */
>> public class Main implements EntryPoint, ClickListener{
>>
>>/**
>> * This is the entry point method.
>> */
>>
>>private final SessionId sessionId = new SessionId();
>>
>>private final DialogBox dialogBox = new DialogBox();
>>private final Label userLabel = new Label("User");
>>private final Label passwdLabel = new Label("Password");
>>private final TextBox userField = new TextBox();
>>private final PasswordTextBox passwdField = new PasswordTextBox();
>>private final Button login = new Button("Login");
>>
>>private final Label welcome = new Label("Welcome");
>>
>>private final User user = new User();
>>
>>{
>>FlexTable flexTable = new FlexTable();
>>
>>flexTable.setWidget(0, 0, userLabel);
>>flexTable.setWidget(0, 1, userField);
>>flexTable.setWidget(1, 0, passwdLabel);
>>flexTable.setWidget(1, 1, passwdField);
>>
>>FlowPanel panel = new FlowPanel();
>>panel.setWidth("100");
>>panel.add(login);
>>
>>flexTable.setWidget(2, 1, panel);
>>
>>dialogBox.setSize("350", "150");
>>dialogBox.add(flexTable);
>>
>>login.addClickListener(this);
>>
>>sessionId.setSessionId(Cookies.getCookie("session"));
>>}//end init block
>>
>>public void onModuleLoad() {
>>
>>validateSession();
>>
>>}//end onModuleLoad
>>
>>private void validateSession(){
>>
>>SessionServiceAsync myServiceAsync =
>> (SessionServiceAsync)GWT.create
>> (SessionService.class);
>>ServiceDefTarget serviceDefTarget = (ServiceDefTarget)
>> myServiceAsync;
>>serviceDefTarget.setServiceEntryPoint("session");
>>
>>AsyncCallback asyncCallback = new
>> AsyncCallback
>> (){
>>public void onFailure(Throwable caught) {
>>System.out.println(caught);
>>}//end onFailure
>>public void onSuccess(SessionId result) {
>>if(result == null){
>>RootPanel.get().clear();
>>RootPanel.get().add(dialogBox);
>>System.out.println("Teste1");
>>}else
>> if(!sessionId.getSessionId().equals(result.getSessionId())){
>>RootPanel.get().clear();
>>RootPanel.get().add(dialogBox);
>>System.out.println("Teste2");
>>}else
>> if(sessionId.getSessionId().equals(result.getSessionId())){
>>RootPanel.get().add(welcome);
>>}
>>   

GWT Session

2009-02-26 Thread Vagner Araujo

Hello Friends,

I was making a simple code of Session for my students.
Well, I decided post that code here,
because maybe it can serve as a basis for someone.

//Main Class

package com.javaneses.spring.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.Cookies;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.rpc.ServiceDefTarget;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.ClickListener;
import com.google.gwt.user.client.ui.DialogBox;
import com.google.gwt.user.client.ui.FlexTable;
import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.PasswordTextBox;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.TextBox;
import com.google.gwt.user.client.ui.Widget;
import com.javaneses.spring.client.rpc.service.LoginService;
import com.javaneses.spring.client.rpc.service.LoginServiceAsync;
import com.javaneses.spring.client.rpc.service.SessionService;
import com.javaneses.spring.client.rpc.service.SessionServiceAsync;

/**
 * Entry point classes define onModuleLoad().
 */
public class Main implements EntryPoint, ClickListener{

/**
 * This is the entry point method.
 */

private final SessionId sessionId = new SessionId();

private final DialogBox dialogBox = new DialogBox();
private final Label userLabel = new Label("User");
private final Label passwdLabel = new Label("Password");
private final TextBox userField = new TextBox();
private final PasswordTextBox passwdField = new PasswordTextBox();
private final Button login = new Button("Login");

private final Label welcome = new Label("Welcome");

private final User user = new User();

{
FlexTable flexTable = new FlexTable();

flexTable.setWidget(0, 0, userLabel);
flexTable.setWidget(0, 1, userField);
flexTable.setWidget(1, 0, passwdLabel);
flexTable.setWidget(1, 1, passwdField);

FlowPanel panel = new FlowPanel();
panel.setWidth("100");
panel.add(login);

flexTable.setWidget(2, 1, panel);

dialogBox.setSize("350", "150");
dialogBox.add(flexTable);

login.addClickListener(this);

sessionId.setSessionId(Cookies.getCookie("session"));
}//end init block

public void onModuleLoad() {

validateSession();

}//end onModuleLoad

private void validateSession(){

SessionServiceAsync myServiceAsync = 
(SessionServiceAsync)GWT.create
(SessionService.class);
ServiceDefTarget serviceDefTarget = (ServiceDefTarget)
myServiceAsync;
serviceDefTarget.setServiceEntryPoint("session");

AsyncCallback asyncCallback = new 
AsyncCallback
(){
public void onFailure(Throwable caught) {
System.out.println(caught);
}//end onFailure
public void onSuccess(SessionId result) {
if(result == null){
RootPanel.get().clear();
RootPanel.get().add(dialogBox);
System.out.println("Teste1");
}else 
if(!sessionId.getSessionId().equals(result.getSessionId())){
RootPanel.get().clear();
RootPanel.get().add(dialogBox);
System.out.println("Teste2");
}else 
if(sessionId.getSessionId().equals(result.getSessionId())){
RootPanel.get().add(welcome);
}
}//end onSucess
};//end AsyncCallback asyncCallback = new
AsyncCallback()
myServiceAsync.session(sessionId, asyncCallback);
}//end validateSession

public void onClick(Widget sender) {
if(sender == login){
user.setUser(userField.getText());
user.setPasswd(passwdField.getText());
LoginServiceAsync loginServiceAsync = 
(LoginServiceAsync)GWT.create
(LoginService.class);
ServiceDefTarget serviceDefTarget = (ServiceDefTarget)
loginServiceAsync;
serviceDefTarget.setServiceEntryPoint("login");

AsyncCallback asyncCallback = new 
AsyncCallback() {
public void onSuccess(String result) {
 

GWT Session problem

2008-10-14 Thread mk

I use the following method to get session ID in my
[RemoteServiceServlet] class:
protected String getSessionId()
{
return getThreadLocalRequest().getSession().getId() ;
}
It used to work nicely. Then all of a sudden, it started returning a
different ID with every call. I use tomcat 6. I have tried switching
to the latest version of tomcat, then tried both IE6 and Firefox 3
with the same result. Any idea what the issue could be?
I understand that I could get and return the ID on the first call and
pass it back to the server as a parameter with each subsequent
request, but that's a lot of extra work and also defeats the purpose
of session management.
Thank you.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---