Re: AsyncCallback RPC onSuccess() extremely slow!

2010-10-22 Thread John Ivens
I would suggest deploying to a war file and using it in JBoss or another application server and see how fast it is. On Fri, Oct 22, 2010 at 12:23 PM, Samuru Jackson samurujack...@googlemail.com wrote: Hi, I'm experiencing some huge performance problems with async RPC calls. There is not

Re: AsyncCallback RPC onSuccess() extremely slow!

2010-10-22 Thread John Ivens
at 4:38 PM, John Ivens john.wagner.iv...@gmail.comwrote: I would suggest deploying to a war file and using it in JBoss or another application server and see how fast it is. On Fri, Oct 22, 2010 at 12:23 PM, Samuru Jackson samurujack...@googlemail.com wrote: Hi, I'm experiencing some huge

Re: GWT Hibernate Integration

2010-09-20 Thread John Ivens
Have you included the hibernate jars in your war/WEB-INF/lib directory when you deploy? On Mon, Sep 20, 2010 at 2:00 AM, Ketan Nale ketann...@gmail.com wrote: Hi, I am doing GWT and Hibernate integration (without spring) in my application. I have put entry in of POJO’s and hbm file package

Re: dumb / dto domain model

2010-08-25 Thread John Ivens
Won't the event bus and presenters solve this problem for you? The Model-View-Presenter paradigm? On Wed, Aug 25, 2010 at 11:51 AM, Jeroen Wolff jeroen.wo...@gmail.comwrote: Hi, where are in the middle of designing a big app with a lot off difficult forms. On these forms there will be a lot

Re: GWT VECTOR GRAPHICS

2010-08-11 Thread John Ivens
Nice example... have you done anything with dragging rectangles around, and having other rectangles scooch out of their way? I would like to investigate something like this for scheduling. On Wed, Aug 4, 2010 at 5:22 AM, pschonefeld peter.schonef...@gmail.comwrote: I've played around with

Re: XML Validation directly

2010-07-29 Thread John Ivens
numbers where the error occurs. I use XML Studio from Progress, but there are others out there (Altova XML Spy, probably also some open source or Eclipse plug ins). The investment in the license has been paid back multiple times in saved effort. On 28 jul, 23:52, John Ivens john.wagner.iv

Re: XML Validation directly

2010-07-28 Thread John Ivens
Okay, I tried one which produces some pretty bad messages, I will search for something better, maybe xerces. On Mon, Jul 26, 2010 at 5:59 PM, Jeff Chimene jchim...@gmail.com wrote: On 07/26/2010 04:09 PM, John Ivens wrote: I know that this is off topic for GWT, but if anyone knows of how

XML Validation directly

2010-07-26 Thread John Ivens
I know that this is off topic for GWT, but if anyone knows of how to validate an XML file directly by using something like Apache Commons Validation, but without needing to create a bean or a form, I would appreciate knowing about it. Basically, we have XML files that we would like to validate

UI Binder and gwt-validation

2010-04-27 Thread John Ivens
Does anyone have these two (UI Binder and gwt-validation) working together? Whenever I make a class that has an equivalent ui.xml file (and which extends Composite, but this may not matter) implement IValidatable, I get an error saying that GWT.create() can only be run on the client side. All of

Re: Does Image not serialize? How to transfer image back to client?

2010-02-11 Thread John Ivens
You mean using something like apache commons? How would you do it? On Thu, Feb 11, 2010 at 4:15 AM, obesga obe...@gmail.com wrote: It's not a little overcomplicated ? Just don't send the image into a normal HTTP request ? Oscar On Feb 10, 9:22 pm, John Ivens john.wagner.iv...@gmail.com

Re: JBOSS deployment from GWT Eclipse projects

2010-02-11 Thread John Ivens
I don't know. I guess you would need an ant task for that... On Thu, Feb 11, 2010 at 2:19 AM, mariyan nenchev nenchev.mari...@gmail.comwrote: What about if you use maven to manage your libs and build? Then copying the war folder will not work... On Thu, Feb 11, 2010 at 1:03 AM, John Ivens

Re: creating a panel that will refreshes its content automatically from a database.

2010-02-11 Thread John Ivens
I used this technique also. It would be better to do server push, but much more complicated. I haven't done push yet. On Thu, Feb 11, 2010 at 12:35 AM, Anmol Kapoor anmolkapoorm...@gmail.comwrote: thanks... On Mon, Feb 8, 2010 at 7:46 PM, mariyan nenchev nenchev.mari...@gmail.com wrote:

Deploying to jboss

2010-02-10 Thread John Ivens
In the older versions of GWT I created build.xml scripts and ran ant to create war files to deploy to jboss. Do I still have to do this with the new (2.0) architecture? I tried copying the war directory (generated by eclipse plugins for compilation) into jboss/server/default/deploy/project but I

Re: XMLParser Help

2010-02-10 Thread John Ivens
In the server impl file: @Override *public* String getMapURL(String theURL) { URL url = *null*; String s = *null*; String retstr = ; *try* { url = *new* URL(theURL); BufferedReader reader = *new* BufferedReader(*new*InputStreamReader(url.openStream())); *while* ((s = reader.readLine()) !=

Re: Does Image not serialize? How to transfer image back to client?

2010-02-10 Thread John Ivens
The trick I have used is to encode the image in Base64, and then send the image as a String in the return. public String getDither(int steps, double spiralDistance, double magnitude) { ... make the image ( a spiral dither pattern) and save to disk return Base64.encodeFromFile(myFile.png); }

JBOSS deployment from GWT Eclipse projects

2010-02-10 Thread John Ivens
Okay, this is ulitmately easy... Step 1. Recursively copy your war directory to project.war in jboss/server/default/deploy You HAVE to name it with the .war or JBOSS becomes TERRIBLY confused. Step 2. For some reason, database connectivity (for me, at least) broke in JBOSS. I needed to copy

Re: GWT with hibernate...

2010-02-08 Thread John Ivens
Not sure I've seen all the mistakes, but shouldn't it be from User u where u.snarfle = blarg Looks like the class is correctly annotated. I use hbm files and in that case you need to tell hibernate which classes are mapped to which hbm files in the hibernate.cfg.xml file. You may need to do the

Re: Charts in Visualization API -- pushing data

2010-02-05 Thread John Ivens
data from the Server to the Client. I've never used it personally, but it gets suggested on these boards all the time. On Feb 3, 5:47 pm, John Ivens john.wagner.iv...@gmail.com wrote: Suppose that I would want to use the Google Visualization API and somehow have events pushing data

Charts in Visualization API -- pushing data

2010-02-03 Thread John Ivens
Suppose that I would want to use the Google Visualization API and somehow have events pushing data into a line graph... fairly rapidly. I would want this line graph to real-time update itself. So, let's say I would want it to continuously graph the last 10 data points that it had recieved,

Re: Embedded jetty

2010-02-03 Thread John Ivens
I would be interested in knowing where that file is also... On Tue, Feb 2, 2010 at 12:12 PM, Thom with an H thomh...@gmail.com wrote: I'm trying to modify the jetty.xml file so I can define JDBC settings for my jetty instance, but I can't seem to find where to do this with the embedded jetty

Re: GWT and MySQL Connection! Help!

2010-01-27 Thread John Ivens
What are you using in the back end? Hibernate? Or are you writing individual SQL statements using JDBC (yikes!). On Tue, Jan 26, 2010 at 9:18 PM, Jay jayjia...@gmail.com wrote: I'm sorry if this has been asked many times, I tried googling and some links led to Google Examples but I can't

Re: Gilead 1.3 + Hibernate + GWT 2.0

2010-01-20 Thread John Ivens
problems with dynamic proxy generators (not Gileads fault), everything works just fine. Do you strictly need Gilead 1.3 ? On 19. Jan, 23:16 h., John Ivens john.wagner.iv...@gmail.com wrote: Has anyone gotten this to work? I have followed advice on the web and tried my darndest to set this up. I

Re: Using Gilead with GWT 2.0 ms1

2010-01-19 Thread John Ivens
Anyone seen this error message? [WARN] Exception while dispatching incoming RPC call java.lang.NoSuchMethodError: net.sf.beanlib.hibernate.UnEnhancer.unenhanceClass(Ljava/lang/Class;)Ljava/lang/Class; I am getting this using gilead with hibernate with GWT 2.0, and I suspect that I am having some

Re: Using Gilead with GWT 2.0 ms1

2010-01-19 Thread John Ivens
.jar On Tue, Jan 19, 2010 at 10:26 AM, John Ivens john.wagner.iv...@gmail.comwrote: Anyone seen this error message? [WARN] Exception while dispatching incoming RPC call java.lang.NoSuchMethodError: net.sf.beanlib.hibernate.UnEnhancer.unenhanceClass(Ljava/lang/Class;)Ljava/lang/Class; I am

Gilead 1.3 + Hibernate + GWT 2.0

2010-01-19 Thread John Ivens
Has anyone gotten this to work? I have followed advice on the web and tried my darndest to set this up. I am talking to mysql in the background but that shouldn't matter. I am switching to DTOs because I have run out of time, but I will switch back at a convenient time if anyone can tell me how

Adding lines to Trees in GWT 2.0

2009-12-18 Thread John Ivens
So, TreeImages is deprecated and I should use Tree.Resources... Suppose that I have graphics to represent the tree bits. Could someone tell me how to tell the tree to draw itself, and where to put the graphics in the directory structure? Thank you. -- You received this message because you are

Re: UI Binder, really a good approach?

2009-12-11 Thread John Ivens
How about a Matisse-like interface that allows you to create the XML by dragging graphics around, and linking them to code in the .java file? That's what I want. On Fri, Dec 11, 2009 at 8:22 AM, Arthur Kalmenson arthur.k...@gmail.comwrote: I think you just have to try it and see. We're doing

Re: Netbeans plugin

2009-12-10 Thread John Ivens
I agree. I am always forced to use Eclipse because everyone else uses it, and features such as the Google Eclipse Plugin come out well in advance of anything for NetBeans. On Thu, Dec 10, 2009 at 8:28 AM, nicanor.babula nicanor.bab...@gmail.comwrote: Hi all, I don't want to start a flaming

Re: Announcing GWT 2.0 and much, much more...

2009-12-09 Thread John Ivens
Thank you... this is worth it for the UIBinder alone. Looks really good. I'll have to experiment with it. On Wed, Dec 9, 2009 at 9:38 AM, Ittai etai...@gmail.com wrote: Congrats and thank you to the whole GWT team! Hope the move from 1.7 to 2.0 won't be painfull :) On Dec 9, 5:13 am, Miguel

Re: How can GWT handle real time data?

2009-09-25 Thread John Ivens
What would rock the world is to be able to do something like declare a variable on the server side volatile, and link it to the client side via some machinery built into a library. Then, you don't have to write all of the RPC stuff yourself. Something like a publish-subscribe mechanism, with a

Re: rpc vs RequestBuilder

2009-09-15 Thread John Ivens
. Likely there are runtime optimizations -- especially on the Java side, but also on browsers like Safari -- that will start to kick-in once the engine has profiled what is going on. Brett On Sep 15, 3:25 am, John Ivens john.wagner.iv...@gmail.com wrote: Hey, this is scary... Firefox

Re: rpc vs RequestBuilder

2009-09-14 Thread John Ivens
Hey, this is scary... Firefox, Netscape and Safari all error out at high data rates? On Mon, Sep 14, 2009 at 5:03 AM, lord.luki lord.l...@gmail.com wrote: Hi, maybe it wont be helpfull, but there si some response time testing whitch i did. I was testing gwt-rpc from client to gwt embedet

Re: rpc vs RequestBuilder

2009-09-14 Thread John Ivens
Could you show the code that you used to test this with? On Mon, Sep 14, 2009 at 11:25 AM, John Ivens john.wagner.iv...@gmail.comwrote: Hey, this is scary... Firefox, Netscape and Safari all error out at high data rates? On Mon, Sep 14, 2009 at 5:03 AM, lord.luki lord.l...@gmail.com wrote

Re: Modelling framework

2009-08-04 Thread John Ivens
It apparently can be tied to a backend datasource, although all of these examples have setClientOnly(true) There are no examples that I know of actually showing a connection, for example with a sample mysql database or really anything else. Please correct me if I'm wrong. On Tue, Aug 4, 2009 at

Re: Modelling framework

2009-08-04 Thread John Ivens
, Hibernate or custom DataSource in SmartGWT EE. On Aug 4, 4:16 pm, John Ivens john.wagner.iv...@gmail.com wrote: There are no examples that I know of actually showing a connection, for example with a sample mysql database or really anything else. Please correct me if I'm wrong. On Tue

Re: java.lang.UnsupportedClassVersionError: Bad version number in .class file in eclipse-3.4 + mac osx

2009-07-23 Thread John Ivens
I got this when I mixed classes compiled in one version with another. Beware of server side implementations compiled under one version and hosted in your application server mixed with classes compiled in the other version, possible other libraries someone else made? On Thu, Jul 23, 2009 at 9:47

History -- invalidating a page

2009-07-22 Thread John Ivens
I hope that this is an easy question for all of you. I apologize if this has been answered before. I have set up security with LDAP and ACEGI, using jsp pages that are called when requests are intercepted via ACEGI. It works great. Upon successful login and determining that the user has the

Re: XML parsing using GWT

2009-06-25 Thread John Ivens
I seem to remember that there are two different XML libraries.. I used these imports: import com.google.gwt.xml.client.CDATASection; import com.google.gwt.xml.client.Document; import com.google.gwt.xml.client.Element; import com.google.gwt.xml.client.NodeList; import

Re: Left Menu on this group!

2009-06-10 Thread John Ivens
I thought I was the only one who thought this guy was a couple cans short of a six-pack. On Tue, Jun 9, 2009 at 3:45 PM, Ian Bambury ianbamb...@gmail.com wrote: What *are* you on about? Still, it's one way to introduce yourself to the group :-) Plonk! Ian http://examples.roughian.com

Re: How to load images dynamically?

2009-04-20 Thread John Ivens
There is a really good solution listed earlier using Image(url) where url looks like data: // Example client code which uses an encoded base64 string passed from the server to the client: private void refreshImage() { // lazy initialization of service proxy if (ditherSvc == null) { ditherSvc =

Re: Loading Images into GWT via MySQL

2009-04-02 Thread John Ivens
I'd like to thank the contributors for this discussion, particularly Darren, who provided a nice solution to a problem I had making transient images on the server side and displaying them on the client side. On Mon, Mar 16, 2009 at 12:40 AM, alex.d alex.dukhov...@googlemail.comwrote: Does the

Re: file upload from popup

2009-03-23 Thread John Ivens
What does the server side code look like? I have implemented something like this, and I would like to see how you did it.. On Sun, Mar 22, 2009 at 3:54 AM, Riyaz Mansoor riyaz.mans...@gmail.comwrote: I found my mistake. It a single character misspelled in the form panel action url !!!

Re: Validation Framework

2009-03-05 Thread John Ivens
I have tried this... it is definitely good but it needs to have many more validations in it before it can solve all of your problems. They are definitely taking the right approach I think. On Thu, Mar 5, 2009 at 3:38 AM, Hasan Turksoy hturk...@gmail.com wrote: i didn't try it but you can take

Re: Validation Framework

2009-03-05 Thread John Ivens
WOW This looks great!!! How did I not know about this? On Thu, Mar 5, 2009 at 8:39 AM, Davide Cerbo davidece...@gmail.com wrote: Hi, try to see that: http://www.smartclient.com/smartgwt/showcase/#form_validation_type 2009/3/5 John Ivens john.wagner.iv...@gmail.com: I have tried

Re: Deploying to a Shared TOMCAT

2009-03-03 Thread John Ivens
boggling! On Mar 2, 10:36 am, John Ivens john.wagner.iv...@gmail.com wrote: I'll bet dollars to donuts that you are having the same problem that I had. The sample code works in embedded tomcat but not in external tomcat. You need to add code something like this: if (observationSvc

Re: Deploying to a Shared TOMCAT

2009-03-02 Thread John Ivens
I'll bet dollars to donuts that you are having the same problem that I had. The sample code works in embedded tomcat but not in external tomcat. You need to add code something like this: if (observationSvc == null) { observationSvc = (ObservationServiceAsync) GWT.create(ObservationService.