With DWR it is possible to group together several service calls into one single HTTP request :
dwr batch feature
This feature is very useful to reduce the latency of an ajax application.
Is there a way to do something similar with GWT / GWT-RPC ?
Thanks for your help
...
I'm using HttpClient to execute a PostMethod against a remote servlet and for some reason a lot of my connections are hanging open and hogging up all of my server's connections.
Here's more info about the architecture
GWT client calls into a GWT Service
GWT service instantiates a HttpClient, creates a PostMethod and has the client execut...
Hi
I am using GWT (Google Web Toolkit) 1.5.3 et GXT (ExtJS) 1.2
I just want to create a simple form with some radio buttons generated after a RPC call, to get some values
Code:
final FormPanel simple = new FormPanel();
simple.setFrame(true);
simple.setWidth(350);
simple.setHeaderVisible(false);
DateField date = ne...
I want to use XStream to serialize my RPC calls on my GWT application, and I'm hoping to get it done both ways, as I'm sending java objects back and forth. Is it possible to run XStream on the client side? how? Alternatively, can you recommend of any other xml-serializer for the client side?
...
I need to display data coming from a GWT-RPC service in a paginated datagrid.
The gwt-ext showcase does not provide an example combining gwt-rpc calls and datagrids.
That is too bad because the original javascript Ext grid components offer paging and remote sorting. How to take advantage of these features with GWT ?
...
Hi ,
I am new to GWT.I have developed a GWT application in version-1.6.4 and it is working fine.Now I want to integrate with that project in existing J2EE application.I dont know how to go ahead?
Where to copy GWT source codes in existing J2EE application.I am using RPC also in GWT.
Can anyone provide help on this?
Thanks.
...
I have to combine the time value for TimeItem and date value from DateItem in smartgwt.In output I want the date object for java.util.Date.I tried to combine these two.I couldnot do that.
Sample code is :
DateItem date=new DateItem();
TimeItem time=new TimeItem();
DynamicForm form=new DynamicForm();
form.setFields(date,time);
// java....
Right now a lot of my applications use GWT-RPC for retrieving POJO's from a GWT RemoteService which in turn calls a Web Service (SOAP) to get the data. I am evaluating Flex and didn't really see anything truly analogous to this simple architecture. Anything I may have missed?
...
i get error
2009-05-24 21:49:56,399 ERROR [org.springframework.web.context.ContextLoader] - Context initialization failed
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 38 in XML document from ServletContext resource [/WEB-INF/applicationContext.xml] is invalid; nested exception is org.xml.sax.SAXParseExc...
Hello,
I'm working on a GWT project and have several void remote services that seem to execute just fine, but on the client side, end up firing the onFailure() method. No exceptions are thrown anywhere, and the expected behavior is observed on the backend. I have no idea what could be going wrong. Here is the relevant code:
Interfac...
Hello,
I'm using GWT-Designer on a GWT project. It has been working well however some configuration got fouled up and it no longer builds Async interfaces and Implementations when you create a new Remote service. It has something to do with Eclipse Auto Build but I don't know how to see if this is enabled or how to trouble shoot it. ...
I've run through the Google Web Toolkit StockWatcher Tutorial using Eclipse and the Google Plugin, and I'm attempting to make some basic changes to it so I can better understand the RPC framework.
I've modified the "getStocks" method on the StockServiceImpl server-side class so that it returns an array of Stock objects instead of String...
can anyone explain more how when using dto to serialized object , one can skip using aync class when using service?
...
i found this article http://docs.google.com/Doc?id=dcsq25m_04k4cmgfd . generate html on server side for spider. what do you folks think about using this technique to serve different content depending on user-agent ?
any reference articles, u folks wanna share on best way to do seo on gwt? also, i did read up pro gwt2.0 technique, but s...
I've just started learning Google Web Toolkit and finished writing the Stock Watcher tutorial app.
Is my thinking correct that if one wants to persist a business object (like a Stock) using JDO and send it back and forth to/from the client over RPC then one has to create two separate classes for that object: One with the JDO annotations...
in my servlet, i have this line
CookieManager.getRequestCookieValue(request, "app-openid-identifier");
CookieManager.getRequestCookieValue(request, "app-openid-uniqueid");
in my gwt client composite file, how to i set cookie for "app-openid-identifier" and do "get" to call the servlet?
...
Hi
I'm having a problem. I would like to create Document object, and I would like to have a user property with com.google.appengine.api.users.User type (on GAE's docs site, they said we should use this object instead of email address or something else, because this object probably will be enchanced to be unique). But now the object can'...
I am using GWT-RPC to populate Ext-GWT TreeGrids with data from a server. I am using 4 callbacks to populate 6 TreeGrids. As the callback onSuccess function modifies the TreeGrid by inserting rows, the TreeGridView needs to render the rows. The callback class is called MainPnlSummaryTablesAsyncCallback.
For some reason, when it needs...
hi,
i am refering to this tutorial http://www.jroller.com/masini/entry/a_comet_implementation_for_google . is it a must to configure tomcat when using comet?
can gwt+comet run on hosted mode or required -noserver?
...
I'm using RequestBuilder to time out GWT requests which take too long:
RequestBuilder requestBuilder = _service.getStatistics(callback);
requestBuilder.setTimeoutMillis(5000);
try {
requestBuilder.send();
} catch (RequestException e) {
GWT.getUncaughtExceptionHandler().onUncaughtException(e);
}
Is there a way of notifying the ...