Re: Google Chart API Vs Visualization API

2009-04-18 Thread Jeremiah Elliott
Not really gwt related, but the chart api builds static png files. The
visualivation api builds interactive svg / java script.

On Apr 16, 2009 12:20 PM, Sam mythreye...@gmail.com wrote:


Can somebody highlight the differences between Chart API and
Visualization API? Which is more powerful in terms of creating bar
graphs and pie charts?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT hosted mode ubuntu 8.10 - does not show content

2009-03-22 Thread Jeremiah Elliott
Are you running the 32 or 64 bit version of ubuntu? The hosted browser runs
only in 32 bit mode. I can't remember if your symptoms match what the hosted
browser does in a 64bit environment or not. There is a simple workaround
that requires downloading a 32 bit version of the jdk. Search the group for
the details.

-Jeremiah Elliott


On Sun, Mar 22, 2009 at 4:51 PM, jakob.ga...@gmail.com 
jakob.ga...@gmail.com wrote:


 Hi,

 After reading, searching and trying, I still can't get hosted mode to
 work on my system.

 The shell starts just fine, but even the Hello sample doesn't
 render. Nothing happens and the Compile/Browse button is grayed out.

 Anyone who was able to fix this problem?

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT Enhancements RoadMap

2008-12-11 Thread Jeremiah Elliott
http://googlewebtoolkit.blogspot.com/

this answers some of your questions.

On Wed, Dec 10, 2008 at 8:21 PM, GWTFan valavanur...@gmail.com wrote:


 In the Google IO conference this year we brought up the discussion on
 using toolkits like GXT (for its richness and for widgets like
 datepicker, closable tabs, etc). One of the points that was put forth
 was that these toolkits are not free for commercial use.

 I would like to know if GWT team has plans to expand the widget range
 and include widgets like DateField, DatePicker, Closable TabPanel,
 ComboBox?

 Also is there a roadmap for the future GWT versions. We are in the
 final stages of completing our web application using GWT. We are
 planning to go to production around Apr next year and are keen to know
 the plans for GWT.

 Thanks
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Strange problem with gwt, tomcat and memcached

2008-11-27 Thread Jeremiah Elliott
Well, the problem was due to the tomcat classloader. Not sure why, but when
i packaged the memcached jar in the war file (It had been in tomcat's top
level lib directory) it worked! Not a GWT issue. ;-)

-Jeremiah

On Mon, Nov 24, 2008 at 3:11 PM, Jeremiah Elliott [EMAIL PROTECTED]wrote:

 Ok, still having issues with this... Has anyone here used memcached with
 gwt? I am starting to thing the problem is because the Report object is both
 IsSerializable and  java.io.Serializable?  Any kind of pointer would be
 good. Thanks
 -Jeremiah


 On Sat, Nov 22, 2008 at 1:10 PM, Jeremiah Elliott [EMAIL PROTECTED]wrote:

 ok, I am not even 100% sure this is a GWT issue. The more I mess with it
 the more I am convinced that it is somehow gwt related. Anyway I am in the
 process of adding memcache to the application I am working on. In hosted
 mode it worked exactly as expected. Huge speed improvement, and the
 memcached log shows my objects going in and out as expected. The problem is
 that when i publish the application to tomcat the cache doesn't work. I can
 still add items to the cache, but when i pull items out of the cache I get a
 class not found exception.
 Initially I thought that the problem may be because the object being
 cached lives in the client package. (com.sagus.client.Report) I createdd a
 shared package as discribed here

 http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/51a8a9bb3f141ab4/c43fcc7dad3f7fde?lnk=gstq=foo.bar.shared#c43fcc7dad3f7fde
 however this didnt' solve the problem. I could still set and get the
 Report object in Hosted Mode but in production on tomcat I got the same
 message. Here is the stacktrace:
 java.lang.ClassNotFoundException: com.sagus.Shared.Report
 at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:247)
 ..



 Well, clearly it can find com.sagus.Shared.Report because is putting it
 into memcache just fine. In a last act of desperation, i exported the
 contents of src into a jar file using eclipse export feature, and dumped
 that into Tomcat's lib directory. Now I am getting a ClassCastException:

 2008-11-22 12:33:57,425 : ERROR :
 com.sagus.server.DataCache.getWidget(DataCache.java:27) : get widget 18:
 java.lang.ClassCastException: com.sagus.Shared.Report cannot be cast to
 com.sagus.Shared.Report
 at com.sagus.server.DataCache.getWidget(DataCache.java:25)
 at
 com.sagus.server.SagusDashImpl.getReportById(SagusDashImpl.java:244)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)
 at
 com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
 at
 com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
 ..




 This is the class I am using to do the memcache sets and gets:

 package com.sagus.server;

 import java.io.IOException;
 import java.net.InetSocketAddress;
 import net.spy.memcached.MemcachedClient;
 import org.apache.log4j.Logger;
 import com.sagus.Shared.Report;

 public class DataCache {
 private static final Loggerlogger=
 SagusDashImpl.getLogger();
 private static StringWIDGET_PREFIX= PROD_WIDGET_;
 private static MemcachedClientc= null;

 public DataCache() {
 try {
 c = new MemcachedClient(new InetSocketAddress(localhost,
 11211));
 } catch (IOException ioe) {
 logger.error(init DataCache , ioe);
 }
 }

 public Report getWidget(int id) {
 Report r = null;
 try {
 r = (Report) c.get(WIDGET_PREFIX + id);
 } catch (Exception e) {
 logger.error(get widget  + id + : , e);
 }
 return r;
 }

 public void cacheWidget(Report report) {
 try {
 c.set(WIDGET_PREFIX + report.getWidgetId(), 36, report);
 } catch (Exception e) {
 logger.error(cacheWidget , e);
 }
 }


 Here is the object being cached, its just a pojo:

 package com.sagus.Shared;
 import java.util.ArrayList;
 import java.util.Date;
 import com.google.gwt.user.client.rpc.IsSerializable;

 public class Report implements IsSerializable, java.io.Serializable {
 
 }


 On one

Re: Strange problem with gwt, tomcat and memcached

2008-11-24 Thread Jeremiah Elliott
Ok, still having issues with this... Has anyone here used memcached with
gwt? I am starting to thing the problem is because the Report object is both
IsSerializable and  java.io.Serializable?  Any kind of pointer would be
good. Thanks
-Jeremiah

On Sat, Nov 22, 2008 at 1:10 PM, Jeremiah Elliott [EMAIL PROTECTED]wrote:

 ok, I am not even 100% sure this is a GWT issue. The more I mess with it
 the more I am convinced that it is somehow gwt related. Anyway I am in the
 process of adding memcache to the application I am working on. In hosted
 mode it worked exactly as expected. Huge speed improvement, and the
 memcached log shows my objects going in and out as expected. The problem is
 that when i publish the application to tomcat the cache doesn't work. I can
 still add items to the cache, but when i pull items out of the cache I get a
 class not found exception.
 Initially I thought that the problem may be because the object being cached
 lives in the client package. (com.sagus.client.Report) I createdd a shared
 package as discribed here

 http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/51a8a9bb3f141ab4/c43fcc7dad3f7fde?lnk=gstq=foo.bar.shared#c43fcc7dad3f7fde
 however this didnt' solve the problem. I could still set and get the Report
 object in Hosted Mode but in production on tomcat I got the same message.
 Here is the stacktrace:
 java.lang.ClassNotFoundException: com.sagus.Shared.Report
 at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:247)
 ..



 Well, clearly it can find com.sagus.Shared.Report because is putting it
 into memcache just fine. In a last act of desperation, i exported the
 contents of src into a jar file using eclipse export feature, and dumped
 that into Tomcat's lib directory. Now I am getting a ClassCastException:

 2008-11-22 12:33:57,425 : ERROR :
 com.sagus.server.DataCache.getWidget(DataCache.java:27) : get widget 18:
 java.lang.ClassCastException: com.sagus.Shared.Report cannot be cast to
 com.sagus.Shared.Report
 at com.sagus.server.DataCache.getWidget(DataCache.java:25)
 at com.sagus.server.SagusDashImpl.getReportById(SagusDashImpl.java:244)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)
 at
 com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
 at
 com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
 ..




 This is the class I am using to do the memcache sets and gets:

 package com.sagus.server;

 import java.io.IOException;
 import java.net.InetSocketAddress;
 import net.spy.memcached.MemcachedClient;
 import org.apache.log4j.Logger;
 import com.sagus.Shared.Report;

 public class DataCache {
 private static final Loggerlogger=
 SagusDashImpl.getLogger();
 private static StringWIDGET_PREFIX= PROD_WIDGET_;
 private static MemcachedClientc= null;

 public DataCache() {
 try {
 c = new MemcachedClient(new InetSocketAddress(localhost,
 11211));
 } catch (IOException ioe) {
 logger.error(init DataCache , ioe);
 }
 }

 public Report getWidget(int id) {
 Report r = null;
 try {
 r = (Report) c.get(WIDGET_PREFIX + id);
 } catch (Exception e) {
 logger.error(get widget  + id + : , e);
 }
 return r;
 }

 public void cacheWidget(Report report) {
 try {
 c.set(WIDGET_PREFIX + report.getWidgetId(), 36, report);
 } catch (Exception e) {
 logger.error(cacheWidget , e);
 }
 }


 Here is the object being cached, its just a pojo:

 package com.sagus.Shared;
 import java.util.ArrayList;
 import java.util.Date;
 import com.google.gwt.user.client.rpc.IsSerializable;

 public class Report implements IsSerializable, java.io.Serializable {
 
 }


 On one hand I wonder if its because it is implementing two different
 serializable interfaces, but when i build this same object from the database
 it works just fine.
 At this point I am totally out of ideas. Any pointers would be helpful.

 -Jeremiah

Re: Animations

2008-11-23 Thread Jeremiah Elliott
something like this?

http://code.google.com/p/gwt-voices/

On Sun, Nov 23, 2008 at 1:39 PM, Adligo [EMAIL PROTECTED] wrote:


 Hi,

  I did some basic animation at adligo.com, basically just a
 absolute panel with Timers that move the labels for the A and dligo
 and the panel for the tabs.  The timers are set to run like the frames
 of a movie.  I haven't checked out the GWT Animation kit, but I'm sure
 it's great
  It would be nice if someone wrote a sound API for gwt (or
 wrapper for the flash sound plugin), then people could write full
 blown video games in GWT!
 .
 Cheers,
 Scott

 On Nov 22, 5:12 am, tapan [EMAIL PROTECTED] wrote:
  How can i create excellent animations with GWT. please help
  urgent.
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Strange problem with gwt, tomcat and memcached

2008-11-22 Thread Jeremiah Elliott
ok, I am not even 100% sure this is a GWT issue. The more I mess with it the
more I am convinced that it is somehow gwt related. Anyway I am in the
process of adding memcache to the application I am working on. In hosted
mode it worked exactly as expected. Huge speed improvement, and the
memcached log shows my objects going in and out as expected. The problem is
that when i publish the application to tomcat the cache doesn't work. I can
still add items to the cache, but when i pull items out of the cache I get a
class not found exception.
Initially I thought that the problem may be because the object being cached
lives in the client package. (com.sagus.client.Report) I createdd a shared
package as discribed here
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/51a8a9bb3f141ab4/c43fcc7dad3f7fde?lnk=gstq=foo.bar.shared#c43fcc7dad3f7fde
however this didnt' solve the problem. I could still set and get the Report
object in Hosted Mode but in production on tomcat I got the same message.
Here is the stacktrace:
java.lang.ClassNotFoundException: com.sagus.Shared.Report
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
..



Well, clearly it can find com.sagus.Shared.Report because is putting it into
memcache just fine. In a last act of desperation, i exported the contents of
src into a jar file using eclipse export feature, and dumped that into
Tomcat's lib directory. Now I am getting a ClassCastException:

2008-11-22 12:33:57,425 : ERROR :
com.sagus.server.DataCache.getWidget(DataCache.java:27) : get widget 18:
java.lang.ClassCastException: com.sagus.Shared.Report cannot be cast to
com.sagus.Shared.Report
at com.sagus.server.DataCache.getWidget(DataCache.java:25)
at com.sagus.server.SagusDashImpl.getReportById(SagusDashImpl.java:244)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
..




This is the class I am using to do the memcache sets and gets:

package com.sagus.server;

import java.io.IOException;
import java.net.InetSocketAddress;
import net.spy.memcached.MemcachedClient;
import org.apache.log4j.Logger;
import com.sagus.Shared.Report;

public class DataCache {
private static final Loggerlogger=
SagusDashImpl.getLogger();
private static StringWIDGET_PREFIX= PROD_WIDGET_;
private static MemcachedClientc= null;

public DataCache() {
try {
c = new MemcachedClient(new InetSocketAddress(localhost,
11211));
} catch (IOException ioe) {
logger.error(init DataCache , ioe);
}
}

public Report getWidget(int id) {
Report r = null;
try {
r = (Report) c.get(WIDGET_PREFIX + id);
} catch (Exception e) {
logger.error(get widget  + id + : , e);
}
return r;
}

public void cacheWidget(Report report) {
try {
c.set(WIDGET_PREFIX + report.getWidgetId(), 36, report);
} catch (Exception e) {
logger.error(cacheWidget , e);
}
}


Here is the object being cached, its just a pojo:

package com.sagus.Shared;
import java.util.ArrayList;
import java.util.Date;
import com.google.gwt.user.client.rpc.IsSerializable;

public class Report implements IsSerializable, java.io.Serializable {

}


On one hand I wonder if its because it is implementing two different
serializable interfaces, but when i build this same object from the database
it works just fine.
At this point I am totally out of ideas. Any pointers would be helpful.

-Jeremiah

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT + iText + Eclipse Problem

2008-10-13 Thread Jeremiah Elliott
Did you edit the classpath in the App-compile script? or just the one in
eclipse?


On Mon, Oct 13, 2008 at 3:53 PM, Dean S. Jones [EMAIL PROTECTED] wrote:


 iText is a SERVER SIDE library for creating PDF's... you are trying to
 use it on the client side.

 On Oct 13, 2:25 pm, prof3ta [EMAIL PROTECTED] wrote:
  Hello everyone,
  I'm developing a web application using the gwt and I need to import
  some external libraries in the project.
  In the specific, I'm trying to import the iText libraries for
  dynamically generating pdf from java.
  I added the libraries as an external jar file in eclipse, but I obtain
  the following error when compiling my application:
 
  [EMAIL PROTECTED]./App-compile
 
  Removing units with errors
 [ERROR] Errors in 'file:/home/prof3ta/.eclipse/App/src/com/google/
  gwt/sample/app/client/PDFGenerator.java'
[ERROR] Line 20: No source code is available for type
  com.lowagie.text.Document; did you forget to inherit a required
  module?
[ERROR] Line 20: No source code is available for type
  com.lowagie.text.PageSize; did you forget to inherit a required
  module?
[ERROR] Line 22: No source code is available for type
  com.lowagie.text.pdf.PdfWriter; did you forget to inherit a required
  module?
 
  I have the same problem with all kind of external libraries.
  I tried adding the src code for the libraries, editing the App.gwt.xml
  file, etc. No luck.
  Could you please explain me in a clear way how should I add external
  libraries in a gwt eclipse project?
 
  Regards,
  Roberto
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Newbie - Trying to access Documentation

2008-09-24 Thread Jeremiah Elliott
can you get here?
http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=google-web-toolkit-doc-1-5t=google-web-toolkit-doc-1-5


On Wed, Sep 24, 2008 at 3:52 PM, Khader [EMAIL PROTECTED] wrote:


 Hi,

 I am trying to use GWT for the first time and was looking for some
 documentation on Google's side. I can get to this page,
 http://code.google.com/webtoolkit/overview.html but all the
 documentation sites (listed below) return me a blank page.

 http://code.google.com/docreader/#p=google-web-toolkit-doc-1-4

 http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5


 http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=google-web-toolkit-doc-1-5t=GettingStarted

 Am I missing something?


 -Khader

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT application and Google AppEngine

2008-09-19 Thread Jeremiah Elliott
have you taken a look at this?
http://code.google.com/p/python-gwt-rpc/


On Fri, Sep 19, 2008 at 5:34 AM, ajay jetti [EMAIL PROTECTED]wrote:

 Hi Sri
 Even im facing the same problem
 Please sombody post

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Real-time data receiving

2008-09-12 Thread Jeremiah Elliott
You may find this helpful
http://code.google.com/p/google-web-toolkit-incubator/wiki/ServerPushFAQ




On Thu, Sep 11, 2008 at 10:30 PM, juan [EMAIL PROTECTED] wrote:


 Hi,

 I am currently building a GWT UI that can interface with our backend
 application.  Our backend application push out text-based event
 messages through socket.  What I need to do is to receive those
 messages, filter them, and then display some meaningful notice to the
 users using the Web UI.  All these are done real-time.

 Could someone suggest the best way of doing that?  How can I have a
 live Java program that listens on the socket and process the incoming
 messages?  And how can that  Java program interacts with Servlet that
 can then push the message out to the web front end users?

 Any suggestion will be greatly appreciated.

 Juan

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---