Mined Opinions For API: com.google.gwt

This tab contains all the opinions collected from Stack Overflow about the API. The other tabs present summaries of the opinions using different algorithms.
  • if you want to gson on client side then you have to try this library URL_https://github.com/heroandtn3/bGwtGson .. details
  • i will do it like u said!.. details
  • I've pretty much used this method, as mentioned in my own answer.. details
  • Thank you!!. details
  • Here are some additional infos: URL_https://groups.google.com/forum/?fromgroups !topic/gwt-platform/HPPvtXgOW4A, URL_http://code.google.com/p/gwt-gae-book/wiki/GWTREST , URL_https://groups.google.com/forum/?fromgroups !topic/gwt-platform/ObvCSEIWj2o regarding GWTP and Restful services.. details
  • AutoBeans works, but they are some kind of buggy especially if you use Maps or Lists.. details
  • i will do it like u said!.. details
  • Means is it right if i am making a model using json like student?. details
  • I've not tried with complex and low level with Map, you can go with doc CODETERM1 URL_https://github.com/heroandtn3/bGwtGson [bGwtGson] library .. details
  • Thanks.. details
  • The design changed at the end but I now reread your answer and I think you were correct.. details
  • GWT actually has built in classes for working with JSON in the CODETERM1 package.. details
  • Finally you can use CODETERM6 as well, but it can have some performance issues.. details
  • You can deal with CODETERM4 easily in your java code, but if you prefer a CODETERM5 you need to write some extra code like this (taken from the URL_https://code.google.com/p/gwt-in-the- air/source/browse/trunk/src/net/ltgt/gwt/jscollections/client/JsArrays.java [jscollections] library).. details
  • Finally you can use CODETERM6 as well, but it can have some performance issues.. details
  • I don't want to create my own class because it is redundant for simple string array.. details
  • We discussed it at URL_http://gwt-code-reviews.appspot.com/1601805/ [http ://gwt-code-reviews.appspot.com/1601805/] Feel free to file an issue though, the decision was not a "no" but rather a "not now".. details
  • When i deserialize to json using AutoBean some works some dont!. details
  • I try this URL_http://stackoverflow.com/questions/13011520/gwt-autobean-set-initial- value-of-created-interface [solution] but dont seems to work.. details
  • but when i try to get the value1 or value2 i have an Error : TypeError: Cannot read property of null i think this happend because there is no initialized values like into their Class representation.. details
  • So How can I represent the AutoBean from my Example2 Class with init values?. details
  • but when i try to get the value1 or value2 i have an Error : TypeError: Cannot read property of null i think this happend because there is no initialized values like into their Class representation.. details
  • I try this URL_http://stackoverflow.com/questions/13011520/gwt-autobean-set-initial- value-of-created-interface [solution] but dont seems to work.. details
  • It supports only several base classes.. details
  • This second case is quite clear, the CODETERM6 class is not serializable.. details
  • So if you are using it to transfer data between your rest service and GWT front-end then its fine.To save Student JSON notation you can convert it to POJO using many available library like URL_http://jersey.java.net/nonav/documentation/latest/json.html [jersey] or URL_http://code.google.com/p/acris/wiki/GWTJsonizer [GWTJsonizer] and can store easily that to DB.. details
  • (because it will not need any conversion for sending to server) And if i am using Json it will give good performance like java?. details
  • (because it will not need any conversion for sending to server) And if i am using Json it will give good performance like java?. details
  • Which one is good Java or Json in GWT client?. details
  • I have a class Student and I want to save it in data base which is in web service.. details
  • Create client side utilities to convert the JSON response to a concrete CODETERM3 _The tutorial suggests the use of CODETERM4 inside a JSNI method, but I prefer to utilize URL_http://google-web-toolkit.googlecode.com/svn/javadoc/lat est/com/google/gwt/json/client/JSONParser.html#parseStrict%28java.lang.String% 29 [CODETERM5] as it will first try and call JavaScript's CODETERM6 on supporting browsers._ CODESNIPPET_JAVA2 .. details
  • I'll encompass the highlights and some snippets, just for the sake of completeness: 1.. details
  • Thanks, that makes sense.. details
  • Thanks .. details
  • I am actually using JsoSplittable but somehow I get an NPE when the GWT compiler rewrites the class for Hosted mode (to be honest I don't know enough about the internals of GWT, to know why it is doing it anyways).. details
  • Does it actually make sense to encode the payload when Autobean already does it for me for each field (security wise)?BTW: URL_http://www.wijsmullerbros.nl/content/gwt-hostpage-init-data - encoding.. details
  • Thanks for your response.. details
  • I recommend reading up on these two frameworks more before you make a decision.. details
  • An important architectural difference is that GWT-RPC operates at a more functional level.. details
  • In other words, what server and client are communicating are messages which must be well defined.. details
  • If you have only one use case for this then implementing your own servlet would probably do just fine.. details
  • I'm talking about hundreds of entries at a time, so I basically think I need a way to efficiently transfer the data.. details
  • A tutorial in something similar would be appreciated.. details
  • I am looking for an efficient way to convert a CODETERM1 into a form I can send via GWT-RPC that can be part of a GWT server-client communication in general.. details
  • I read the map like that: CODESNIPPET_JAVA3 .. details
  • With both key and value strings.. details
  • I have a JSON map like: CODESNIPPET_JAVA1 .. details
  • thanks a ton !!. details
  • yes, SmartGWT expects a specific JSON format.. details
  • Thanks, I've just understood that I should remove GWT and left only SmartGWT and ExtGWT in question.. details
  • GWT: working with JSON services.. details
  • I created a simple project with a help of URL_http://www.javacodegeeks.com/2010/07/add-json-gwt-application.html [this- tutorial] , it's really fine.. details
  • It's probably can't be fully explained in the answer, so a link (or a few) would be appreciated.. details
  • I created a simple project with a help of URL_http://www.javacodegeeks.com/2010/07/add-json-gwt-application.html [this- tutorial] , it's really fine.. details
  • I thought about two options (well, service is an overloaded term): everything that is mentioned in these JSON GWT tutorials is about the third-party services, like GData and Yahoo!. details
  • Knowing these two would be helpful.. details
  • URL_http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsOverlay.h tml [GWT-Coding-Basics---JavaScript-Overlay-Types] You can create overlay types pretty easily:- CODESNIPPET_JAVA1 .. details
  • This code is working fine If I use this on a usual java project/ console application.. details
  • I also convert the parsed DataTable back to JSON to store the json string in localStorage and parsing the stored json string also works fine.. details
  • The GWT CODETERM1 is just a simple wrapper which ultimately just calls the function of the underlying Javascript CODETERM2 via JSNI.So I don't see any reason why they should be incompatible.. details
  • Please tell me, what is the best way to implement such JSON service in SmartGWT or ExtGWT.. details
  • Also I hope that there is easier way than implement my own REST service.. details
  • I would appreciate if you tell me what that tools are, or that there're no such tools.. details
  • (Honestly I hope that there's the way that is such trivial as RPC service.). details
  • I'm working with SmartGWT / ExtGWT and want to know about implementation of JSON communication between server and client in these frameworks.. details
  • If there is no data in session, server reads it from the specified XML and saves to session.. details
  • I know that client's UI components in SmartGWT and ExtGWT can work with JSON, but have for this quite specific format.. details
  • The only way I see is implementing servlet(s) which will generate dynamical JSON responses, and will parse JSON requests.. details
  • Therefore I hope that ExtGWT and SmartGWT provides some tools for this (I found tools from client side, but nothing from server side).. details
  • I think that there are should be some approaches in ExtGWT / SmartGWT, but I couldn't find them.. details
  • The only way I see is implementing servlet(s) which will generate dynamical JSON responses, and will parse JSON requests.. details
  • Or if someone has some different approach to do this then please suggest.. details
  • I am using smart GWT for an application.. details
  • The way you are parsing the JSON structure is fine.. details
  • If we could find a way to serialize Java objects in gwt client code and deserialize it on the server side we could make our urls much easier to work with.. details
  • I do not care what the intermediate format is json/xml/whatever I just really want to be able stop keeping track of manually marshalling/unmarshalling parameters in my gwt client code as well as servlets.. details
  • Any help would be appreciated.. details
  • I looked all over the GWT docs and 'the Googles' to see if AutoBeans even has polymorphic support but couldn't get an answer either way.. details
  • Everything has been working so far except for one mapping.. details
  • I looked all over the GWT docs and 'the Googles' to see if AutoBeans even has polymorphic support but couldn't get an answer either way.. details
  • I looked all over the GWT docs and 'the Googles' to see if AutoBeans even has polymorphic support but couldn't get an answer either way.. details
  • The minute is in development mode, but I don't know if it would be any faster when I compile it.. details
  • I'm using GWT to build an application, and I'm facing serious speed issues with something that I thought would be pretty fast.. details
  • I'm using GWT to build an application, and I'm facing serious speed issues with something that I thought would be pretty fast.. details
  • The minute is in development mode, but I don't know if it would be any faster when I compile it.. details
  • With GWT, how would I go about looping through a JSON object or array, which has been returned via a JSNI method, that I could also extract both name and value pairs per loop?. details
  • Any help is appreciated.. details
  • Thanks.. details
  • How can Iknow what's the response value returned?. details
  • some GET-requests return 200, others 302 and so on, and I should beable to return a different "answer" respect to this value.. details
  • Interesting projects, didn't know they existed.. details
  • If you're clever enough, you could probably figure out how to make it work with a non GWT based server, but it would be an exercise in arcane hackery rather than practicality.. details
  • The whole point of GWT is that you can write your server-side and client-side code in Java, and have the framework compile that java to (supposedly optimized) javascript so it can run on the client.. details
  • Perhaps you can find a lightweight Java-based HTTP server that can run your local process with GWT-RPC code inside it to minimize the changes to your current code.. details
  • Currently I have a GWT application which communicates with a Java server via GWT-RPC; This GWT application is in many ways a desktop application as I have a wrapper which loads the web application and the users interact with this web-control.My needs have changed significantly and now I need to separate the application to two separate parts: 1) The UI 2) The communication with the server which needs to change to working with a local client process which will do the actual communication and will hand the application whatever it needs when updates arrive.. details
  • I'd appreciate any suggestions, Ittai .. details
  • I'm actually not too sure what I'm looking for can be done but I'd love to hear otherwise.. details
  • If this does not make sense please ask and I'll try to clarify.. details
  • Hope this helps.. details
  • Or - if you need a real CODETERM4 - you could iterate over all values and copy them to a CODETERM5 .. details
  • GWT has great serialization support.. details
  • Thanks,Sachin .. details
  • It is also available in 5 consistent editions for Java SE, Java EE, GWT, GAE and Android!. details
  • But in light of Jason's comment, I guess it's best to upgrade to GWT 2.1 M2 and use parseStrict() - otherwise, JSONParser has little to none benefits over JSO.. details
  • If you really have to use CODETERM14 , then I'd suggest upgrading to GWT 2.1 M2, because otherwise you might as well use JSOs.. details
  • Not the most interesting work, but at least its safer than just calling CODETERM6 on the whole JSON :) Attention: as Jason pointed out, prior to GWT 2.1, CODETERM7 used CODETERM8 internally (it only had a CODETERM9 method - URL_http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/json/client/JSONParser.html [GWT-2.0] javadocs vs URL_http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/json/client/JSONParser.html [GWT-2.1] ).. details
  • It looks like this is exactly what the doctor ordered.. details
  • Some excerpts from the description on the webpage: A cross-platform GWT & standard Java JSON library, with convenient classes, parsers, and utilities.. details
  • The same JSON API can be used in both standard Java and in GWT Java.. details
  • Also, I'm pretty new to GWT, and even though I have done a lot of Java, it was back in the 1.2 days, so it's a bit rusty.. details
  • The reason I can't just serialize everything directly, using GWT's own one, or one which works through reflection, is because we need a certain amount of logic going on in the serialization process.. details
  • I want to design the web service in between to be as simple as possible, and decided to take the RESTful approach.. details
  • I'm looking for a super simple JSON or YAML library (not particularly bothered which one) written in Java, and can be used in both GWT on the client, and in its original Java form on the server.. details
  • whether references to other models get serialized during the serialization of the original model, or whether an ID is just passed, and general simple things like that.. details
  • For the GWT compiler to find your classes they have to be and in your classpath, and they have to be referenced in a .gwt.xml module file as well.. details
  • It's pretty basic and not complete at this moment so I'm just trying (for now) to make sure I can get something back.. details
  • I'm still pretty new to JSON and GWT and I'm trying to figure out how to pass JSON data back from a page into my GWT app.. details
  • that could be a problem, I will try and get back in a day .. :).. details
  • @Christian Kuetbach you can deserializing/serialize with GWT AutoBean framework at client/server side, but i have not tried with complex Java Map.. details
  • that could be a problem, I will try and get back in a day .. :).. details
  • My doubt is I want java class to bind with GWT components(Student).. details
  • If you are still confused between java and javascript and json then probably its not the right time yet to ask this question.. details
  • GWT: conflicting classes in the gwt-user.jar.. details
  • This sounds like a stupid question, but I cannot find the answer.. details
  • So what is wrong here and how can I fix it?. details
  • I'm working with GWT and I'm getting a CODETERM1 Exception at runtime when I try to parse JSON.. details
  • Error: TypeError: Cannot read property 'length' of undefined at java_math_BigDecimal_$initFrom__Ljava_math_BigDecimal_2Ljava_lang_String_2 How to handle BigDecimal into GWT while deserializing with AutoBean?. details
  • URL_http://mojo.codehaus.org/gwt-maven-plugin/compile-mojo.html [maven-gwt- plugin] with parameter URL_http://mojo.codehaus.org/gwt-maven-plugin/compile- mojo.html#compileSourcesArtifacts [compileSourcesArtifacts] will do all sources management work and will let you to compile GWT module.. details
  • My doubt is In client side am I have to use Json object instead of Student?. details
  • _**Note:** If you're gonna use the CODETERM7 implementation anyway, the CODETERM8 argument needs to be wrapped in parentheses, i.e.. details
  • When I use a JSONObject (or Array) in my shared package, I get the exception that there was no source found (while it works on the server).. details
  • When I use a JSONObject (or Array) in my shared package, I get the exception that there was no source found (while it works on the server).. details
  • The reason why I do that is because I am using GWT, and gwt cannot convert timestamp into long datatype.. details
  • D'oh, it looks like it's not possible (or rather, not as easy): JsoSplittable is marked @GwtScriptOnly which makes it unusable in DevMode (and probably what causes the exception).. details
  • D'oh, it looks like it's not possible (or rather, not as easy): JsoSplittable is marked @GwtScriptOnly which makes it unusable in DevMode (and probably what causes the exception).. details
  • Could this be a bug in the gwt dev mode?. details
  • You have to use JsoSplittable explicitly, otherwise (using Splittable) GWT cannot know whether it's supposed to be a JsoSplittable or JsonSplittable; and JavaScriptObjects (like JsoSplittable; aka _overlay types_) are really special beasts: URL_http://code.google.com/p/google-web-toolkit/wiki/OverlayTypes .. details
  • +1 for a straight forward explanation of why the gwt documentation is unclear on whether eval() is used internally or not.. details
  • I am unsure about the new Exception, I knew little something about what causes NoClassDefFound, and I shared that with you.. details
  • It looks like the GWT DataTable is a direct analog of the Javascript object, and the Datasource Library has to be converted with a little effort.. details
  • There are two Java libraries with DataTable objects: [GWT DataTable]( URL_http://code.google.com/p/gwt-google-apis/source/browse/trunk/visual ization/visualization/src/com/google/gwt/visualization/client/DataTable.java?r 1153) and [Java Datasource Library DataTable]( URL_http://code.google.com/apis/cha rt/interactive/docs/dev/dsl_javadocs/com/google/visualization/datasource/datat able/DataTable.html).. details
  • Such a design would be very wrong using GWT-RPC.. details
  • What is wrong with that ?. details
  • I try to read it with an autobean and I get strange exceptions.. details
  • The error I'm getting is: CODESNIPPET_JAVA2 .. details
  • I try to read it with an autobean and I get strange exceptions.. details
  • Of course, a more fix-and-go solution would be to look for invalid input in the JSON string using regex and replacing that with a default 0 value.. details
  • I'm afraid that UI components in SmartGWT and ExtGWT have very specific JSON format for fetching, updating, filtering, etc, and it would be very painful implement servlet-based service.. details
  • All the GWT code samples related to JSON I saw so far seem to work with a JSON (or immitate this work with some mock-up JSON), that is retrieved and processed in GWT.. details
  • It's not very clear which Java objects you want to de/serialize, or how does the original URL get generated.. details
  • Getting the following exception on trying to make get request from a GWT servlet.. details
  • You may not use classes that are not emulated by GWT in client side code unless you provide source code (impossible in your case as you are trying to use a 3rd party library).. details
  • List of all emulated JRE classes: URL_http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html [ URL_http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html ] Read this comprehensive documentation on making cross-site requests in GWT: URL_http://code.google.com/webtoolkit/doc/latest/tutorial/Xsite.html [ URL_http://code.google.com/webtoolkit/doc/latest/tutorial/Xsite.html ] .. details
  • What should I do to remove these errors?. details
  • On compiling the code I am getting these errors.. details
  • What should I do to remove these errors?. details
  • Well I am using python on the backend and GWT on the frontend and passing a DataTable from the backend to the frontend works without any problems.. details
  • I am getting following errors : CODESNIPPET_JAVA2 .. details
  • And I am afraid that there are even more incompatibilities.. details
  • But I think that it's not very good idea.. details
  • But I think that it's not very good idea.. details
  • When opening the html file from my project directory, I get a (NS_ERROR_DOM_BAD_URI): Access to restricted URI denied code: 1012... errorSorry for diverting the topic.. details
  • A minute sounds a little bit much for around 800 records.. details
  • A minute sounds a little bit much for around 800 records.. details
  • We generate images based on dozens of parameters so what we do is build large complex urls and via a get request retrieve the dynamically built image.. details
  • Is there a way to downcast a GWT AutoBean?. details
  • When I map that to a corresponding AutoBean interface on the client I'm not able to downcast MyAbstractParentObject to its child type after it's been decoded.. details
  • Slow iteration through a JSONArray in GWT.. details
  • I have a JSONObject with data in the following structure (but that is much larger): CODESNIPPET_JAVA1 .. details
  • The for loop I'm executing is taking about a minute, which seems too long, and I'm not sure how to improve it.. details
  • I now understand that GWT compiler can only emulate the long in java code, and as soon as we drop down the JSNI level the compiler doesn't touch that code.. details
  • GWT problem with Long in Javascript JNI overlay types.. details
  • I'm avoiding operating with the long primitive in the overlay type, as the compiler doesn't allow it.. details
  • I'm having a problem with the conversion of a JSON to a JNI overlay type.. details
  • Is it something I'm doing wrong?. details
  • Actually I disagree 100% with mblin, it is definitively possible to develop your frontend in GWT and use whatever type of backend for it.. details
  • Because GWT can access any type of service through HTTP (effectively doing AJAX) you can call the backend as long as it exposes it's operations through HTTP (ideally using REST).. details
  • Short version: no, there would be no reason to try to use GWT with an erlang server, unless you just want to hack around with stuff for fun.. details
  • (from URL_http://code.google.com/p/google - web-toolkit/source/browse/trunk/user/src/com/google/gwt/json/client/JSONParser .java ).. details
  • Make sure to use JSONParser's parseStrict() method for untrusted/arbitrary JSON: "CAUTION!. details
  • For efficiency, this method is implemented using the JavaScript eval() function, which can execute arbitrary script.. details
  • As an alternative to CODETERM15 for untrusted sources, you could try integrating URL_http://stackoverflow.com/questions/3449099/parse-json-with-gwt-2-0/3449658#3449658 [json2.js-as-a-JSON-parser-via-JSNI] .. details
  • In GWT 2.1, CODETERM10 became deprecated and two more methods were introduced - CODETERM11 (uses CODETERM12 internally) and CODETERM13 (the safe approach).. details
  • In GWT 2.1, CODETERM10 became deprecated and two more methods were introduced - CODETERM11 (uses CODETERM12 internally) and CODETERM13 (the safe approach).. details
  • I am working on a GWT app that is receiving a JSON string, and I'm having a hard time getting down to the values of each object.. details
  • Is there something blatantly wrong with how I'm trying to do this, because I'm not getting much help in the way of error messages?. details
  • Is there something blatantly wrong with how I'm trying to do this, because I'm not getting much help in the way of error messages?. details
  • I think I have narrowed down the problem to where the CODETERM2 instance is being created.. details
  • What I'm trying to do is this: I have my models, which are shared between the client and the server, and these are the primary source of data interchange.. details
  • by hand fills me with absolute dread.. details
  • My problem is that I know our application will grow substantially in the future, and writing all the getters, setters, serialization, factories, etc.. details
  • So if you think I'm going about this problem completely the wrong way, I'm open to suggestions.. details
  • And in the case of GWT's own JSON library, it uses JSNI for speed purposes, making it useless server side.. details
  • I've then written an annotation processor to preprocess my shared models and generate an implementing class with all the getters, setters, serialization, lazy-loading, etc.. details
  • So in order to avoid it, I decided to implement annotations to keep track of attributes on the models.. details
  • However I get an error: No source code is available for type XYZ.GetProductTree; did you forget to inherit a required module?. details
  • However I get an error: No source code is available for type XYZ.GetProductTree; did you forget to inherit a required module?. details
Summaries the opinions about com.google.gwt using topic modeling.
  • 0. jscollections smartgwt answer write easily jsarrays trunk jsarraystring deal air: 7
    • I've pretty much used this method, as mentioned in my own answer.. details
    • I've not tried with complex and low level with Map, you can go with doc Finally if you want to gson on client side with GWT then you have to try bGwtGson library .. details
    • You can deal with JsArrayString easily in your java code, but if you prefer a java.lang.String[] you need to write some extra code like this (taken from the air/source/browse/trunk/src/net/ltgt/gwt/jscollections/client/JsArrays.java [jscollections] library).. details
    • When i deserialize to json using AutoBean some works some dont!. details
    • yes, SmartGWT expects a specific JSON format.. details
    • It's probably can't be fully explained in the answer, so a link (or a few) would be appreciated.. details
    • I'm working with SmartGWT / ExtGWT and want to know about implementation of JSON communication between server and client in these frameworks.. details
  • 1. jsonparser eval overlay jason encode create point attention call easily: 5
    • Does it actually make sense to encode the payload when Autobean already does it for me for each field (security wise)?BTW: - encoding.. details
    • If you have only one use case for this then implementing your own servlet would probably do just fine.. details
    • tml [GWT-Coding-Basics---JavaScript-Overlay-Types] You can create overlay types pretty easily:- CODESNIPPET .. details
    • But in light of Jason's comment, I guess it's best to upgrade to GWT 2.1 M2 and use parseStrict() - otherwise, JSONParser has little to none benefits over JSO.. details
    • Not the most interesting work, but at least its safer than just calling eval() on the whole JSON :) Attention: as Jason pointed out, prior to GWT 2.1, JSONParser used eval() internally (it only had a parse() method - GWT-2.0 javadocs vs GWT-2.1 ).. details
  • 2. side jsni call datatable build tutorial response simple create jsonparser: 12
    • if you want to gson on client side then you have to try this library .. details
    • GWT actually has built in classes for working with JSON in the com.google.gwt.json.clint package.. details
    • Finally you can use java.util.List<String> as well, but it can have some performance issues.. details
    • Create client side utilities to convert the JSON response to a concrete JavaScriptObject _The tutorial suggests the use of eval() inside a JSNI method, but I prefer to utilize est/com/google/gwt/json/client/JSONParser.html#parseStrict%28java.lang.String% 29 [CODETERM5] as it will first try and call JavaScript's JSON.parse() on supporting browsers._ CODESNIPPET .. details
    • In other words, what server and client are communicating are messages which must be well defined.. details
    • This code is working fine If I use this on a usual java project/ console application.. details
    • The GWT DataTable is just a simple wrapper which ultimately just calls the function of the underlying Javascript DataTable via JSNI.So I don't see any reason why they should be incompatible.. details
    • I do not care what the intermediate format is json/xml/whatever I just really want to be able stop keeping track of manually marshalling/unmarshalling parameters in my gwt client code as well as servlets.. details
    • If we could find a way to serialize Java objects in gwt client code and deserialize it on the server side we could make our urls much easier to work with.. details
    • I'm using GWT to build an application, and I'm facing serious speed issues with something that I thought would be pretty fast.. details
    • Interesting projects, didn't know they existed.. details
    • The whole point of GWT is that you can write your server-side and client-side code in Java, and have the framework compile that java to (supposedly optimized) javascript so it can run on the client.. details
  • 3. response return iknow pass figure sachin key service simple read: 5
    • Thanks for your response.. details
    • With both key and value strings.. details
    • How can Iknow what's the response value returned?. details
    • Thanks,Sachin .. details
    • I'm still pretty new to JSON and GWT and I'm trying to figure out how to pass JSON data back from a page into my GWT app.. details
  • 4. smartgwt extgwt find service side tool loop create simple student: 15
    • I don't want to create my own class because it is redundant for simple string array.. details
    • We discussed it at http ://gwt-code-reviews.appspot.com/1601805/] Feel free to file an issue though, the decision was not a "no" but rather a "not now".. details
    • So How can I represent the AutoBean from my Example2 Class with init values?. details
    • This second case is quite clear, the Long class is not serializable.. details
    • So if you are using it to transfer data between your rest service and GWT front-end then its fine.To save Student JSON notation you can convert it to POJO using many available library like jersey or GWTJsonizer and can store easily that to DB.. details
    • I created a simple project with a help of this- tutorial] , it's really fine.. details
    • I know that client's UI components in SmartGWT and ExtGWT can work with JSON, but have for this quite specific format.. details
    • I think that there are should be some approaches in ExtGWT / SmartGWT, but I couldn't find them.. details
    • Please tell me, what is the best way to implement such JSON service in SmartGWT or ExtGWT.. details
    • I would appreciate if you tell me what that tools are, or that there're no such tools.. details
    • Therefore I hope that ExtGWT and SmartGWT provides some tools for this (I found tools from client side, but nothing from server side).. details
    • With GWT, how would I go about looping through a JSON object or array, which has been returned via a JSNI method, that I could also extract both name and value pairs per loop?. details
    • If you really have to use JSONParser , then I'd suggest upgrading to GWT 2.1 M2, because otherwise you might as well use JSOs.. details
    • Also, I'm pretty new to GWT, and even though I have done a lot of Java, it was back in the 1.2 days, so it's a bit rusty.. details
    • For the GWT compiler to find your classes they have to be and in your classpath, and they have to be referenced in a .gwt.xml module file as well.. details
  • 5. base simple extgwt smartgwt question original form exercise understand snippet: 8
    • Means is it right if i am making a model using json like student?. details
    • It supports only several base classes.. details
    • I'll encompass the highlights and some snippets, just for the sake of completeness: 1.. details
    • Thanks, I've just understood that I should remove GWT and left only SmartGWT and ExtGWT in question.. details
    • If you're clever enough, you could probably figure out how to make it work with a non GWT based server, but it would be an exercise in arcane hackery rather than practicality.. details
    • It is also available in 5 consistent editions for Java SE, Java EE, GWT, GAE and Android!. details
    • I'm looking for a super simple JSON or YAML library (not particularly bothered which one) written in Java, and can be used in both GWT on the client, and in its original Java form on the server.. details
    • It's pretty basic and not complete at this moment so I'm just trying (for now) to make sure I can get something back.. details
  • 6. session response read servlet implement dynamical generate request save service: 2
    • If there is no data in session, server reads it from the specified XML and saves to session.. details
    • The only way I see is implementing servlet(s) which will generate dynamical JSON responses, and will parse JSON requests.. details
  • 7. service read autobeans answer null value1 happend typeerror reason property: 12
    • AutoBeans works, but they are some kind of buggy especially if you use Maps or Lists.. details
    • I try this value-of-created-interface [solution] but dont seems to work.. details
    • but when i try to get the value1 or value2 i have an Error : TypeError: Cannot read property of null i think this happend because there is no initialized values like into their Class representation.. details
    • I have a class Student and I want to save it in data base which is in web service.. details
    • (because it will not need any conversion for sending to server) And if i am using Json it will give good performance like java?. details
    • I recommend reading up on these two frameworks more before you make a decision.. details
    • A tutorial in something similar would be appreciated.. details
    • I read the map like that: CODESNIPPET .. details
    • GWT: working with JSON services.. details
    • Also I hope that there is easier way than implement my own REST service.. details
    • I looked all over the GWT docs and 'the Googles' to see if AutoBeans even has polymorphic support but couldn't get an answer either way.. details
    • The reason I can't just serialize everything directly, using GWT's own one, or one which works through reflection, is because we need a certain amount of logic going on in the serialization process.. details
  • 8. service communication platform rpc change separate model topic hashmap general: 29
    • Thank you!!. details
    • Here are some additional infos: !topic/gwt-platform/HPPvtXgOW4A, , !topic/gwt-platform/ObvCSEIWj2o regarding GWTP and Restful services.. details
    • i will do it like u said!.. details
    • Thanks.. details
    • The design changed at the end but I now reread your answer and I think you were correct.. details
    • Which one is good Java or Json in GWT client?. details
    • Thanks, that makes sense.. details
    • Thanks .. details
    • I'm talking about hundreds of entries at a time, so I basically think I need a way to efficiently transfer the data.. details
    • I am looking for an efficient way to convert a ResultSet into a form I can send via GWT-RPC that can be part of a GWT server-client communication in general.. details
    • I have a JSON map like: CODESNIPPET .. details
    • thanks a ton !!. details
    • I thought about two options (well, service is an overloaded term): everything that is mentioned in these JSON GWT tutorials is about the third-party services, like GData and Yahoo!. details
    • Knowing these two would be helpful.. details
    • (Honestly I hope that there's the way that is such trivial as RPC service.). details
    • I am using smart GWT for an application.. details
    • Any help would be appreciated.. details
    • The minute is in development mode, but I don't know if it would be any faster when I compile it.. details
    • Thanks.. details
    • Any help is appreciated.. details
    • Currently I have a GWT application which communicates with a Java server via GWT-RPC; This GWT application is in many ways a desktop application as I have a wrapper which loads the web application and the users interact with this web-control.My needs have changed significantly and now I need to separate the application to two separate parts: 1) The UI 2) The communication with the server which needs to change to working with a local client process which will do the actual communication and will hand the application whatever it needs when updates arrive.. details
    • I'd appreciate any suggestions, Ittai .. details
    • I'm actually not too sure what I'm looking for can be done but I'd love to hear otherwise.. details
    • Hope this helps.. details
    • Or - if you need a real java.util.HashMap - you could iterate over all values and copy them to a HashMap .. details
    • GWT has great serialization support.. details
    • It looks like this is exactly what the doctor ordered.. details
    • Some excerpts from the description on the webpage: A cross-platform GWT & standard Java JSON library, with convenient classes, parsers, and utilities.. details
    • whether references to other models get serialized during the serialization of the original model, or whether an ID is just passed, and general simple things like that.. details
  • 9. rpc return store approach service find change process current inside: 11
    • I am actually using JsoSplittable but somehow I get an NPE when the GWT compiler rewrites the class for Hosted mode (to be honest I don't know enough about the internals of GWT, to know why it is doing it anyways).. details
    • An important architectural difference is that GWT-RPC operates at a more functional level.. details
    • I also convert the parsed DataTable back to JSON to store the json string in localStorage and parsing the stored json string also works fine.. details
    • Or if someone has some different approach to do this then please suggest.. details
    • The way you are parsing the JSON structure is fine.. details
    • Everything has been working so far except for one mapping.. details
    • some GET-requests return 200, others 302 and so on, and I should beable to return a different "answer" respect to this value.. details
    • Perhaps you can find a lightweight Java-based HTTP server that can run your local process with GWT-RPC code inside it to minimize the changes to your current code.. details
    • If this does not make sense please ask and I'll try to clarify.. details
    • The same JSON API can be used in both standard Java and in GWT Java.. details
    • I want to design the web service in between to be as simple as possible, and decided to take the RESTful approach.. details
  • 0. jsosplittable long implement service http overlay share backend model generate: 16
    • If you are still confused between java and javascript and json then probably its not the right time yet to ask this question.. details
    • GWT: conflicting classes in the gwt-user.jar.. details
    • So what is wrong here and how can I fix it?. details
    • The reason why I do that is because I am using GWT, and gwt cannot convert timestamp into long datatype.. details
    • You have to use JsoSplittable explicitly, otherwise (using Splittable) GWT cannot know whether it's supposed to be a JsoSplittable or JsonSplittable; and JavaScriptObjects (like JsoSplittable; aka _overlay types_) are really special beasts: .. details
    • Such a design would be very wrong using GWT-RPC.. details
    • What is wrong with that ?. details
    • The error I'm getting is: CODESNIPPET .. details
    • I'm afraid that UI components in SmartGWT and ExtGWT have very specific JSON format for fetching, updating, filtering, etc, and it would be very painful implement servlet-based service.. details
    • All the GWT code samples related to JSON I saw so far seem to work with a JSON (or immitate this work with some mock-up JSON), that is retrieved and processed in GWT.. details
    • List of all emulated JRE classes: Read this comprehensive documentation on making cross-site requests in GWT: .. details
    • GWT problem with Long in Javascript JNI overlay types.. details
    • Is it something I'm doing wrong?. details
    • Because GWT can access any type of service through HTTP (effectively doing AJAX) you can call the backend as long as it exposes it's operations through HTTP (ideally using REST).. details
    • And in the case of GWT's own JSON library, it uses JSNI for speed purposes, making it useless server side.. details
    • I've then written an annotation processor to preprocess my shared models and generate an implementing class with all the getters, setters, serialization, lazy-loading, etc.. details
  • 1. build image large retrieve generate request parameter dozen base url: 4
    • My doubt is I want java class to bind with GWT components(Student).. details
    • We generate images based on dozens of parameters so what we do is build large complex urls and via a get request retrieve the dynamically built image.. details
    • Make sure to use JSONParser's parseStrict() method for untrusted/arbitrary JSON: "CAUTION!. details
    • My problem is that I know our application will grow substantially in the future, and writing all the getters, setters, serialization, factories, etc.. details
  • 2. backend frontend datatable pass regex input solution replace incompatibilities remove: 4
    • Of course, a more fix-and-go solution would be to look for invalid input in the JSON string using regex and replacing that with a default 0 value.. details
    • What should I do to remove these errors?. details
    • Well I am using python on the backend and GWT on the frontend and passing a DataTable from the backend to the frontend works without any problems.. details
    • And I am afraid that there are even more incompatibilities.. details
  • 3. compilesourcesartifacts exception eval jsonparser internally jsni forward follow untrusted documentation: 6
    • maven-gwt- plugin] with parameter mojo.html#compileSourcesArtifacts [compileSourcesArtifacts] will do all sources management work and will let you to compile GWT module.. details
    • +1 for a straight forward explanation of why the gwt documentation is unclear on whether eval() is used internally or not.. details
    • Getting the following exception on trying to make get request from a GWT servlet.. details
    • On compiling the code I am getting these errors.. details
    • A minute sounds a little bit much for around 800 records.. details
    • As an alternative to JSONParser for untrusted sources, you could try integrating json2.js-as-a-JSON-parser-via-JSNI .. details
  • 4. datatable visualization datasource dev src dsl datat html ization javadocs: 6
    • This sounds like a stupid question, but I cannot find the answer.. details
    • My doubt is In client side am I have to use Json object instead of Student?. details
    • There are two Java libraries with DataTable objects: [GWT DataTable]( ization/visualization/src/com/google/gwt/visualization/client/DataTable.java?r 1153) and [Java Datasource Library DataTable]( rt/interactive/docs/dev/dsl_javadocs/com/google/visualization/datasource/datat able/DataTable.html).. details
    • I'm having a problem with the conversion of a JSON to a JNI overlay type.. details
    • In GWT 2.1, parse() became deprecated and two more methods were introduced - parseLenient() (uses eval() internally) and parseStrict() (the safe approach).. details
    • Is there something blatantly wrong with how I'm trying to do this, because I'm not getting much help in the way of error messages?. details
  • 5. bigdecimal math autobean side read deserializing lang typeerror implement 2ljava: 6
    • Error: TypeError: Cannot read property 'length' of undefined at java_math_BigDecimal_$initFrom__Ljava_math_BigDecimal_2Ljava_lang_String_2 How to handle BigDecimal into GWT while deserializing with AutoBean?. details
    • _**Note:** If you're gonna use the eval() implementation anyway, the json argument needs to be wrapped in parentheses, i.e.. details
    • It looks like the GWT DataTable is a direct analog of the Javascript object, and the Datasource Library has to be converted with a little effort.. details
    • You may not use classes that are not emulated by GWT in client side code unless you provide source code (impossible in your case as you are trying to use a 3rd party library).. details
    • Short version: no, there would be no reason to try to use GWT with an erlang server, unless you just want to hack around with stuff for fun.. details
    • So in order to avoid it, I decided to implement annotations to keep track of attributes on the models.. details
  • 6. jsonparser browse trunk toolkit src exception runtime idea autobean rpc: 3
    • I'm working with GWT and I'm getting a gwt-user.jar Exception at runtime when I try to parse JSON.. details
    • But I think that it's not very good idea.. details
    • (from - web-toolkit/source/browse/trunk/user/src/com/google/gwt/json/client/JSONParser .java ).. details
  • 7. uri exception share jsonobject follow autobean html directory errorsorry open: 8
    • When I use a JSONObject (or Array) in my shared package, I get the exception that there was no source found (while it works on the server).. details
    • I am unsure about the new Exception, I knew little something about what causes NoClassDefFound, and I shared that with you.. details
    • I try to read it with an autobean and I get strange exceptions.. details
    • I am getting following errors : CODESNIPPET .. details
    • When opening the html file from my project directory, I get a (NS_ERROR_DOM_BAD_URI): Access to restricted URI denied code: 1012... errorSorry for diverting the topic.. details
    • I have a JSONObject with data in the following structure (but that is much larger): CODESNIPPET .. details
    • What I'm trying to do is this: I have my models, which are shared between the client and the server, and these are the primary source of data interchange.. details
    • by hand fills me with absolute dread.. details
  • 8. compiler long autobean serialize exception overlay side jsni emulate drop: 10
    • @Christian Kuetbach you can deserializing/serialize with GWT AutoBean framework at client/server side, but i have not tried with complex Java Map.. details
    • D'oh, it looks like it's not possible (or rather, not as easy): JsoSplittable is marked @GwtScriptOnly which makes it unusable in DevMode (and probably what causes the exception).. details
    • It's not very clear which Java objects you want to de/serialize, or how does the original URL get generated.. details
    • When I map that to a corresponding AutoBean interface on the client I'm not able to downcast MyAbstractParentObject to its child type after it's been decoded.. details
    • Is there a way to downcast a GWT AutoBean?. details
    • The for loop I'm executing is taking about a minute, which seems too long, and I'm not sure how to improve it.. details
    • I now understand that GWT compiler can only emulate the long in java code, and as soon as we drop down the JSNI level the compiler doesn't touch that code.. details
    • I'm avoiding operating with the long primitive in the overlay type, as the compiler doesn't allow it.. details
    • So if you think I'm going about this problem completely the wrong way, I'm open to suggestions.. details
    • However I get an error: No source code is available for type XYZ.GetProductTree; did you forget to inherit a required module?. details
  • 9. eval function frontend script execute implement efficiency mblin jsonvalue backend: 7
    • that could be a problem, I will try and get back in a day .. :).. details
    • Could this be a bug in the gwt dev mode?. details
    • Slow iteration through a JSONArray in GWT.. details
    • Actually I disagree 100% with mblin, it is definitively possible to develop your frontend in GWT and use whatever type of backend for it.. details
    • For efficiency, this method is implemented using the JavaScript eval() function, which can execute arbitrary script.. details
    • I think I have narrowed down the problem to where the JSONValue instance is being created.. details
    • I am working on a GWT app that is receiving a JSON string, and I'm having a hard time getting down to the values of each object.. details
Summaries of the opinions about com.google.gwt using three algorithms (Textrank, Lexrank and Luhn) adopted from extractive summarization. Each algorithm was used once for the positive opinions and once for the negative opinions.
  • I'm looking for a super simple JSON or YAML library (not particularly bothered which one) written in Java, and can be used in both GWT on the client, and in its original Java form on the server .
  • I have a class Student and I want to save it in data base which is in web service .
  • So if you are using it to transfer data between your rest service and GWT front end then its fine To save Student JSON notation you can convert it to POJO using many available library like jersey or GWTJsonizer and can store easily that to DB .
  • I've not tried with complex and low level with Map, you can go with doc Finally if you want to gson on client side with GWT then you have to try bGwtGson library .
  • if you want to gson on client side then you have to try this library .
  • For the GWT compiler to find your classes they have to be and in your classpath, and they have to be referenced in a gwt xml module file as well .
  • I am actually using JsoSplittable but somehow I get an NPE when the GWT compiler rewrites the class for Hosted mode (to be honest I don't know enough about the internals of GWT, to know why it is doing it anyways) .
  • GWT actually has built in classes for working with JSON in the com.google.gwt.json.clint package .
  • Currently I have a GWT application which communicates with a Java server via GWT RPC; This GWT application is in many ways a desktop application as I have a wrapper which loads the web application and the users interact with this web control My needs have changed significantly and now I need to separate the application to two separate parts: 1) The UI 2) The communication with the server which needs to change to working with a local client process which will do the actual communication and will hand the application whatever it needs when updates arrive .
  • but when i try to get the value1 or value2 i have an Error : TypeError: Cannot read property of null i think this happend because there is no initialized values like into their Class representation .
  • I'm looking for a super simple JSON or YAML library (not particularly bothered which one) written in Java, and can be used in both GWT on the client, and in its original Java form on the server .
  • Also, I'm pretty new to GWT, and even though I have done a lot of Java, it was back in the 1 2 days, so it's a bit rusty .
  • So if you are using it to transfer data between your rest service and GWT front end then its fine To save Student JSON notation you can convert it to POJO using many available library like jersey or GWTJsonizer and can store easily that to DB .
  • For the GWT compiler to find your classes they have to be and in your classpath, and they have to be referenced in a gwt xml module file as well .
  • I'm still pretty new to JSON and GWT and I'm trying to figure out how to pass JSON data back from a page into my GWT app .
  • I am actually using JsoSplittable but somehow I get an NPE when the GWT compiler rewrites the class for Hosted mode (to be honest I don't know enough about the internals of GWT, to know why it is doing it anyways) .
  • Currently I have a GWT application which communicates with a Java server via GWT RPC; This GWT application is in many ways a desktop application as I have a wrapper which loads the web application and the users interact with this web control My needs have changed significantly and now I need to separate the application to two separate parts: 1) The UI 2) The communication with the server which needs to change to working with a local client process which will do the actual communication and will hand the application whatever it needs when updates arrive .
  • The whole point of GWT is that you can write your server side and client side code in Java, and have the framework compile that java to (supposedly optimized) javascript so it can run on the client .
  • I am looking for an efficient way to convert a ResultSet into a form I can send via GWT RPC that can be part of a GWT server client communication in general .
  • Create client side utilities to convert the JSON response to a concrete JavaScriptObject The tutorial suggests the use of eval() inside a JSNI method, but I prefer to utilize est com google gwt json client JSONParser html#parseStrict%28java lang String% 29 JSONParser.parseStrict() as it will first try and call JavaScript's JSON.parse() on supporting browsers CODESNIPPET JAVA2 .
  • I'm looking for a super simple JSON or YAML library (not particularly bothered which one) written in Java, and can be used in both GWT on the client, and in its original Java form on the server .
  • So if you are using it to transfer data between your rest service and GWT front end then its fine To save Student JSON notation you can convert it to POJO using many available library like jersey or GWTJsonizer and can store easily that to DB .
  • I've not tried with complex and low level with Map, you can go with doc Finally if you want to gson on client side with GWT then you have to try bGwtGson library .
  • For the GWT compiler to find your classes they have to be and in your classpath, and they have to be referenced in a gwt xml module file as well .
  • If we could find a way to serialize Java objects in gwt client code and deserialize it on the server side we could make our urls much easier to work with .
  • I am actually using JsoSplittable but somehow I get an NPE when the GWT compiler rewrites the class for Hosted mode (to be honest I don't know enough about the internals of GWT, to know why it is doing it anyways) .
  • Currently I have a GWT application which communicates with a Java server via GWT RPC; This GWT application is in many ways a desktop application as I have a wrapper which loads the web application and the users interact with this web control My needs have changed significantly and now I need to separate the application to two separate parts: 1) The UI 2) The communication with the server which needs to change to working with a local client process which will do the actual communication and will hand the application whatever it needs when updates arrive .
  • The whole point of GWT is that you can write your server side and client side code in Java, and have the framework compile that java to (supposedly optimized) javascript so it can run on the client .
  • I am looking for an efficient way to convert a ResultSet into a form I can send via GWT RPC that can be part of a GWT server client communication in general .
  • Create client side utilities to convert the JSON response to a concrete JavaScriptObject The tutorial suggests the use of eval() inside a JSNI method, but I prefer to utilize est com google gwt json client JSONParser html#parseStrict%28java lang String% 29 JSONParser.parseStrict() as it will first try and call JavaScript's JSON.parse() on supporting browsers CODESNIPPET JAVA2 .
  • What I'm trying to do is this: I have my models, which are shared between the client and the server, and these are the primary source of data interchange .
  • So if you think I'm going about this problem completely the wrong way, I'm open to suggestions .
  • @Christian Kuetbach you can deserializing serialize with GWT AutoBean framework at client server side, but i have not tried with complex Java Map .
  • Getting the following exception on trying to make get request from a GWT servlet .
  • I try to read it with an autobean and I get strange exceptions .
  • You may not use classes that are not emulated by GWT in client side code unless you provide source code (impossible in your case as you are trying to use a 3rd party library) .
  • I'm working with GWT and I'm getting a gwt-user.jar Exception at runtime when I try to parse JSON .
  • So what is wrong here and how can I fix it?.
  • Because GWT can access any type of service through HTTP (effectively doing AJAX) you can call the backend as long as it exposes it's operations through HTTP (ideally using REST) .
  • that could be a problem, I will try and get back in a day :) .
  • What I'm trying to do is this: I have my models, which are shared between the client and the server, and these are the primary source of data interchange .
  • It looks like the GWT DataTable is a direct analog of the Javascript object, and the Datasource Library has to be converted with a little effort .
  • Well I am using python on the backend and GWT on the frontend and passing a DataTable from the backend to the frontend works without any problems .
  • I am working on a GWT app that is receiving a JSON string, and I'm having a hard time getting down to the values of each object .
  • All the GWT code samples related to JSON I saw so far seem to work with a JSON (or immitate this work with some mock up JSON), that is retrieved and processed in GWT .
  • When I map that to a corresponding AutoBean interface on the client I'm not able to downcast MyAbstractParentObject to its child type after it's been decoded .
  • I'm working with GWT and I'm getting a gwt-user.jar Exception at runtime when I try to parse JSON .
  • I now understand that GWT compiler can only emulate the long in java code, and as soon as we drop down the JSNI level the compiler doesn't touch that code .
  • The for loop I'm executing is taking about a minute, which seems too long, and I'm not sure how to improve it .
  • When I use a JSONObject (or Array) in my shared package, I get the exception that there was no source found (while it works on the server) .
  • What I'm trying to do is this: I have my models, which are shared between the client and the server, and these are the primary source of data interchange .
  • There are two Java libraries with DataTable objects: GWT DataTable]( ization visualization src com google gwt visualization client DataTable java?r 1153) and Java Datasource Library DataTable]( rt interactive docs dev dsl javadocs com google visualization datasource datat able DataTable html) .
  • It looks like the GWT DataTable is a direct analog of the Javascript object, and the Datasource Library has to be converted with a little effort .
  • Well I am using python on the backend and GWT on the frontend and passing a DataTable from the backend to the frontend works without any problems .
  • I am working on a GWT app that is receiving a JSON string, and I'm having a hard time getting down to the values of each object .
  • Is there something blatantly wrong with how I'm trying to do this, because I'm not getting much help in the way of error messages?.
  • You may not use classes that are not emulated by GWT in client side code unless you provide source code (impossible in your case as you are trying to use a 3rd party library) .
  • Because GWT can access any type of service through HTTP (effectively doing AJAX) you can call the backend as long as it exposes it's operations through HTTP (ideally using REST) .
  • Short version: no, there would be no reason to try to use GWT with an erlang server, unless you just want to hack around with stuff for fun .
  • When I use a JSONObject (or Array) in my shared package, I get the exception that there was no source found (while it works on the server) .
Summaries of the opinions about com.google.gwt using Opinosis, an abstractive summarizer of opinions..
  • specific format .
  • new to gwt .
  • standard java .
Summaries of the opinions about com.google.gwt using contrastive viewpoints. Each entry contains a pair of positive and negative sentences that are most likely discussing about similar API features.
    • An important architectural difference is that GWT RPC operates at a more functional level .
    • Such a design would be very wrong using GWT RPC .
    • I am using smart GWT for an application .
    • GWT: conflicting classes in the gwt user jar .
    • GWT has great serialization support .
    • GWT: conflicting classes in the gwt user jar .
    • I read the map like that: CODESNIPPET JAVA3 .
    • The error I'm getting is: CODESNIPPET JAVA2 .
    • I have a JSON map like: CODESNIPPET JAVA1 .
    • The error I'm getting is: CODESNIPPET JAVA2 .
    • Which one is good Java or Json in GWT client?.
    • GWT: conflicting classes in the gwt user jar .
Summaries of opinions about based on specific API aspects, such as, performance, usability, etc. The 'Overview' page provides an overview of the aspects detected in the opinions. The 'Trend' page shows the distribution of polarity over time for each aspect. The 'Positive Opinions' page groups positive opinions by the detected aspects. The 'Contrastive By Aspect' page shows paris of contrastive opinions under each aspect (where found).
Features:
  • if you want to gson on client side then you have to try this library URL_https://github.com/heroandtn3/bGwtGson .
  • GWT: conflicting classes in the gwt-user.jar.
Documentation:
  • Here are some additional infos: URL_https://groups.google.com/forum/?fromgroups !topic/gwt-platform/HPPvtXgOW4A, URL_http://code.google.com/p/gwt-gae-book/wiki/GWTREST , URL_https://groups.google.com/forum/?fromgroups !topic/gwt-platform/ObvCSEIWj2o regarding GWTP and Restful services.
  • List of all emulated JRE classes: URL_http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html [ URL_http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html ] Read this comprehensive documentation on making cross-site requests in GWT: URL_http://code.google.com/webtoolkit/doc/latest/tutorial/Xsite.html [ URL_http://code.google.com/webtoolkit/doc/latest/tutorial/Xsite.html ] .
Community:
  • I looked all over the GWT docs and 'the Googles' to see if AutoBeans even has polymorphic support but couldn't get an answer either way.
  • What should I do to remove these errors?
Onlysentiment:
  • Thank you!!
  • What is wrong with that ?
Performance:
  • Finally you can use CODETERM6 as well, but it can have some performance issues.
  • Slow iteration through a JSONArray in GWT.
Bug:
  • but when i try to get the value1 or value2 i have an Error : TypeError: Cannot read property of null i think this happend because there is no initialized values like into their Class representation.
  • that could be a problem, I will try and get back in a day .. :).
Usability:
  • AutoBeans works, but they are some kind of buggy especially if you use Maps or Lists.
  • @Christian Kuetbach you can deserializing/serialize with GWT AutoBean framework at client/server side, but i have not tried with complex Java Map.
  • Features: 16
    1. general: 7
      • I recommend reading up on these two frameworks more before you make a decision.. details
      • An important architectural difference is that GWT-RPC operates at a more functional level.. details
      • I'm talking about hundreds of entries at a time, so I basically think I need a way to efficiently transfer the data.. details
      • I read the map like that: CODESNIPPET_JAVA3 .. details
      • Knowing these two would be helpful.. details
      • Interesting projects, didn't know they existed.. details
      • It looks like this is exactly what the doctor ordered.. details
    2. rest: 1
      • Also I hope that there is easier way than implement my own REST service.. details
    3. gson: 1
      • if you want to gson on client side then you have to try this library URL_https://github.com/heroandtn3/bGwtGson .. details
    4. json: 5
      • Which one is good Java or Json in GWT client?. details
      • I have a JSON map like: CODESNIPPET_JAVA1 .. details
      • yes, SmartGWT expects a specific JSON format.. details
      • GWT: working with JSON services.. details
      • I thought about two options (well, service is an overloaded term): everything that is mentioned in these JSON GWT tutorials is about the third-party services, like GData and Yahoo!. details
    5. autobean: 1
      • So How can I represent the AutoBean from my Example2 Class with init values?. details
    6. response: 1
      • How can Iknow what's the response value returned?. details
  • Documentation: 5
    1. general: 5
      • Here are some additional infos: URL_https://groups.google.com/forum/?fromgroups !topic/gwt-platform/HPPvtXgOW4A, URL_http://code.google.com/p/gwt-gae-book/wiki/GWTREST , URL_https://groups.google.com/forum/?fromgroups !topic/gwt-platform/ObvCSEIWj2o regarding GWTP and Restful services.. details
      • I try this URL_http://stackoverflow.com/questions/13011520/gwt-autobean-set-initial- value-of-created-interface [solution] but dont seems to work.. details
      • A tutorial in something similar would be appreciated.. details
      • I created a simple project with a help of URL_http://www.javacodegeeks.com/2010/07/add-json-gwt-application.html [this- tutorial] , it's really fine.. details
      • I looked all over the GWT docs and 'the Googles' to see if AutoBeans even has polymorphic support but couldn't get an answer either way.. details
  • Community: 2
    1. general: 2
      • I looked all over the GWT docs and 'the Googles' to see if AutoBeans even has polymorphic support but couldn't get an answer either way.. details
      • Hope this helps.. details
  • Onlysentiment: 13
    1. general: 13
  • Performance: 4
    1. general: 4
      • Finally you can use CODETERM6 as well, but it can have some performance issues.. details
      • (because it will not need any conversion for sending to server) And if i am using Json it will give good performance like java?. details
      • I'm using GWT to build an application, and I'm facing serious speed issues with something that I thought would be pretty fast.. details
      • The minute is in development mode, but I don't know if it would be any faster when I compile it.. details
  • Bug: 2
    1. general: 2
      • but when i try to get the value1 or value2 i have an Error : TypeError: Cannot read property of null i think this happend because there is no initialized values like into their Class representation.. details
      • The only way I see is implementing servlet(s) which will generate dynamical JSON responses, and will parse JSON requests.. details
  • Usability: 75
    1. upgrade: 1
      • But in light of Jason's comment, I guess it's best to upgrade to GWT 2.1 M2 and use parseStrict() - otherwise, JSONParser has little to none benefits over JSO.. details
    2. autobean: 1
      • Does it actually make sense to encode the payload when Autobean already does it for me for each field (security wise)?BTW: URL_http://www.wijsmullerbros.nl/content/gwt-hostpage-init-data - encoding.. details
    3. return: 1
      • some GET-requests return 200, others 302 and so on, and I should beable to return a different "answer" respect to this value.. details
    4. string: 1
      • I don't want to create my own class because it is redundant for simple string array.. details
    5. service: 1
      • I want to design the web service in between to be as simple as possible, and decided to take the RESTful approach.. details
    6. communication: 1
      • I am looking for an efficient way to convert a CODETERM1 into a form I can send via GWT-RPC that can be part of a GWT server-client communication in general.. details
    7. javascript: 2
      • The GWT CODETERM1 is just a simple wrapper which ultimately just calls the function of the underlying Javascript CODETERM2 via JSNI.So I don't see any reason why they should be incompatible.. details
      • The whole point of GWT is that you can write your server-side and client-side code in Java, and have the framework compile that java to (supposedly optimized) javascript so it can run on the client.. details
    8. http: 1
      • Perhaps you can find a lightweight Java-based HTTP server that can run your local process with GWT-RPC code inside it to minimize the changes to your current code.. details
    9. general: 28
      • I've pretty much used this method, as mentioned in my own answer.. details
      • AutoBeans works, but they are some kind of buggy especially if you use Maps or Lists.. details
      • i will do it like u said!.. details
      • I've not tried with complex and low level with Map, you can go with doc CODETERM1 URL_https://github.com/heroandtn3/bGwtGson [bGwtGson] library .. details
      • You can deal with CODETERM4 easily in your java code, but if you prefer a CODETERM5 you need to write some extra code like this (taken from the URL_https://code.google.com/p/gwt-in-the- air/source/browse/trunk/src/net/ltgt/gwt/jscollections/client/JsArrays.java [jscollections] library).. details
      • I try this URL_http://stackoverflow.com/questions/13011520/gwt-autobean-set-initial- value-of-created-interface [solution] but dont seems to work.. details
      • It supports only several base classes.. details
      • I'll encompass the highlights and some snippets, just for the sake of completeness: 1.. details
      • If you have only one use case for this then implementing your own servlet would probably do just fine.. details
      • With both key and value strings.. details
      • It's probably can't be fully explained in the answer, so a link (or a few) would be appreciated.. details
      • I created a simple project with a help of URL_http://www.javacodegeeks.com/2010/07/add-json-gwt-application.html [this- tutorial] , it's really fine.. details
      • This code is working fine If I use this on a usual java project/ console application.. details
      • I would appreciate if you tell me what that tools are, or that there're no such tools.. details
      • (Honestly I hope that there's the way that is such trivial as RPC service.). details
      • I think that there are should be some approaches in ExtGWT / SmartGWT, but I couldn't find them.. details
      • Or if someone has some different approach to do this then please suggest.. details
      • I am using smart GWT for an application.. details
      • Everything has been working so far except for one mapping.. details
      • I looked all over the GWT docs and 'the Googles' to see if AutoBeans even has polymorphic support but couldn't get an answer either way.. details
      • The minute is in development mode, but I don't know if it would be any faster when I compile it.. details
      • I'm using GWT to build an application, and I'm facing serious speed issues with something that I thought would be pretty fast.. details
      • If you're clever enough, you could probably figure out how to make it work with a non GWT based server, but it would be an exercise in arcane hackery rather than practicality.. details
      • If this does not make sense please ask and I'll try to clarify.. details
      • It is also available in 5 consistent editions for Java SE, Java EE, GWT, GAE and Android!. details
      • If you really have to use CODETERM14 , then I'd suggest upgrading to GWT 2.1 M2, because otherwise you might as well use JSOs.. details
      • Also, I'm pretty new to GWT, and even though I have done a lot of Java, it was back in the 1.2 days, so it's a bit rusty.. details
      • It's pretty basic and not complete at this moment so I'm just trying (for now) to make sure I can get something back.. details
    10. json: 17
      • Means is it right if i am making a model using json like student?. details
      • GWT actually has built in classes for working with JSON in the CODETERM1 package.. details
      • When i deserialize to json using AutoBean some works some dont!. details
      • So if you are using it to transfer data between your rest service and GWT front-end then its fine.To save Student JSON notation you can convert it to POJO using many available library like URL_http://jersey.java.net/nonav/documentation/latest/json.html [jersey] or URL_http://code.google.com/p/acris/wiki/GWTJsonizer [GWTJsonizer] and can store easily that to DB.. details
      • (because it will not need any conversion for sending to server) And if i am using Json it will give good performance like java?. details
      • Create client side utilities to convert the JSON response to a concrete CODETERM3 _The tutorial suggests the use of CODETERM4 inside a JSNI method, but I prefer to utilize URL_http://google-web-toolkit.googlecode.com/svn/javadoc/lat est/com/google/gwt/json/client/JSONParser.html#parseStrict%28java.lang.String% 29 [CODETERM5] as it will first try and call JavaScript's CODETERM6 on supporting browsers._ CODESNIPPET_JAVA2 .. details
      • I also convert the parsed DataTable back to JSON to store the json string in localStorage and parsing the stored json string also works fine.. details
      • Please tell me, what is the best way to implement such JSON service in SmartGWT or ExtGWT.. details
      • I'm working with SmartGWT / ExtGWT and want to know about implementation of JSON communication between server and client in these frameworks.. details
      • The only way I see is implementing servlet(s) which will generate dynamical JSON responses, and will parse JSON requests.. details
      • The way you are parsing the JSON structure is fine.. details
      • With GWT, how would I go about looping through a JSON object or array, which has been returned via a JSNI method, that I could also extract both name and value pairs per loop?. details
      • Not the most interesting work, but at least its safer than just calling CODETERM6 on the whole JSON :) Attention: as Jason pointed out, prior to GWT 2.1, CODETERM7 used CODETERM8 internally (it only had a CODETERM9 method - URL_http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/json/client/JSONParser.html [GWT-2.0] javadocs vs URL_http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/json/client/JSONParser.html [GWT-2.1] ).. details
      • Some excerpts from the description on the webpage: A cross-platform GWT & standard Java JSON library, with convenient classes, parsers, and utilities.. details
      • The same JSON API can be used in both standard Java and in GWT Java.. details
      • I'm looking for a super simple JSON or YAML library (not particularly bothered which one) written in Java, and can be used in both GWT on the client, and in its original Java form on the server.. details
      • I'm still pretty new to JSON and GWT and I'm trying to figure out how to pass JSON data back from a page into my GWT app.. details
    11. client: 4
      • In other words, what server and client are communicating are messages which must be well defined.. details
      • If we could find a way to serialize Java objects in gwt client code and deserialize it on the server side we could make our urls much easier to work with.. details
      • I do not care what the intermediate format is json/xml/whatever I just really want to be able stop keeping track of manually marshalling/unmarshalling parameters in my gwt client code as well as servlets.. details
      • Currently I have a GWT application which communicates with a Java server via GWT-RPC; This GWT application is in many ways a desktop application as I have a wrapper which loads the web application and the users interact with this web-control.My needs have changed significantly and now I need to separate the application to two separate parts: 1) The UI 2) The communication with the server which needs to change to working with a local client process which will do the actual communication and will hand the application whatever it needs when updates arrive.. details
    12. design: 1
      • The design changed at the end but I now reread your answer and I think you were correct.. details
    13. types: 1
      • URL_http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsOverlay.h tml [GWT-Coding-Basics---JavaScript-Overlay-Types] You can create overlay types pretty easily:- CODESNIPPET_JAVA1 .. details
    14. file: 2
      • We discussed it at URL_http://gwt-code-reviews.appspot.com/1601805/ [http ://gwt-code-reviews.appspot.com/1601805/] Feel free to file an issue though, the decision was not a "no" but rather a "not now".. details
      • For the GWT compiler to find your classes they have to be and in your classpath, and they have to be referenced in a .gwt.xml module file as well.. details
    15. iterate: 1
      • Or - if you need a real CODETERM4 - you could iterate over all values and copy them to a CODETERM5 .. details
    16. performance: 1
      • Finally you can use CODETERM6 as well, but it can have some performance issues.. details
    17. serialization: 3
      • GWT has great serialization support.. details
      • The reason I can't just serialize everything directly, using GWT's own one, or one which works through reflection, is because we need a certain amount of logic going on in the serialization process.. details
      • whether references to other models get serialized during the serialization of the original model, or whether an ID is just passed, and general simple things like that.. details
    18. null: 1
      • but when i try to get the value1 or value2 i have an Error : TypeError: Cannot read property of null i think this happend because there is no initialized values like into their Class representation.. details
    19. data: 1
      • If there is no data in session, server reads it from the specified XML and saves to session.. details
    20. class: 3
      • This second case is quite clear, the CODETERM6 class is not serializable.. details
      • I have a class Student and I want to save it in data base which is in web service.. details
      • I am actually using JsoSplittable but somehow I get an NPE when the GWT compiler rewrites the class for Hosted mode (to be honest I don't know enough about the internals of GWT, to know why it is doing it anyways).. details
    21. smartgwt: 3
      • Thanks, I've just understood that I should remove GWT and left only SmartGWT and ExtGWT in question.. details
      • I know that client's UI components in SmartGWT and ExtGWT can work with JSON, but have for this quite specific format.. details
      • Therefore I hope that ExtGWT and SmartGWT provides some tools for this (I found tools from client side, but nothing from server side).. details
  • Features: 10
    1. data: 1
      • I have a JSONObject with data in the following structure (but that is much larger): CODESNIPPET_JAVA1 .. details
    2. general: 9
      • GWT: conflicting classes in the gwt-user.jar.. details
      • This sounds like a stupid question, but I cannot find the answer.. details
      • URL_http://mojo.codehaus.org/gwt-maven-plugin/compile-mojo.html [maven-gwt- plugin] with parameter URL_http://mojo.codehaus.org/gwt-maven-plugin/compile- mojo.html#compileSourcesArtifacts [compileSourcesArtifacts] will do all sources management work and will let you to compile GWT module.. details
      • There are two Java libraries with DataTable objects: [GWT DataTable]( URL_http://code.google.com/p/gwt-google-apis/source/browse/trunk/visual ization/visualization/src/com/google/gwt/visualization/client/DataTable.java?r 1153) and [Java Datasource Library DataTable]( URL_http://code.google.com/apis/cha rt/interactive/docs/dev/dsl_javadocs/com/google/visualization/datasource/datat able/DataTable.html).. details
      • It's not very clear which Java objects you want to de/serialize, or how does the original URL get generated.. details
      • On compiling the code I am getting these errors.. details
      • (from URL_http://code.google.com/p/google - web-toolkit/source/browse/trunk/user/src/com/google/gwt/json/client/JSONParser .java ).. details
      • by hand fills me with absolute dread.. details
      • My problem is that I know our application will grow substantially in the future, and writing all the getters, setters, serialization, factories, etc.. details
  • Documentation: 1
    1. general: 1
      • List of all emulated JRE classes: URL_http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html [ URL_http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html ] Read this comprehensive documentation on making cross-site requests in GWT: URL_http://code.google.com/webtoolkit/doc/latest/tutorial/Xsite.html [ URL_http://code.google.com/webtoolkit/doc/latest/tutorial/Xsite.html ] .. details
  • Community: 1
    1. general: 1
      • What should I do to remove these errors?. details
  • Onlysentiment: 5
    1. general: 5
      • What is wrong with that ?. details
      • I am getting following errors : CODESNIPPET_JAVA2 .. details
      • But I think that it's not very good idea.. details
      • A minute sounds a little bit much for around 800 records.. details
      • Is it something I'm doing wrong?. details
  • Performance: 2
    1. general: 2
      • Slow iteration through a JSONArray in GWT.. details
      • In GWT 2.1, CODETERM10 became deprecated and two more methods were introduced - CODETERM11 (uses CODETERM12 internally) and CODETERM13 (the safe approach).. details
  • Bug: 16
    1. required: 1
      • However I get an error: No source code is available for type XYZ.GetProductTree; did you forget to inherit a required module?. details
    2. exception: 3
      • I'm working with GWT and I'm getting a CODETERM1 Exception at runtime when I try to parse JSON.. details
      • When I use a JSONObject (or Array) in my shared package, I get the exception that there was no source found (while it works on the server).. details
      • Getting the following exception on trying to make get request from a GWT servlet.. details
    3. autobean: 1
      • I try to read it with an autobean and I get strange exceptions.. details
    4. javascript: 1
      • GWT problem with Long in Javascript JNI overlay types.. details
    5. general: 10
      • that could be a problem, I will try and get back in a day .. :).. details
      • So what is wrong here and how can I fix it?. details
      • Error: TypeError: Cannot read property 'length' of undefined at java_math_BigDecimal_$initFrom__Ljava_math_BigDecimal_2Ljava_lang_String_2 How to handle BigDecimal into GWT while deserializing with AutoBean?. details
      • D'oh, it looks like it's not possible (or rather, not as easy): JsoSplittable is marked @GwtScriptOnly which makes it unusable in DevMode (and probably what causes the exception).. details
      • Could this be a bug in the gwt dev mode?. details
      • I am unsure about the new Exception, I knew little something about what causes NoClassDefFound, and I shared that with you.. details
      • The error I'm getting is: CODESNIPPET_JAVA2 .. details
      • Is there something blatantly wrong with how I'm trying to do this, because I'm not getting much help in the way of error messages?. details
      • I think I have narrowed down the problem to where the CODETERM2 instance is being created.. details
      • So if you think I'm going about this problem completely the wrong way, I'm open to suggestions.. details
  • Usability: 45
    1. exception: 1
      • When I use a JSONObject (or Array) in my shared package, I get the exception that there was no source found (while it works on the server).. details
    2. javascript: 2
      • It looks like the GWT DataTable is a direct analog of the Javascript object, and the Datasource Library has to be converted with a little effort.. details
      • For efficiency, this method is implemented using the JavaScript eval() function, which can execute arbitrary script.. details
    3. http: 1
      • Because GWT can access any type of service through HTTP (effectively doing AJAX) you can call the backend as long as it exposes it's operations through HTTP (ideally using REST).. details
    4. python: 1
      • Well I am using python on the backend and GWT on the frontend and passing a DataTable from the backend to the frontend works without any problems.. details
    5. timestamp: 1
      • The reason why I do that is because I am using GWT, and gwt cannot convert timestamp into long datatype.. details
    6. documentation: 1
      • +1 for a straight forward explanation of why the gwt documentation is unclear on whether eval() is used internally or not.. details
    7. request: 1
      • We generate images based on dozens of parameters so what we do is build large complex urls and via a get request retrieve the dynamically built image.. details
    8. html: 1
      • When opening the html file from my project directory, I get a (NS_ERROR_DOM_BAD_URI): Access to restricted URI denied code: 1012... errorSorry for diverting the topic.. details
    9. general: 16
      • that could be a problem, I will try and get back in a day .. :).. details
      • _**Note:** If you're gonna use the CODETERM7 implementation anyway, the CODETERM8 argument needs to be wrapped in parentheses, i.e.. details
      • D'oh, it looks like it's not possible (or rather, not as easy): JsoSplittable is marked @GwtScriptOnly which makes it unusable in DevMode (and probably what causes the exception).. details
      • You have to use JsoSplittable explicitly, otherwise (using Splittable) GWT cannot know whether it's supposed to be a JsoSplittable or JsonSplittable; and JavaScriptObjects (like JsoSplittable; aka _overlay types_) are really special beasts: URL_http://code.google.com/p/google-web-toolkit/wiki/OverlayTypes .. details
      • What should I do to remove these errors?. details
      • And I am afraid that there are even more incompatibilities.. details
      • But I think that it's not very good idea.. details
      • A minute sounds a little bit much for around 800 records.. details
      • Is there a way to downcast a GWT AutoBean?. details
      • The for loop I'm executing is taking about a minute, which seems too long, and I'm not sure how to improve it.. details
      • Actually I disagree 100% with mblin, it is definitively possible to develop your frontend in GWT and use whatever type of backend for it.. details
      • Short version: no, there would be no reason to try to use GWT with an erlang server, unless you just want to hack around with stuff for fun.. details
      • Make sure to use JSONParser's parseStrict() method for untrusted/arbitrary JSON: "CAUTION!. details
      • As an alternative to CODETERM15 for untrusted sources, you could try integrating URL_http://stackoverflow.com/questions/3449099/parse-json-with-gwt-2-0/3449658#3449658 [json2.js-as-a-JSON-parser-via-JSNI] .. details
      • In GWT 2.1, CODETERM10 became deprecated and two more methods were introduced - CODETERM11 (uses CODETERM12 internally) and CODETERM13 (the safe approach).. details
      • Is there something blatantly wrong with how I'm trying to do this, because I'm not getting much help in the way of error messages?. details
    10. json: 8
      • If you are still confused between java and javascript and json then probably its not the right time yet to ask this question.. details
      • My doubt is In client side am I have to use Json object instead of Student?. details
      • Of course, a more fix-and-go solution would be to look for invalid input in the JSON string using regex and replacing that with a default 0 value.. details
      • I'm afraid that UI components in SmartGWT and ExtGWT have very specific JSON format for fetching, updating, filtering, etc, and it would be very painful implement servlet-based service.. details
      • All the GWT code samples related to JSON I saw so far seem to work with a JSON (or immitate this work with some mock-up JSON), that is retrieved and processed in GWT.. details
      • I'm having a problem with the conversion of a JSON to a JNI overlay type.. details
      • I am working on a GWT app that is receiving a JSON string, and I'm having a hard time getting down to the values of each object.. details
      • And in the case of GWT's own JSON library, it uses JSNI for speed purposes, making it useless server side.. details
    11. client: 1
      • You may not use classes that are not emulated by GWT in client side code unless you provide source code (impossible in your case as you are trying to use a 3rd party library).. details
    12. design: 1
      • Such a design would be very wrong using GWT-RPC.. details
    13. annotations: 1
      • So in order to avoid it, I decided to implement annotations to keep track of attributes on the models.. details
    14. jsni: 1
      • I now understand that GWT compiler can only emulate the long in java code, and as soon as we drop down the JSNI level the compiler doesn't touch that code.. details
    15. required: 1
      • However I get an error: No source code is available for type XYZ.GetProductTree; did you forget to inherit a required module?. details
    16. primitive: 1
      • I'm avoiding operating with the long primitive in the overlay type, as the compiler doesn't allow it.. details
    17. autobean: 3
      • @Christian Kuetbach you can deserializing/serialize with GWT AutoBean framework at client/server side, but i have not tried with complex Java Map.. details
      • I try to read it with an autobean and I get strange exceptions.. details
      • When I map that to a corresponding AutoBean interface on the client I'm not able to downcast MyAbstractParentObject to its child type after it's been decoded.. details
    18. data: 1
      • What I'm trying to do is this: I have my models, which are shared between the client and the server, and these are the primary source of data interchange.. details
    19. class: 2
      • My doubt is I want java class to bind with GWT components(Student).. details
      • I've then written an annotation processor to preprocess my shared models and generate an implementing class with all the getters, setters, serialization, lazy-loading, etc.. details