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: How to implement DTO correctly for use with RPC?

2009-02-12 Thread BobM
See my comments in line, below ... > Assuming I've this entity class: > > package myapp.entity; > public class Item { > private int id; > private String productName; > private BigDecimal price; > > // getters and setters > > } > > This class is packaged in a file called entitie

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

2009-02-12 Thread Felipe Cypriano
BobM, See if my thoughts are right. Assuming I've this entity class: package myapp.entity; public class Item { private int id; private String productName; private BigDecimal price; // getters and setters } This class is packaged in a file called entities.jar and because the

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

2009-02-11 Thread BobM
Felipe, You can use anything on the client side that GWT supports, and that includes everything supported by HTML and javaScript, you can use anything on the server side that java allows. You would likely communicate from client side to server side using GWT RPC mechanisms. by which you can ship

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