Re: Google's commitment to GWT

2010-08-20 Thread Daniel Jue
Google would not drop support until they had something better to replace it, and a migration plan for the GWT developers. From a rational point of view, they would choose this path and keep developers' mindshare rather than loose it to some other platform/company. They might not be making money

Re: This is getting beyond a joke

2010-07-14 Thread Daniel Jue
In any case, thanks for bringing the issue 4673 to my attention, so I could star it. Life is to short to complain. -- 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-tool...@googlegroups.com. To

Re: Why does GWT use UserAgent Sniffing?

2010-02-23 Thread Daniel Jue
Why does gwt parse the useragent string rather than using object/ feature detection - due to the fragility of sniffing the ua string? It makes it easier to NOT support certain browsers. =) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group.

Re: Last Hope for GWT

2010-01-04 Thread Daniel Jue
You should try using Eclipse. On Sat, Jan 2, 2010 at 3:08 AM, Jignesh Prajapati jig4phys...@gmail.com wrote: Hi i m Totally new bee wid GWT. i created module using Cmd line Webappcretor -out dirname module1.submodule1 it create submodule.html,submodule.java and submodule.nochase.js its

Re: GWT InvocationException with Siteminder's embedded SMPostPreserve INPUT tag

2009-10-06 Thread Daniel Jue
Just throwing this out there: I used to get that waiting page when I accidentally had an application switching between https and http. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: GWT InvocationException with Siteminder's embedded SMPostPreserve INPUT tag

2009-10-06 Thread Daniel Jue
I meant to mention that my problem did not involve GWT (I wasn't using it at the time) nor my other UI framework, Tapestry. I just had some links being generated as http from development that needed to be https in staging. On Tue, Oct 6, 2009 at 2:27 PM, Daniel Jue teamp...@gmail.com wrote

Re: Suggestions for non-java programmer

2009-10-06 Thread Daniel Jue
What non-Java programming experience do you have? If you are coming from a language like PHP, C# or VB, that would determine where you need to start. On Tue, Oct 6, 2009 at 1:17 PM, Christopher Merry ch...@diggindata.com wrote: I have looked through the docs, including the Getting Started

Re: Why doesn't igoogle use gwt?

2009-10-02 Thread Daniel Jue
iGoogle is the proof of concept for the Google Gadgets API, which is different than GWT. http://code.google.com/apis/gadgets/index.html Also you can use Google Gadgets with GWT. http://code.google.com/docreader/#p=gwt-google-apiss=gwt-google-apist=Gadgets Finally, Google also hosts uses other

Re: Project Structure in GWT-2.0

2009-09-30 Thread Daniel Jue
Maven favors Convention over Configuration, and in the past most IDEs, etc are bent to work with a Maven structure, rather than the other way around. Maven without plugins/hacks is pretty stubborn/not-so-flexible about project structure, etc. (Structure can be a good thing, when you have

Re: Project Structure in GWT-2.0

2009-09-29 Thread Daniel Jue
+1 for Maven nested module friendliness. On Tue, Sep 29, 2009 at 12:25 PM, Iain Shigeoka iain.shige...@gmail.com wrote: +1 Maven friendly is ideal. Less ideal but better than current is separation of source and compiled code as the original poster mentioned. -iain On Sep 29, 2009, at 9:02

Re: Show / Hide Controls based on roles / access rights

2009-09-16 Thread Daniel Jue
It's been discussed before, you should do a search. I think the consensus is to have any security related or sensitive portions in it's own entrypoint, so that the clientside code is not downloaded. Also you can restrict access to the security entrypoint on the server via IP, etc. Some other

Re: Running Apache Hupa sample of GWT MVP

2009-09-15 Thread Daniel Jue
After reading and re-reading some Maven documentation, I learned something that may help people struggling with learning multi-module projects using Hupa. In Hupa's hupa-parent POM, I see modules moduleshared/module moduleclient/module

Re: Running Apache Hupa sample of GWT MVP

2009-09-14 Thread Daniel Jue
be sure to add the following line as vm argument in the Run configuration:  -Dhupa.config.file=${project_loc}/server/src/main/webapp/WEB-INF/conf/config.properties As always, any feedback is welcome :) Bye, Norman 2009/9/14 Daniel Jue teamp...@gmail.com: I also had some issues getting

Re: Running Apache Hupa sample of GWT MVP

2009-09-14 Thread Daniel Jue
FWIW, I only have jdk1.6.0_16 and it works. I made sure Eclipse was using this specific version, and all other JREs were removed. Compiler compatibility is set to 1.6, and I didn't change any of the defaults in the Deprecated and restricted API section -- specifically the forbidden reference

Re: Running Hupa in Hosted Mode

2009-09-14 Thread Daniel Jue
Your edit probably triggered a rebuild. You also get this same stack trace when the config.properties file is not found. This is because the class that the properties file maps to ends up being null, and then Hupa is trying to read the IMAP folder name. What you need to do in the future is

Re: Running Apache Hupa sample of GWT MVP

2009-09-13 Thread Daniel Jue
I also had some issues getting it to run in hosted mode the first few times. I had to issue a mvn clean package (or was it clean install?) and I still had to manually copy the conf/config.properties (or whatever it was) to the /war directory. Then I was able to select the main project (the

Re: Running Apache Hupa sample of GWT MVP

2009-09-13 Thread Daniel Jue
) into a repository. But if the team is one person or the computers are the same, I guess it doesn't matter. Hupa is a great project to learn on. It was a little slow loading up in hosted mode, just fyi. On Mon, Sep 14, 2009 at 12:14 AM, Daniel Jue teamp...@gmail.com wrote: I also had some issues getting

Re: Reading a file on the server

2009-09-12 Thread Daniel Jue
Put your connection and connection pooling info in your web.xml, or depending on your container, you can put the connection information in a conf file that can be modified separately from your war deployment. On Fri, Sep 11, 2009 at 2:58 PM, Benjamin bsaut...@gmail.com wrote: Hey guys - this

Re: Upload PDF and Parse it

2009-09-02 Thread Daniel Jue
After you initiate the file upload, you're going to want to do all the parsing on the server side, using some existing PDF reading library that has nothing to do with GWT. On Wed, Sep 2, 2009 at 3:35 AM, Sara Brodericksarabroderick1...@gmail.com wrote: Good Morning, I have just stumbled across

Re: Best way for storing a static list of strings?

2009-09-02 Thread Daniel Jue
Is the static list editable? If not: static final String or enum Note that enums can be more complex than just named elements. 2009/9/2 Jaroslav Záruba jaroslav.zar...@gmail.com: Hello What is the best way in GWT to store static list of strings? I need to provide list of countries, so

Re: Best way for storing a static list of strings?

2009-09-02 Thread Daniel Jue
is not the proper way. (But I am far from thinking of myself like of expert. :) On Sep 3, 1:34 am, Daniel Jue teamp...@gmail.com wrote: Is the static list editable? If not: static final String or enum Note that enums can be more complex than just named elements. 2009/9/2 Jaroslav Záruba

Re: RPC taking longer with each iteration

2009-08-21 Thread Daniel Jue
Is there a way to keep an eye on the number of handlers are are in existence? At what point in the dispatch are you starting the timer? Are you using an event bus? On Fri, Aug 21, 2009 at 2:32 AM, Vikrantvikrant...@gmail.com wrote: Hi, Forgot to mention that the below mentioned issue is

New window for file download is closing

2009-08-20 Thread Daniel Jue
Hi, I am streaming a file back using a new window and a call to a servlet. This works fine locally and even in hosted mode, although in hosted mode the blank window stays open. I have a testing server that is being accessed via a Citrix desktop and in that desktop there is only IE7 for a

Re: Use an Event Bus - Ray

2009-08-18 Thread Daniel Jue
It's been covered here on the list, and he means the pattern of an event bus. It fits in nicely with MVP. At times the lines between an eventbus/dispatching/and command patterns gets blurred, doubly for me =) . There are some samples out there on google code, you can search this mailing list

Re: MVP design issue - any work around?

2009-08-18 Thread Daniel Jue
You have to decide on the granularity you want. I found it easier to use an interface that would give me the actual widget in my presenter, and then the presenter can do several things on each widget as it needs. I am using the widget's class in the interface, since I am using SmartGWT widgets

Re: Where is the server log ?

2009-08-17 Thread Daniel Jue
While searching for something else, I saw some gwt directories in the Local Settings\Temp dir, which had some log files in them. C:\Documents and Settings\MyName\Local Settings\Temp\gwtc2884477077954149866.tmp\myModuleName\shell\gen These look like logs for the RPCs. On Mon, Aug 17, 2009 at

Re: Who is using smartgwt?

2009-08-15 Thread Daniel Jue
FWIW, my compiled js code for just my SmartGWT app is around 300k, and it's based off of the SmartGWT Showcase. I think I also have about 3MB worth of icons, but that's besides the point. =) On Sat, Aug 15, 2009 at 4:22 AM, Aladdin alaamu...@gmail.com wrote: The only difference that the GWT

Re: GXT widgets vs GWT widgets

2009-08-14 Thread Daniel Jue
From the few widget libs I have tried, they all feel heavy compared to the base gwt ones. You also have to think about the events and handlers/listeners--often the widget lib will have it's own classes for this (with the same names), and they are not compatible AFAIK. For SmartGWT I noticed

Re: Who is using smartgwt?

2009-08-14 Thread Daniel Jue
. I am posting this here in case someone else is looking for the same info. -chris On Aug 13, 4:00 pm, Daniel Jue teamp...@gmail.com wrote: I am using it. Once I got the extra layers of code implemented for the RPC Datasource (mostly from off thier forum), It's been pretty painless. I

Re: Who is using smartgwt?

2009-08-13 Thread Daniel Jue
I am using it. Once I got the extra layers of code implemented for the RPC Datasource (mostly from off thier forum), It's been pretty painless. I came from GXT 2 because I was having some rendering problems and wanted to try something else. SmartGWT _is_ painfully slow in hosted mode, but the

Re: Who is using smartgwt?

2009-08-13 Thread Daniel Jue
is comparable is size to a real world application having ~260 samples and includes most widget types. If you're not using Calendar, or TileGrid etc you can exclude these resources. Sanjiv On Thu, Aug 13, 2009 at 8:18 PM, Daniel Jue teamp...@gmail.com wrote: It is slow in hosted, although

Re: Domain models and DTOs

2009-08-12 Thread Daniel Jue
I feel your pain. Too often I find myself mumbling about the layers upon layers, all the while feeling that there must be some better way. In Tapestry you have your DAOs and smart POJO DO's and everything Just Works. To my understanding, the major difference here is that with GWT you are

Re: Asynch call does not return

2009-08-11 Thread Daniel Jue
Assuming you can't make the code run faster, one technique I've seen done is to have the the RPC return when the job has been submitted. The user can then check on a jobs page to see a list of jobs from a database. Unfinished jobs can say processing until the server side has updated the list that

Re: Asynch call does not return

2009-08-11 Thread Daniel Jue
/ On Tue, Aug 11, 2009 at 3:51 PM, Daniel Jue teamp...@gmail.com wrote: Assuming you can't make the code run faster, one technique I've seen done is to have the the RPC return when the job has been submitted. The user can then check on a jobs page to see a list of jobs from a database

Re: Problem creating a RPC Service

2009-08-03 Thread Daniel Jue
Sure, you just have to run it on your own server, running jetty or tomcat, etc. On Mon, Aug 3, 2009 at 12:00 PM, Sednus sed...@gmail.com wrote: Well, I really need to create a file on the server side and write on it whatever the user types on a text area is there any onther way to

Re: Problem creating a RPC Service

2009-08-03 Thread Daniel Jue
at 12:26 PM, Sednus sed...@gmail.com wrote: Yes, I was planning to run it on my own server... but how do I make that while still using GWT? is it possible? On Aug 3, 11:04 am, Daniel Jue teamp...@gmail.com wrote: Sure, you just have to run it on your own server, running jetty or tomcat

Re: Problem creating a RPC Service

2009-08-03 Thread Daniel Jue
they work... but I've never worked woth stuff like this :s I am really noobie , but yes I need to create the file so to compile it and run it, yes its something unususal and i don't know what a DB tier is :( On Aug 3, 11:38 am, Daniel Jue teamp...@gmail.com wrote: It really has nothing

Re: Displaying a loading image while waiting on RPC

2009-07-31 Thread Daniel Jue
I agree with Chad, I have this in my click handler: display.getButton().addClickHandler(new ClickHandler() { @Override public void onClick(ClickEvent event) { display.getButton().disable(); display.setStatusText(Please wait while

Re: Command Pattern, MVP, EventBus

2009-07-23 Thread Daniel Jue
@kwhittingham I found your implementation interesting. The current implementation: * Adds a generic RPC mechanism (the pipe) * Doesn't use the command pattern. Instead everything is an event. Selected events from the event bus are sent over the pipe and responses are fired back. This

Re: Command Pattern, MVP, EventBus

2009-07-16 Thread Daniel Jue
Alejandro's source code is here: http://code.google.com/p/puntosoft/ Anyway, there are ways to do it of course. I'll be interested to see your solution if you make it public :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: GWT 1.5 End of Support

2009-07-16 Thread Daniel Jue
What do you mean support? Seems like updates are provided on a monotonically increasing version number. i.e. the tags (1.4,1.5.x) are not revisited for updates/patches. You move on to the new version as you see fit and as your dependent libraries allow. On Thu, Jul 16, 2009 at 10:09 AM,

Re: GWT 1.5 End of Support

2009-07-16 Thread Daniel Jue
with 1.5 is found, until when will the fixes be provided for it. Thank you. On Jul 16, 1:47 pm, Daniel Jue teamp...@gmail.com wrote: What do you mean support?  Seems like updates are provided on a monotonically increasing version number. i.e. the tags (1.4,1.5.x) are not revisited for updates

Re: SmartGWT vs GWT-Ext Evaluation

2009-07-16 Thread Daniel Jue
I am also evaluating SmartGWT after a brief stint with GXT. Regarding the GWTRPC code mentioned, it is now part of SmartGWT Extentions. If you are using maven, it's this: dependency groupIdcom.smartgwt/groupId

Re: PHP programmer - is GWT for me?

2009-07-15 Thread Daniel Jue
I'm going to have to say no on this. If you're a PHP programmer with little to no Java experience since version 1.4, I would say you are going to burn yourself. GWT programming requires some fundamental knowledge of Java. You can take a look at those of us trying to digest the Google IO Best

Re: GWT architecture MVP/EventBus (mentioned at Google I/O)

2009-07-02 Thread Daniel Jue
Thanks Thomas! I feel like my spaghetti-in-a-bowl code is slowly becoming spaghetti-in-a-box. ;-) I found what appears to be a nice sized app that uses MVP+Eventbus+IOC+Command Patterned RPC+Place all in one spot. It looks to be property of berkeley.edu. It also uses AppEngine if that floats

Re: GWT architecture MVP/EventBus (mentioned at Google I/O)

2009-07-01 Thread Daniel Jue
(BTW- Thanks for the corrections on my previous email.) I'm looking on slide 47, with this code: public void execute(final UpdateContact update, final AsyncCallbackGetContactsResponse cb) { realService.execute(update, new AsyncCallbackUpdateContactResponse() {

Re: GWT architecture MVP/EventBus (mentioned at Google I/O)

2009-06-29 Thread Daniel Jue
Does anyone have a working MVP/Eventbus sample of something simple like the PhoneEditor? I don't think I'm doing it right. The code from the IO presentation leaves out enough details so that I'm not sure what to do. For instance, in my Presenter.class, I have something like this: public class

Re: How do i fix this problem?

2009-06-25 Thread Daniel Jue
You need your database jar file on your class path or in your WEB-INF/lib directory. Is it there? You might see something in your hosted mode window that looks like this, in brown: [WARN] Server class 'oracle.jdbc.driver.OracleDriver' could not be found in the web app, but was found on the

Re: N00b to GWT, but Not Java

2009-06-23 Thread Daniel Jue
Have a user object reference in the parent. catch the click update button event, put the user object into the parent via a setter, advance the page to the edit page, and then extract the values from the parent. Further if the two widgets you have (list and edit) are singletons, you can just

Re: Request for best practices when working with complex objects

2009-06-17 Thread Daniel Jue
Hello Aaron, many people advocate using lightweight domain models for use in your client side code. Also people have suggested making a shared package that exists at the same level as your client and server, which holds your DTO's that you use in both server and client side, to avoid the server

Re: Passing bag of Serializable objects to RPC

2009-06-12 Thread Daniel Jue
Ah, I figured out what I was doing wrong. I am using GXT, and my pojo/bean was being used as a runtime generated class that implemented gxt's BeanModel. My ignorance on exactly how this worked prevented me from refactoring correctly. I had been trying to make a genericized form component,

Passing bag of Serializable objects to RPC

2009-06-11 Thread Daniel Jue
Hi, I've read some past emails on this subject, but I want to know if anyone has a best practice for this. Lets say I have MyService(HashMapString,Serializable reportBag) . I've read it's advisable to narrow down the Serializable to a type that has a smaller set of implementations, such as using

Re: Accessing a DB

2009-06-09 Thread Daniel Jue
The server side classes get compiled to bytecode, like most webapps. The client side classes get compiled to bytecode and then combined into javascript. And then the bytecode goes in your WEB-INF/classes dir, and as others have said, the outside world shouldn't have access that dir. Since the

Re: Eclipse - GWT - ClassNotFoundException in StockWatcher RPC tutorial

2009-06-08 Thread Daniel Jue
Not to sound harsh, but sometimes starting the tutorial over again from scratch fixes the problem. :-) When I did my first stock watcher tutorial, it took me 2 tries. The first try I was running into all kinds of problems, because I wasn't reading the fine print on the tutorial. So that's my

Re: GWT RPC Encryption

2009-05-29 Thread Daniel Jue
On Fri, May 29, 2009 at 10:56 AM, Jason Essington jason.essing...@gmail.com wrote: simply use HTTPS and protect the data while in transit, and don't send anything to the client that you don't want the client to have access to. -jason On that note, use lightweight display models (not your

Re: Announcing GWT 1.6...and quite a bit more

2009-04-09 Thread Daniel Jue
2009/4/8 Miguel Méndez mmen...@google.com On Wed, Apr 8, 2009 at 9:43 AM, Stan B stan...@gmail.com wrote: Thank you, can't wait to dig in! Does the Google/GWT plugin for Eclipse create the service stubs (Async/ Sync/Impl classes) and modify the web.xml to add the servlet for you like

Re: GWT Violates LGPL

2009-04-06 Thread Daniel Jue
You've stated some very bold claims. How did you become so convinced of this violation and the need to address it? Are you the Beginning Rails author? On Mon, Apr 6, 2009 at 4:27 PM, allan allan1...@gmail.com wrote: LGPL/GPL have the obligation to provide source with any binary

Re: iText Causing GWT-RPC callback to fail. Need to send to HttpServletResponse?

2009-04-06 Thread Daniel Jue
There is a PDF generation demo using a GWT entrypoint on the DynamicJasper website (a wrapper for Jasper, which I think still uses iText deep inside). http://dynamicjasper.sourceforge.net/ Anyway you can look at the relevant servlet code there, and the hand-off from the GWT run report button.

Re: Password Encryption

2009-03-05 Thread Daniel Jue
What version of GWT are you using? Have you tried public class User implements Serializable{...} instead? On Thu, Mar 5, 2009 at 5:01 PM, fatjack1...@googlemail.com fatjack1...@googlemail.com wrote: Hi Everyone, Im having some issues encrypting a password. So heres my problem:

Re: Using GWT on an existing Java application

2009-02-19 Thread Daniel Jue
On Thu, Feb 19, 2009 at 6:21 PM, FractalBob ruom...@gmail.com wrote: Hi, I developed a Swing-based mail application that I'd like to convert to JavaScript. Is this the sort of thing that GWT can do? No, it's not going to convert it for you. Your benefit is that building the GUI is similar

Re: GWT and Tapestry 5 integration

2009-02-15 Thread Daniel Jue
j.casey.one...@gmail.com wrote: Thanks for putting this up. I'm going to take a look it at now. On Jan 6, 1:51 pm, Daniel Jue teamp...@gmail.com wrote: Hi, I'm relatively new to GWT, but I've been working with Apache Tapestry 5 for a while now. I've written a tutorial (with source

Re: How do you design your project structure?

2009-02-10 Thread Daniel Jue
You can take a look at the various extensions out there . (I don't know what the GWT community official calls them) to get an idea of packaging, like Ext-GWT, GWT-Ext, (I forget but one of them is called GXT), Smart GWT. etc. Some of the Explorer demos show some package structures you may find

GWT and Tapestry 5 integration

2009-01-06 Thread Daniel Jue
into the web app source. RPC Service class files end up in the target dir with the Tapestry class files. If you are interested, please let me know what improvements I can make. Regards, Daniel Jue --~--~-~--~~~---~--~~ You received this message because you

Re: Using JDBC realm-based authentication in GWT

2009-01-06 Thread Daniel Jue
I agree, using a realm (and useful options like digest) should be completely transparent to the application. Daniel Jue On Tue, Jan 6, 2009 at 2:07 PM, Sumit Chandel sumitchan...@google.com wrote: Hi JCM, As far as I know, JDBCRealm is a completely server-side facility for managing accesses