Effect of using implementations rather than interfaces in client data model

2009-01-15 Thread Ravi M
Hi all I have a couple of somewhat basic, related and possibly duh! type questions (which the subject of this post doesn't articulate very well!) that I can't seem to find answers to on the forum etc. Couple of points before the actual questions. 1. This is using GWT 1.4.6x, if that makes a

Re: Exception handling in GWT Service

2008-11-26 Thread Ravi M
. On Nov 25, 3:33 pm, Ravi M [EMAIL PROTECTED] wrote: Ah me. Step 1 should read: 1. Declare your RPC exception like so: public class MyRPCException extends SerializableException {     public MyRPCException() {         super();     }     public MyRPCException(String message

Re: Exception handling in GWT Service

2008-11-25 Thread Ravi M
Satya, The following should work. 1. Declare your RPC exception like so: public class MyRPCException extends SerializableException { public TrackerRPCException() { super(); } public MyRPCException(String message) { super(message); } //... other stuff? }

Re: Exception handling in GWT Service

2008-11-25 Thread Ravi M
:32 am, Ravi M [EMAIL PROTECTED] wrote: Satya, The following should work. 1. Declare your RPC exception like so: public class MyRPCException extends SerializableException {     public TrackerRPCException() {         super();     }     public MyRPCException(String message

Re: Client Side Checked Exceptions

2008-10-28 Thread Ravi M
Stephen I _think_ Lothar's point is that MyException needs to extend com.google.gwt.user.client.rpc.SerializableException not just implement IsSerializable for exceptions across RPC to work properly. I had this problem a few weeks back where exceptions thrown across RPC were merely

Re: RPC + Serializable objects

2008-10-26 Thread Ravi M
the custom RemoteServiceServlet to be then defined at the struts-config so that the Action-Delegate-DAO structural integrity is maintained. i.e Browser --- GWT (Client) --- GWT (Server - RPC)   SomeAction Thanks for any info. Suri On Oct 25, 12:05 pm, Ravi M [EMAIL PROTECTED] wrote: Suri

Re: RPC + Serializable objects

2008-10-25 Thread Ravi M
Suri I strongly suspect (but cannot confirm!) that you won't be able to use XML Beans classes directly in your RPC. As Ian mentioned in one of his posts, classes such as BigDecimal, BigInteger etc. are not GWT serializable out of the box. The generated Java type for XML schema integer and