Re: How to do validations in GWT MVP Pattern

2014-02-10 Thread Ryan Chazen
Yeah I have it working like that already, but it's still unfortunate. Maybe
the best long term bet is to not use JSR 303 at all? It adds a bit more
boilerplate code though.



On Mon, Feb 10, 2014 at 3:51 PM, Jens jens.nehlme...@gmail.com wrote:

 Slightly off topic, but do you know if the hibernate-validation support
 will be upgraded to version hibernate validator 5?

 hibernate-validator-4.1.0.Final.jar requires on an old slf4j, and it
 plays a bit of havoc when including it in projects that require modern sl4j.


 I don't think anyone is working on it, see:
 https://code.google.com/p/google-web-toolkit/issues/detail?id=7661 .

 However you can solve your issue by creating separate projects for client
 and server side which is kind of a good practice anyways. That way server
 libs do not interference with client libs.

 -- J.

 --
 You received this message because you are subscribed to a topic in the
 Google Groups Google Web Toolkit group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-web-toolkit/Vl0AFw486Tw/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: GWT website moved to gwtproject.org

2013-07-31 Thread Ryan Chazen
Perhaps we could collect a small bounty (probably even 1k would be
enough?), and start a competition for the community to submit designs with
the best design being chosen by some judges.



On Wed, Jul 31, 2013 at 4:18 PM, salk31 sal...@gmail.com wrote:

 They have typesafe behind them so presumably some cash to throw at it?

 I'd be willing to put up a bit of cash but presumably would be 5k+GBP  to
 get it done the commercial way?


 On Wednesday, July 31, 2013 2:45:57 PM UTC+1, Alex opn wrote:

 I thought the same when I saw Scala's new page for the first time
 yesterday ;-)

 Am Dienstag, 30. Juli 2013 17:59:24 UTC+2 schrieb RyanZA:

 Something like this would be great:
  http://scala-lang.org/


 On Saturday, July 27, 2013 8:03:07 PM UTC+2, salk31 wrote:

 Anyone like this one?

 http://html5up.net//uploads/**demos/minimaxing/http://html5up.net//uploads/demos/minimaxing/

 Might need to replace the jquery code ;)


  --
 You received this message because you are subscribed to a topic in the
 Google Groups Google Web Toolkit group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-web-toolkit/-YmZuKDLdS4/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Does the Google App Engine Support Java/J2EE Web Application

2013-07-24 Thread Ryan Chazen
Hetzner is also very good if you need something with massive RAM (32gb+),
CPU(4 core i7) and disk space(2TB) for a low price:

http://www.hetzner.de/en/hosting/produkte_rootserver/ex40

They've been around for ages also, so expect good reliability.

Basically: Avoid AppEngine if you care about price or portability.






On Wed, Jul 24, 2013 at 9:32 PM, Michael Joyner mich...@newsrx.com wrote:

 Oh. and I even installed the gnome desktop + freenx in a 64-bit centos,
 and now have remote desktop + eclipse setup right on the remove vps. My
 upload bandwidth at the house sux.


 On Wed, Jul 24, 2013 at 3:31 PM, Michael Joyner mich...@newsrx.comwrote:



 This is the provider I am using: http://afterburst.com/unmetered-vps

 I currently have their mini/$15-month in Europe. Getting ready to test
 a JBoss setup on it and see if I like that better than TomCat.


 On Wed, Jul 24, 2013 at 3:21 PM, mukut mukut...@gmail.com wrote:

 please send details link abut this vps... really look cheaper..


 On Thu, Jul 25, 2013 at 12:45 AM, Michael Joyner mich...@newsrx.comwrote:

 If you don't mind setting up your own tomcat/jboss, you can also get a
 VPS in Germany for ~ $15.00/month, 1.5 Gigs Ram, unmetered bandwidth.


 On Wed, Jul 24, 2013 at 3:08 PM, RyanZA rya...@gmail.com wrote:

 http://aws.amazon.com/ec2/
 https://cloud.google.com/products/compute-engine
 https://www.digitalocean.com/
 http://www.windowsazure.com/en-us/

 On Wednesday, July 24, 2013 4:21:44 PM UTC+2, Iman Lechgar wrote:

 Hi, Richard please what do you mean by VM-based hosting service ???
 any examples ?

 I'll be very thankful .

 Le vendredi 3 août 2012 06:38:57 UTC+1, vikash@Atos a écrit :

 Hi,

 I have two questions:

 1) Does the Google App Engine supports web application (java/j2ee)?
 I have a java/j2ee web app, can I deploy it on Google App Engine
 (with
 my gmail account)?


 2) If my application is using MySQL, how can I run it on GAE?

 Thanks in advance.
 Vikash

  --
 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to
 google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to
 google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com
 .
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/groups/opt_out.





  --
 You received this message because you are subscribed to a topic in the
 Google Groups Google Web Toolkit group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-web-toolkit/NKk-A1Q97Xw/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




Re: I'm enhancing GWT to provide Java stack traces for clientside exceptions in production

2013-07-18 Thread Ryan Chazen
Hi Thomas,

It would be great if you (or anybody who understands how to set it up)
could add a small article on gwtproject.org about setting up the different
methods of getting stack traces in production on exceptions?

Thanks!
Ryan



On Thu, Jul 18, 2013 at 3:30 PM, Thomas Broyer t.bro...@gmail.com wrote:



 On Thursday, July 18, 2013 3:21:59 PM UTC+2, RyanZA wrote:

 Jens, even with source maps in Chrome, I've been unable to get stack
 traces to work. They still print out poorly in production when an exception
 is hit - the exceptions ignore the source maps entirely. I asked previously
 if there is a way around it, but apparently it's a known issue - so I don't
 think SourceMaps solve this problem yet.

 That said, the size and speed overhead here is terrible and most people
 would avoid something that adds that much overhead in production (although
 it would be great in development).

 What GWT needs here is something closer to what you get with proguard - a
 mapping file created during compilation that could be used to run the
 obfuscated/javascript exception through a utility to give the correct stack
 trace with zero overheads.
 I'm not entirely sure on how proguard accomplishes it, but I'd say it
 would be the perfect solution.


 This is what the StackTraceDeobfuscator does already. It's currently based
 on symbolMaps (GWT-specific) rather than source maps though.

 --
 You received this message because you are subscribed to a topic in the
 Google Groups Google Web Toolkit group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-web-toolkit/1qDVlPGryKo/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Exception stack traces in superdevmode

2013-07-05 Thread Ryan Chazen
Oh, my bad! I read posts from people that seemed to imply that they had
managed to get working stack traces using some method - but no matter what
I tried I couldn't get it to work. Is this likely to be fixed for the next
GWT release (or already fixed in git?), or still on the backburner?



On Fri, Jul 5, 2013 at 2:42 PM, Thomas Broyer t.bro...@gmail.com wrote:

 Related issues:

- https://code.google.com/p/google-web-toolkit/issues/detail?id=7693
- https://code.google.com/p/google-web-toolkit/issues/detail?id=7460


 On Thursday, July 4, 2013 12:57:06 PM UTC+2, RyanZA wrote:

 The docs/information for how to get stack traces working in superdevmode
 are very, very poor.

 By the sound of it, the two options are:
 (1) Deobfuscate your stack traces on the server (see
 StackTraceDeobfuscator)
 (2) Emulated stack traces

 However, I can't get either of these to work in superdevmode. Anybody got
 some easy steps to follow to get useful output?


  --
 You received this message because you are subscribed to a topic in the
 Google Groups Google Web Toolkit group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-web-toolkit/WS6RAb3LrBw/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




Re: LESS/ SASS/... style usage in GWT ?

2013-06-14 Thread Ryan Chazen
According to that article it will work without Vaadin, and just requires
that you replace 'widgetset' with 'module'. How exactly you'd go about
doing that is unclear and  I haven't tried, but the article definitely
seems to be saying that it should work without issue.
I've had plans to give it a try, but haven't had a reason to use SASS
recently so haven't tried it out yet. Let us know how it goes if you try.



On Fri, Jun 14, 2013 at 4:19 PM, Ed post2edb...@gmail.com wrote:

 Vaadin has a special linker that should let you use SASS. I haven't tried
 it though.

 https://vaadin.com/blog/-/**blogs/link-to-the-client-side-**from-sasshttps://vaadin.com/blog/-/blogs/link-to-the-client-side-from-sass

 Thanks for reminding, I almost forgot it :(.
 I am currious when this will also be available in the core gwt? As Vaadin
 is now now an  GWT contributor, what are the plans for these things ?

 Could it be possible to just pick up this piece of functionality of Vaadin
 and use it, and how ? (without using anything else of Vaadin).

 --
 You received this message because you are subscribed to a topic in the
 Google Groups Google Web Toolkit group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-web-toolkit/mrBctJ2BGtI/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




Re: LESS/ SASS/... style usage in GWT ?

2013-06-14 Thread Ryan Chazen
It's been (erroneously) merged into issue 8162, which is just a generic
CSS3 issue. So I wouldn't get your hopes up too quickly.

https://code.google.com/p/google-web-toolkit/issues/detail?can=2q=8162colspec=ID%20Type%20Status%20Owner%20Milestone%20Summary%20Starsid=8162




On Fri, Jun 14, 2013 at 4:22 PM, Ed Bras post2edb...@gmail.com wrote:

 I think the gwt dev team is thinking about CSS SASS support, from the
 looks of issue 7624:
 https://code.google.com/p/google-web-toolkit/issues/detail?id=7624
 It hasn't become stale yet ... ;)


 On Fri, Jun 14, 2013 at 4:19 PM, Ed post2edb...@gmail.com wrote:

 Vaadin has a special linker that should let you use SASS. I haven't tried
 it though.

 https://vaadin.com/blog/-/**blogs/link-to-the-client-side-**from-sasshttps://vaadin.com/blog/-/blogs/link-to-the-client-side-from-sass

 Thanks for reminding, I almost forgot it :(.
 I am currious when this will also be available in the core gwt? As Vaadin
 is now now an  GWT contributor, what are the plans for these things ?

 Could it be possible to just pick up this piece of functionality of
 Vaadin and use it, and how ? (without using anything else of Vaadin).

 --
 You received this message because you are subscribed to a topic in the
 Google Groups Google Web Toolkit group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-web-toolkit/mrBctJ2BGtI/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 You received this message because you are subscribed to a topic in the
 Google Groups Google Web Toolkit group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-web-toolkit/mrBctJ2BGtI/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




Re: How to embrace asynchrony in GWT apps?

2013-02-07 Thread Ryan Chazen
There is a project for using Futures in GWT -
http://code.google.com/p/gwt-async-future/

However, an event bus is still a better pattern for this, as futures are
just nicer syntax for single async tasks, and what is needed here is a
method to de-couple the data calls so you don't need to be concerned if the
data comes from RPC or local storage - along with the other benefits of an
event bus.

On Thu, Feb 7, 2013 at 4:12 PM, Ümit Seren uemit.se...@gmail.com wrote:

 jQuery and other javascript frameworks use Promises/Futures (
 http://en.wikipedia.org/wiki/Futures_and_promises) to make asynchronous
 calls more readable and workable.
 Unfortunately AFAIK there is nothing like that in GWT.

 The next best alternative is to use eventBus like RyanZA explained it.



 On Tuesday, February 5, 2013 3:53:22 PM UTC+1, andy_p1 wrote:

 I read it and heard it from GWT gurus that because of the nature of AJAX
 apps, we should embrace the asynchronous nature of the calls. I understand
 the concept but I am not 100% sure about how to design the following
 requirement:

 My View displays some data that is produced using the combination of some
 data from an RPC call and some data from local (it's a mobile app, so it
 gets some data from local file or db). The Presenter is supposed to get all
 the required data and refresh the view.

 Now, I want to wrap all these individual calls (one call to RPC and one
 call to fetch local data), into a single call in a Facade. So ideally, in
 my Presenter, i want to call :

 facade.getAllData( new MyCallBackHander(){
  void onFailure(){ }
  void onSuccess(){
update the model and call refresh on the view
  }
  }  );

 I am not sure if this is the right approach. I would like to use this
 pattern for all the calls made by various Presenters and I am not sure how
 to make it generic and how to code the getAllData method in the facade.

 Please help.
 thank you!

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




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