gwt-rpc

How to group gwt-rpc calls ?

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 ...

Apache Commons HTTPClient 3.x leaving connections open

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...

GWT - GXT - How to get Radio Button Value ?

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...

XStream in GWT's client side

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? ...

Paging a GWT-EXT datagrid with GWT-RPC ?

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 ? ...

GWT integration in existing J2EE application

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. ...

Combining TimeItem and DateItem values

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....

Is there a Flex equivalent of GWT-RPC?

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? ...

The prefix "security" for element "security:http" is not bound

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...

GWT Void remote services fail for seemingly no reason.

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...

GWT-Designer does not bild Async interfaces upon addition of Remote Service

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. ...

Problems passing class objects through GWT RPC

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...

using gwt dto and can skip async class

can anyone explain more how when using dto to serialized object , one can skip using aync class when using service? ...

gwt generate html for seo? what do u think?

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...

Sending persisted JDO instances over GWT-RPC

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...

how to setCookie in gwt client ?

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? ...

GWT + GAE/J, sending JDO objects through the wire, but how?

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'...

Ext-GWT TreeGrid indirectly calls a GWT-RPC callback? Why?

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...

gwt+comet need configure tomcat?

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? ...

Cancelling a server-side GWT call

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 ...