requestfactory

Using GWT Editors with a complex usecase

落花浮王杯 提交于 2019-11-27 11:30:37
I'm trying to create a page which is very similar to the Google Form creation page. This is how I am attempting to model it using the GWT MVP framework (Places and Activities), and Editors. CreateFormActivity (Activity and presenter) CreateFormView (interface for view, with nested Presenter interface) CreateFormViewImpl (implements CreateFormView and Editor< FormProxy > CreateFormViewImpl has the following sub-editors: TextBox title TextBox description QuestionListEditor questionList QuestionListEditor implements IsEditor< ListEditor< QuestionProxy, QuestionEditor>> QuestionEditor implements

GWT RequestFactory authentication functions

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-27 05:50:51
问题 I'm using GWT and RequestFactory on a new project that needs authentication. Where would be the best place to add the login and logout functions ? in a UserRequestContext ? Thanks in advance. 回答1: Use servlet filter. I split RequestFactory calls into two streams - one for unauthenticated calls and another one for authenticated ones. Here is piece of my web.xml . <servlet> <servlet-name>CustomRequestFactoryServlet</servlet-name> <servlet-class>my.server.CustomRequestFactoryServlet</servlet

When should I use RequestFactory vs GWT-RPC?

元气小坏坏 提交于 2019-11-27 04:09:50
问题 I am trying to figure out if I should migrate my gwt-rpc calls to the new GWT2.1 RequestFactory cals. Google documentation vaguely mentions that RequestFactory is a better client-server communication method for "data-oriented services" What I can distill from the documentation is that there is a new Proxy class that simplifies the communication (you don't pass back and forth the actual entity but just the proxy, so it is lighter weight and easier to manage) Is that the whole point or am I

GWT Spring Security Integration (PURE GWT, NO JSP)

孤街浪徒 提交于 2019-11-27 02:25:17
问题 I´m using GWT 2.4 and Spring 3.1 and I want to secure my application with Spring Security . I was looking for a GWT-only solution without a separate JSP login page. I found only old sites using JSP to do login, so this thread could result in a solution to fully integrate GWT with Spring Security in a standard way. Anyway, if there is a reference where this has been done successfully already, this thread can be closed with a link to that reference of course. So far here is my first approach: