Hi, fair points: for BigDecimal I would probably use: http://code.google.com/p/gwt-math/
As far as the FetchType.EAGER is concerned (this is a shortened version of what you can find in the Pro Web 2.0 Application Development with GWT book): * it is there just so that I don't need to initialize the lazy collection/element explicitly; * if I change it to lazy the field will be null in the client code * I don't have to worry about the object graph resolution (circular references etc) this is done properly by GWT. For example if you have a PersistentBag that gets converted to a List you don't have to convert each of List elements since this is done by GWT. Cheers, Morswin On Feb 18, 10:44 am, Henry <[email protected]> wrote: > Hmmm ... > A decent soln 3.5 stars out of 5 > I noticed that FetchType.EAGER > this can be a problem. Is it not possible to create go into an > infinite loop (circular references)? > Also, how do you take care of BigDecimal? > > I'm still not convinced of the soln above and think I'll stay with > DTO's for now. > > Cheers, > Henry > > On Feb 16, 6:13 pm, Morswin <[email protected]> wrote: > > > > > Maybe someone will find that useful:http://code.google.com/p/gwt-ejb-sample/ > > Cheers, > > Morswin -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. 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.
