Thank you Genov, Jim, gregor for all the useful suggestions.
Gregor you are right. My problem is the asynchronous nature of
AJAX server calls but as you said that we all have to live with it.
Looks like I will go with MVP as suggested by Genov.
On May 10, 8:23 pm, gregor
Hi,
I am working on a database driven GWT application. Now, in my client
side I make RPC calls to basically fetch information from the
databse.
But the problem is that my client side code gets cluttered with RPC
calls and onFailure methods and onSuccess methods. Along with this my
UI code is also
Hello,
MVP or MVC may help you to solve this issue.
Here is some MVP solution that I'm using in one of my projects.
public interface CityDao {
void getAllCities(ApplicationCallbackListCity cities);
}
// may be tested without GWTTestCase
public class CityDaoRpc implements
I used Spring and Dreamsource ORM for a database driven GWT
application. I modified GWT mail so it can read mails from a database
server and save contacts into a database server. You can find this
example and its source code in http://www.gwtorm.com/gwtMail.jsp. It
would help you.
Jim