bean validation on server

2013-09-29 Thread ozgur aydinli
I am trying to use the bean validation (jsr303) on my project. It works perfectly on client side. However, when i try the same validation on server side. I get javax.validation.ValidationException: Unable to find a default provider. I am using embedded jetty on devmode. If i compile my project

Decimals acting wierd : 5.3 * 3 = 15.899999999999999

2013-09-29 Thread Martones
Hey guys, I had this problem hounting me since quite a while. I'm using double types in the equation above and I have this wierd precision result : 5.3 * 3 = 15.899 This is not the first time at all and I already saw this with floats / without multiplication and so on. Before I

Re: Decimals acting wierd : 5.3 * 3 = 15.899999999999999

2013-09-29 Thread Thomas Broyer
That's because numbers are floating-points numbers; you'll find this in all languages/platforms whose types follow IEEE 754 Floating-points Arithmetics (Java/JVM, JS, C, .NET, etc.) that is, almost everywhere. Java has BigDecimal if you need precision; it's emulated in GWT but performs much

Re: bean validation on server

2013-09-29 Thread Thomas Broyer
Is the hibernate-validator JAR in WEB-INF/lib when you run DevMode? See https://developers.google.com/eclipse/docs/faq#gwt_with_maven for more on using Maven+GWT in Eclipse with the Google Plugin for Eclipse. On Sunday, September 29, 2013 12:16:13 PM UTC+2, ozgur aydinli wrote: I am trying to

Re: bean validation on server

2013-09-29 Thread Thomas Broyer
[+cc GWT group; why did you reply in private and not there?] On Sun, Sep 29, 2013 at 1:45 PM, ozgur aydinli ozguraydi...@gmail.comwrote: thanks for your answer. - Is the hibernate-validator JAR in WEB-INF/lib when you run DevMode? I thought maven is handling that. but apparently there is a

Re: GWT Chat applications

2013-09-29 Thread suresh babu
I have created chat app using Gwt, Rpc call to store and retrieve, backend I used objectify and Google App engine, App link : http://my-health-care.appspot.com/Chat.html , works well and good :) Thanks, Suresh On Wednesday, December 9, 2009 5:43:16 PM UTC+5:30, abhiram wrote: Hi All,

Re: Decimals acting wierd : 5.3 * 3 = 15.899999999999999

2013-09-29 Thread Jeffrey Chimene
On 09/29/2013 03:20 AM, Martones wrote: Hey guys, I had this problem hounting me since quite a while. I'm using double types in the equation above and I have this wierd precision result : 5.3 * 3 = 15.899 This is not the first time at all and I already saw this with floats /

Re: Best way to Emulate Mobile Tabs using GWT

2013-09-29 Thread Paul
take a look at how mgwt does it in it's showcase app http://mobilegwt.appspot.com/showcase/ It will a combination of using the css3 flex box model and such to achieve the desired layout On Friday, September 27, 2013 8:52:25 PM UTC+1, Paul Mazzuca wrote: Many mobile applications have Tabs or

Re: bean validation on server

2013-09-29 Thread ozgur aydinli
On Sunday, September 29, 2013 3:04:48 PM UTC+3, Thomas Broyer wrote: [+cc GWT group; why did you reply in private and not there?] It was a little mistake. On Sun, Sep 29, 2013 at 1:45 PM, ozgur aydinli ozgura...@gmail.comjavascript: wrote: thanks for your answer. - Is the

Re: GWT Chat applications

2013-09-29 Thread Manuel
Maybe you want to go with websockets. Have a look at this example: Chat example http://www.fta.hk/examples/websocket/chat.html -- 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

Re: Decimals acting wierd : 5.3 * 3 = 15.899999999999999

2013-09-29 Thread Jim Douglas
http://www.codinghorror.com/blog/2009/05/why-do-computers-suck-at-math.html On Sunday, September 29, 2013 3:20:36 AM UTC-7, Martones wrote: Hey guys, I had this problem hounting me since quite a while. I'm using double types in the equation above and I have this wierd precision result :

Re: [gwt-contrib] Re: Maven-ization Status

2013-09-29 Thread Brian Slesinsky
I haven't tried it, but it says here that Gradle has support for publishing to Maven: http://www.gradle.org/docs/current/userguide/publishing_maven.html On Sat, Sep 28, 2013 at 10:49 PM, Cristiano Costantini cristiano.costant...@gmail.com wrote: Hello, What do you think of having gradle (or

Re: [gwt-contrib] Re: Maven-ization Status

2013-09-29 Thread Cristiano Costantini
Hello, Exporting maven artifacts from Gradle could be very interesting, but I would like to point out one aspect: we should also create proper pom.xml files with dependencies defined in it rather than embedded in the jars, else there would be no benefit in adopting maven - from the GWT developer

Re: [gwt-contrib] Re: Maven-ization Status

2013-09-29 Thread Thomas Broyer
On Sunday, September 29, 2013 10:24:42 PM UTC+2, Cristiano wrote: Hello, Exporting maven artifacts from Gradle could be very interesting, but I would like to point out one aspect: we should also create proper pom.xml files with dependencies defined in it rather than embedded in the

Re: [gwt-contrib] Re: Maven-ization Status

2013-09-29 Thread Matthew Dempsky
On Sun, Sep 29, 2013 at 3:55 PM, Thomas Broyer t.bro...@gmail.com wrote: The problem is that gwt-dev tests depend (at runtime) on gwt-user (which depends on gwt-dev). So you'll want one Maven artifact with dev/core/src and dev/core/super (gwt-dev.jar), another one with user/* (gwt-user), and