Re: which tools you have used for development of GWT?

2009-03-05 Thread Felipe Cypriano
I use Netbeans and I'm testing IntelliJ IDEA both are very good choices. Personally I don't like Eclipse I try but I can't get used to it, no technical reasons. Regards, --- Felipe Marin Cypriano Vitória - ES On Wed, Mar 4, 2009 at 10:14 AM, bamatico wrote: > > I have only gotten as far as w

Re: Hibernate/JPA gwt 1.5

2009-02-27 Thread Felipe Cypriano
Hi Tonil, 1.) Can i really use Annotations with gwt 1.5 "Yes we can" haha. For example: "For image bundles, replace @gwt.resource in your javadoc with the @Resource annotation." 2.

Re: MVC + RPC architecture

2009-02-26 Thread Felipe Cypriano
I think this is what we get using GWT: |- Client --| |--- Server | Views and ControllersControllers for domain logic | Model ---| On the client side we've classes responsible for

Re: strange behavior for float numbers

2009-02-26 Thread Felipe Cypriano
What about using this kind of rounding: var decimals = 2; var result = Math.round(number * Math.pow(10, dec)) / Math.pow(10, dec); Any problems with this approach? --- Felipe Marin Cypriano Vitória - ES http://www.linkedin.com/in/felipecypriano On Wed, Feb 25, 2009 at 12:50 PM, Alan Hadsell w

Re: Integrating GWT and Hibernate without Gilead?

2009-02-26 Thread Felipe Cypriano
Maybe what you're looking for is JSON, XML or DTO (Data Transfer Object). In those cases you will do the bridge between the hibernate model and the data sent to GWT client, not Gilead anymore. Regards, --- Felipe Marin Cypriano Vitória - ES http://www.linkedin.com/in/felipecypriano On Wed, Fe

Re: Does not work on Firefox

2009-02-26 Thread Felipe Cypriano
Maybe the compiler is set to just one browser, take a look at this: http://vinaytech.wordpress.com/2008/11/10/gwt-compiler-compiling-for-one-browser-and-also-supporting-hosted-mode/ Regards, --- Felipe Marin Cypriano Vitória - ES http://www.linkedin.com/in/felipecypriano On Thu, Feb 26, 2009 a

Re: Spring Security and GWT : how I've done

2009-02-26 Thread Felipe Cypriano
; relogin. Submitting this login request should reauthenticate the user and > then recreate a new session. > > Hope this helps > -ck > > On Feb 25, 2009, at 8:45 AM, Felipe Cypriano wrote: > > I'm thinking in using Grails (JSecurity Plugin, which "is" Sp

Re: Spring Security and GWT : how I've done

2009-02-25 Thread Felipe Cypriano
I'm thinking in using Grails (JSecurity Plugin, which "is" Spring Security) with GWT as the interface. Have you tried this? I haven't tested this yet, but the session expiration is a issue using GWT? For example, the timeout for a session is 30 minutes, everytime GWT does an "ajax" request the tim

Re: Package Organisation

2009-02-20 Thread Felipe Cypriano
Why don't you move the package database to a separate jar file and put this jar in the all projects? Regards, --- Felipe Marin Cypriano Vitória - ES http://www.linkedin.com/in/felipecypriano On Fri, Feb 20, 2009 at 12:10 PM, fatjack1...@googlemail.com < fatjack1...@googlemail.com> wrote: > > Hi

Re: GWT RPC problem while deploying on glassfish

2009-02-19 Thread Felipe Cypriano
What's is the code for this class: client.modeller.Student ? Regards, --- Felipe Marin Cypriano Vitória - ES http://www.linkedin.com/in/felipecypriano On Wed, Feb 18, 2009 at 12:15 PM, yek...@gmail.com wrote: > > Hi everybody > > I builded a war and using gwt-rpc mechanism. It works well on

Re: How do you build together GWT and, for example, grails?

2009-02-17 Thread Felipe Cypriano
Thanks Shawn. I'm starting to use Maven, it's very good to control a bunch of projects. I'll try to integrate your tips in maven. --- Felipe Marin Cypriano Vitória - ES On Tue, Feb 17, 2009 at 9:05 AM, Shawn Brown wrote: > > > In vc-grails/lib I've to put all others jar, and change them everyt

Re: gwt is good for develop erp system?

2009-02-17 Thread Felipe Cypriano
I don't see any problems with that. You'll split the whole project in various "sub projects" as your normally do with any other technology. If you'll have many modules you should consider use OSGito control the different modules. I never used this but when I need

How do you build together GWT and, for example, grails?

2009-02-17 Thread Felipe Cypriano
Hello everyone, I would like to know the community ideas about what I'm going to do. Any ideas are welcome, let's chat about it. I'm starting a new project to update a old one, so I've a few classes already working and I will reuse them. In general I'll use Grails (and implicit Spring and Hiberna

Re: Working with RPC - How To Organize Classes To Interact With Server

2009-02-16 Thread Felipe Cypriano
The main point for you is the ability to have a service that can provide methods for all the kinds of data that you have. I've no idea of how you're implementing the different kinds of data, so I'll guess one case. Your different data could decend from the same class, lets say Data. Each implement

Re: How to implement DTO correctly for use with RPC?

2009-02-12 Thread Felipe Cypriano
I'll test if packaging the DTO classes in another package works. On Thu, Feb 12, 2009 at 12:42 PM, BobM wrote: > The client side should not have to change anything. It works with > ItemDTO on its side and sends it back to the server side as required. > Why not? If a salesman has the rights to

Re: compiling gwt app

2009-02-12 Thread Felipe Cypriano
I think you're missing gwt-dev-.jar in your classpath. --- Felipe Marin Cypriano Vitória - ES On Thu, Feb 12, 2009 at 8:16 AM, ytbryan wrote: > > ok ... i used pause; > > > i got this error. tried searching in this forum but got no result. can > someone help me out? > > Exception in thread "m

Re: How to implement DTO correctly for use with RPC?

2009-02-12 Thread Felipe Cypriano
the other hand, the common > representation of values on any browser side presentation is ascii. > You can ship a big ascii number across to the server side and convert > it there to BigDecimal, if that is what you wish to use in your java > server side code. > > Just a few i

How to implement DTO correctly for use with RPC?

2009-02-11 Thread Felipe Cypriano
Hello, I'm studying the usage of GWT in the next version of our app. I've read the FAQ and some classes aren't support on client side, such as BigDecimal which is used extensively in our entities classes. So, what do you thinks is the best way to do the comunication between client and server and