Hi,
1 point related to your point 1: java means compilation, i.e strong
type checking at compile time (even at write time if you use Eclipse
that compiles in real-time). The difference in productivity is huge
1 point related to your point 3: you can not only integrates runtime
frameworks but also
Hi,
GWT Java code gets converted to Javascript. Javascript then runs in
the sandbox of your browser: you can't access the local file system
because of this sandbox architecture.
regards
didier
On Dec 30, 8:27 am, Rubini wrote:
> jc writes:
>
> > I check the fileupload widget, but it show only
Hi,
You can't: if you go to
http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html#Package_java_lang
for Class, you will see that forName() is not emulated by GWT.
regards
didier
On Dec 30, 7:33 am, metalhammer29a wrote:
> can I use Class.forName and newInstance in GWT ?
>
> sta
Hi,
Does the object you want to send implement Serializable ? It's
required
Then in your case when not just define
class MyObject extends Object implements Serializable {
...
}
Then, you will be able to carry MyObject and its child classes over
RPC.
regards
didier
On Dec 17, 5:22 am, Noor
gt; > Regards
> > Yves
>
> > On 14 d�c, 10:42, Paul Robinson wrote:
>
> >> Class is not gwt-serializable.
>
> >> MyType has a non-final, non-transient field of type Class
>
> >> Therefore MyType is not serializable
>
> >> On 14/12
Hi,
Serializable is an interface not a class. That's why it's not the list
you mention. An interface has nothing to be serialized per se.
You should let us know about your class MyType in order to better
help.
regards
didier
On Dec 14, 9:21 am, Paul Robinson wrote:
> If you look at the Class.
Hi,
The error message says it all: GWT transcodes Java to Javascript.
So, instead of adding jar in classpath, you have to add the source of
the library to your own source in order to have it transcoded by the
GWT compiler.
Warning though: GWT compiler has a limited support of Java Runtime.
See th
Hi,
It's possible: did it several times.
The key is to use GWT-RPC (instead of JSON, xml, etc..) in order to
preserve all the Java structure between client and server.
How ?
a) You will define Foo, Bar, Baz in the "shared" folder of project
structure so that they know on both sides
b) you will
Hi,
a) You need the source code so that GWT can translate it to JS ->
should be no issue for open source libraries
b) Those libraries have to restrict themselves to classes and methods
of those classesemulated by GWT -> that's probably gonna be hard to
respect for rich libraries. The emulated p
Hi,
GWT is probably the best choice if your competences in Java are
already there and also if your backend system are written in Java
because then you have the same core technology for front- and back-end
and can leverage the great java tooling (junit, findbugs, etc.) for
your front-end
regards
d
Hi,
Yes for GWT: http://code.google.com/webtoolkit/
For all details on GAE, see
http://googleappengine.blogspot.com/2010/10/research-project-appscale-at-university.html.
YOu can then get code at http://code.google.com/p/googleappengine/
didier
On Dec 10, 11:07 am, Emanhossny wrote:
> Hello All
Hi, the exact list of classes that you can use is here:
http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html
Be careful though: some methods are supported and some not, the list
above details it.
regards
didier
On Dec 10, 6:39 am, aditya sanas <007aditya.b...@gmail.com> wrote:
> Hi,
dependencies because of
> product support for our customers.
>
> I only need a small demo/diagram or a simple demo project to check out
> how I can implement it in a simple way.
>
> Regards
> Steff
>
> On 7 Dez., 18:05, Didier Durand wrote:
>
> > Hi,
&g
Hi,
Check out http://www.gwtwindowmanager.org/: it's doing what you want.
regards
didier
On Dec 7, 2:37 pm, Musicman75 wrote:
> Hello,
>
> is there a small example how to create a desktop like screen with
> multiple windows (resizing, minimize, maximize), add, show, hide
> windows available?
>
Hi,
GWT works very well with servlets: you can use the GWT-RPC to transfer
objects back and forth between front- and back-end without going
through JSON and the like. You can then transfer complex object
structures / collections between both sides.
Is your back-end server servlet-oriented?
Anywa
Hi,
Everything you need is detailed here:
http://code.google.com/webtoolkit/doc/1.6/DevGuideOrganizingProjects.html
On Dec 7, 11:06 am, coelho wrote:
> Hello
>
> I'm trying to bild a small application using RPC to acces SQL data
> ( jdbc )
>
> It works no problem so far
>
> I'd like this applica
Hi,
Have you read this comparison
http://jeantessier.com/SoftwareEngineering/Mocking.html
?
May help in you choice
didier
On Dec 7, 8:24 am, metalhammer29a wrote:
> Hello,
> I was wondering, which Mock framework do you use in your GWT
> development ?
> What has been your experience ?
>
> I am
Hi,
You should use "Output style = detailed" when translating to JS: your
files will get much bigger but the source in js will be very easy to
match with its java equivalent. Then by using firebug, you should spot
where your issue is.
regards
didier
On Dec 2, 5:34 pm, rjcarr wrote:
> I've been
Hi,
Did you think about using Google App Engine for your unit testing:
it's 1-click deploy (also possible via Ant Task) and no issue in
provisioning hardware and software: Google does it for you.
That what I do to be as fast as possible in my devs and tests.
NB: sql is not usable on GAE but if y
Hi,
Are you sure that you need to change the picture also ? The Same
Origin Policy in the browser doesn't apply to tags.
regards
didier
On Nov 28, 9:50 pm, khalid wrote:
> Hello every one
> I am working on a web-based proxy using GWT (similar to php proxy)
> anyway , the idea is quite simple
Hi,
You have to have the source code of your classes and let GWT translate
them from Java to Javacript so that they can run in the browser.
Caution: the jre emulation in GWT is limited -> see the list to check
what your business classes can and cannot use. See
http://code.google.com/webtoolkit/do
Hi,
Yes, you can use them jointly.
One point though: you have to be in synch in the dependencies: GWT
Designer version may have requirements on a given version of GWT. So,
be careful.
It will probably get simpler over time as Google harmonizes the
various products but some patience is needed, I
Hi Gaurav,
Will start using it for some project of mine: I'll come back to you
with feedback.
regards
didier
On Nov 25, 6:25 am, Gaurav Vaish wrote:
> Hi Guys,
>
> I've put up quick starter documentation
> athttp://code.google.com/p/gcodemirror/wiki/GettingStarted
> and javadoc
> athttp://gco
Hi,
I see 2 reasons for this situation:
1) GWT Designer is a recent product for Google: see
http://googlewebtoolkit.blogspot.com/2010/09/google-relaunches-instantiations.html
-> integration not yet perfect
2) GWT Designer is an optional add-on clearly separated from the core
of GWT: no need for
Hi Niels,
Are you working with GWT on Google App Engine
If yes, Tasks may be what you need: see
http://code.google.com/appengine/docs/java/taskqueue/overview.html
regards
didier
On Nov 24, 3:05 pm, Baloe wrote:
> Hi,
>
> Has anyone experience using JMS with GWT? We need something like that,
>
Hi,
To receive better answers, can you publish the details of the
Throwable that you get in the onFailure()?
regards
didier
On Nov 24, 6:52 am, Yugal wrote:
> Hi,
> i am developing a simple GWT application in which i want to implement
> a login module in GWT. after successful login it should g
Hi Baloe,
You should definitely implement security in the back-end rather than
in the front-end: you have to keep in mind that your back-end may be
called by something else than your js code generated by GWT. You're
then in bad shape if your back-end services accept any request without
checking.
y this thread when searching for it.
>
> On Nov 23, 5:35 am, Didier Durand wrote:
>
> > Hi David,
>
> > You can achieve what you want by using ServiceDefTarget of GWT.
>
> > Here below some code snippet of mine dynamically creating a detailed
> > url (instea
Hi David,
You can achieve what you want by using ServiceDefTarget of GWT.
Here below some code snippet of mine dynamically creating a detailed
url (instead of the basic one done by the annotation) to allow better
monitoring: I put some info (object id, etc.) in the url to monitor
more efficiently
Hi,
I would recommend the book "Ajax Security" by Billy Hoffmann
regards
didier
On Nov 21, 6:17 pm, Brett Thomas wrote:
> Id love to hear answers too. I try to listen to a great podcast every week,
> Security Now -www.grc.com/securitynow
> On Nov 21, 2010 11:20 AM, "Jeff Larsen" wrote:> I
> r
Hi,
My 2 cents:
a) learning curve for GWT higher than JQuery
b) You can't work efficiently with GWT if you don't master html, http,
javascript anyway...
c) GWT is great because you come back to compile mode: your code is
correct much faster and you don't have to write lots of unit test to
confirm
Hi,
GWT translate Java to Javascript to run on the client side.
This javascript is then in the usual sandbox preventing access to pc
files: I would say that what you want to achieve is not possible
because of this js architecture unless you go to very special tricks
requiring additional component
Hi
You really should give a second chance to GAE:
- space can go very high if you are willing to pay as you go
- document upload is possible via BlobStore (I do it in one of my
apps)
- I would emphasize extremely detailled monitoring for which i know no
equivalent by other hosters.
Then, you wil
Hi,
Traditional javascript (to which gwt java gets converted) architecture
is basically mono-thread in terms of real concurrent execution: so,
gwt has to stay mono-thread also.
The only possibility that I see to get muti-thread (in a standard
manner) with JS is HTML5 bu to my knowledge GWT doesn'
/widgetideas/table/client/
TableBulkRenderer.java'
[WARN] Line 404: Referencing deprecated class
'com.google.gwt.widgetideas.table.client.overrides.HTMLTable'
On Nov 18, 5:06 am, Didier Durand wrote:
> Hi John,
>
> Very good news about the PagingScrollTable that I use heavily: glad to
> know that it now
Hi John,
Very good news about the PagingScrollTable that I use heavily: glad to
know that it now has a clear future (under the new implementation)
Also good to know that other widgets of incubator will be preserved
for now.
regards
didier
On Nov 17, 9:07 pm, Gal Dolber wrote:
> Great news!
>
>
Hi AgitoM,
If your document isn't too sophisticated, you could maybe represent it
as a cell (or a couple of cells) of Google Spreadsheet and then use
the Spreadsheet API to leverage its sharing capabilities. See
http://code.google.com/apis/spreadsheets/
regards
didier
On Nov 17, 10:20 am, Agito
Hi,
Think I understand now: you want to use the class on client side (i.e.
within he browser) and you did put it in the client directory. Right ?
Then, GWT wants to compile it to Javascript. At this point,2
solutions: a) either you provide the source of the class or b) you
inherit the javascript
Hi Yacov,
The list of jre classes supported / emulated by GWT is here (be
careful: some methods are missing in some cases):
http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html
For the rest, you either have to provide the source code limited to
the use of emulated classes or inherits
Hi Sebastian,
Yes, when you use GWT in conjonction with Tomcat or any other app
engine that you control, you can use whatever you want / need on the
backend.
Question: did you give the last devs between Spring and App Engine a
chance ? See
http://java.dzone.com/articles/creating-application-using
Depending on your requirements, you could also use some iframe
mechamisms to have panels of the 2 applications on the same screen.
It makes then inter-app communication a bit harder but possible.
regards
didier
On Nov 15, 12:50 pm, Raju wrote:
> Hi,
>
> I am new to GWT and had a requirement.
>
Hi,
For more info on WebAppCreator, see
http://code.google.com/webtoolkit/doc/1.6/tutorial/create.html
If you want help about your issue, I guess that you have to post your
java stack trace at time of error
regards
didier
On Nov 15, 8:40 am, Frank Bølviken wrote:
> Any ideas?
>
> On 13 Nov, 0
Hi,
Wouldn't code splitting at least be part of your answer: see
http://code.google.com/webtoolkit/doc/latest/DevGuideCodeSplitting.html
regards
didier
On Nov 12, 12:14 pm, "Johan P." wrote:
> Hi.
>
> I'm working on a hack of the GWT compiler enabling to dynamically load
> Module compiled separ
Hi Sebastian,
Here below is the white list of classes supported by Google App
Engine (not GWT - as per your title): if you have code on your server
side that references other classes than those, then you will get the
message that you have.
http://code.google.com/appengine/docs/java/jrewhitelist.
Hi,
Does your test case extends GWTTestCase: see
http://code.google.com/webtoolkit/doc/latest/DevGuideTesting.html#DevGuideJUnitCreation
for all details
regards
didier
On Nov 11, 5:59 pm, darkling wrote:
> I'm trying to build some unit tests for a GWT application.
>
> I'm using GWT 2.2, SmartGW
e removed
> > that, and still get the error. And I _am_ bringing back some large
> > and complex objects via RPC, so I'll look into that.
>
> > On Nov 6, 3:50 am, Didier DURAND wrote:
>
> > > Hi,
>
> > > I don't know enough about your appl b
Hi,
Also agree about Objectify: use it with great satisfaction.
didier
On Nov 7, 11:46 am, Shawn Brown wrote:
> Hi,
>
> > I've been using JDO these weeks. I've followed the tutorial at GAE
> > Docs, and I learned how to create and get entity objects.
>
> It just my opinion based on struggling w
Hi Caio,
You should post this in Google App Engine group: better chance for
responses.
regards
didier
On Nov 7, 2:42 am, Caio wrote:
> Hello, guys.
>
> I've been using JDO these weeks. I've followed the tutorial at GAE
> Docs, and I learned how to create and get entity objects.
>
> I've created
Hi,
I don't know enough about your appl but we had similar issues: that
was due to complex data structures that we were bringing back to the
client from the server over the GWT RPC -> we had to simplify the
structures (carrying simple arrays of objects rather than complex
graphs over RPC) in order
Hi Bruno,
Remove the flush(): your duty is to fill up the stream with the
content to deliver . Later on, the servlet handler to which you give
the response (incl the stream) back will flush it back to the
browser.
regards
didier
On Nov 5, 8:01 pm, Bruno Santos wrote:
> I'm trying to generate a
Hi,
I would recommed 2 steps:
- using GWTTestCase included in GWT itself:
http://code.google.com/webtoolkit/doc/latest/tutorial/JUnit.html. Very
useful for the developper
- If you need to run external tests totally independent from dev env,
I would then go with Selenium. More to be used by some
Hi Owen,
Did you also install the Google App Engine part of Google SDK on your
Eclipse? Then running and debugging a database-oriented application
gets easy and efficient: the SDK has a Jetty (i.e Tomcat-like) in it.
So, you can fully test locally and test deploy as easily on App Engine
infrastruc
Hi,
IE8 is known for memory leaks with images (resizing, etc.)
example:
http://stackoverflow.com/questions/803150/can-someone-verify-that-this-is-an-ie8-memory-leak
didier
On Nov 1, 7:06 pm, hermis wrote:
> Hello,
>
> I have written a simple application which fills a FlexTable with a set
> of i
Hi Adam,
GWT's Javascript Native Interface (JSNI) is what you need
see
http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=DevGuideJavaScriptNativeInterface
regards
didier
On Nov 2, 6:54 am, adam_j_bradley
wrote:
> I have some JS code which currentl
Hi,
Yes, IsSerializable or java.io.Serializable are compulsory
see
http://code.google.com/webtoolkit/doc/1.6/FAQ_Server.html#Does_the_GWT_RPC_system_support_the_use_of_java.io.Serializable
regards
didier
On Nov 2, 12:36 pm, jayalakshmi jahagirdar
wrote:
> hello all,
> Iam trying to pass a obj
Hi Ray,
I can suggest the IM service (xmpp) of Google App Engine: see
http://code.google.com/appengine/docs/java/xmpp/overview.html
You gain scalability for free.
regards
didier
On Nov 2, 12:55 am, Ray Tayek wrote:
> hi, i have this web app that needs to keep an connection open for
> server sid
Hi Ray,
To answer your second question, I would suggest using Google App
Engine in addition to GWT: you can deploy right away to GAE (with no
infrastructure on your own) after your local test with 127.0..0.1
tests.
If you use GAE, then the sdk of GAE will also allow you to run your
app directly w
Hi Mike,
Probably an issue in the location of the various classes: can you tell
us the packages that they belong to ?
didier
On Oct 29, 11:23 pm, Mike wrote:
> I tried changing the line to:
>
> public enum Color implements IsConfigurable, Serializable
>
> and I'm still getting the same compile
Hi,
Code splitting should help you toward your target
See http://code.google.com/webtoolkit/doc/latest/DevGuideCodeSplitting.html
didier
On Oct 27, 5:14 pm, kendeng9898 wrote:
> I want to build up an application with a pluggable function. This
> application is base on gwt 2.0.3 and jboss seam
Hi Blaze,
The quota for geocoding limits with Google Maps is described here:
http://code.google.com/apis/maps/faq.html#geocoder_limit
regards
didier
On Oct 25, 12:10 am, Blaze wrote:
> Hi all,
>
> I have two questions related to gwt maps api:
>
> 1. I use gwt maps api and the maps(the images) a
Hi abhijeet,
You should read
http://code.google.com/webtoolkit/doc/latest/DevGuideCodeSplitting.html
You'll find there what you need.
didier
On Oct 22, 9:52 am, abhijeet
wrote:
> We have product, who's front end is in GWT. As it contains many
> classes (Around 150 menus, you can imagine now)
Hi
JavaUtil may be included because 1 of the gwt components that you use
(HTML, RootPanel, etc.) may need id.
To figure it out, you should compile with GWT in detailled mode, then
find out the name of js code for java.util and search it throughout
the entire code of your application to see where
Hi,
I would also advise you to give a try to Objectify: I abandonned jdo
for it. Very efficient and much simpler!
Concerning your issue, Objectify works great: its annotations go
through via GWT and you can use same class on client and server.
See http://code.google.com/p/objectify-appengine/wik
Hi Jason,
Did you check for any traffic with the server (via a Firefox plugin
like Firebug or equiv)
Do you see requests from client to server ?
regards
didier
On Oct 19, 11:20 am, Jason wrote:
> Any idea? Many Thanks!
>
> On Oct 14, 4:46 am, Jason wrote:
>
> > Hi All,
> > I am debugging a GW
Hi Daniel;
Did you get this issue on various browsers ? Chrome, FF, IE
I have similar issues with sizes on Webkit-based browsers.
didier
On Oct 14, 2:02 pm, daniela iervolino wrote:
> Hi!
> Can someone help me?
> I want to get the positions of the objects in my window. For widgets
> like image
It works here in Ubuntu 32bit 10.04
Do you use 64 bits ? I have read about some issues with 64 bits
didier
On Oct 9, 2:18 pm, Racka wrote:
> Hi all,
>
> i'm using arch linux and my browser is firefox (and blackbox as window
> manager, no desktop manager at all). When i try to start a hosted mod
Hi Il Lupo,
I guess that you want to replicate what is usually done in js but you
want to do it natively in Java: the way to go is to use
com.google.gwt.dom.client.Node (or Element)
If you know the html id of your element, then you can get it and start
iterating over its children to reach them as
Hi Will,
I developped some mechanism based on reflection API to qutomatically
do gets from Objectfiy pojo and sets to client pojo when going from
server to client and gets from client pojo to sets of server pojo
when going from client to server. This avoids me typing all this code
and making err
I personally use the clone technique: i.e a simple pojo with no
annotation.
You may later on face a second issue with your annotated objects if
their methods use server side specific objects or methods: the
emulated part of JRE in gwt is fairly small: see doc.
so, separating client and server sid
Hello,
To improve the coverage of my automated tests, I'd like to test my own
GWT.UncaughtExceptionHandler within a GWTTestCase to see if it
functions correctly.
I can't do it for now: the JUnit test always fails.
Can you help me an let me know what's wrong in my code below ? (I
tried to use an
Hi, can't you store this text in a cookie so that you get it back
after reload ?
(I would even say you that you can push this cookie back/down to the
client browser via some rpc form of you choice in order to place it in
the browser cache before reload happens)
regards
didier
On Oct 5, 1:56 pm,
Hello,
You have to use Places API - see
http://code.google.com/apis/maps/documentation/places/
Not yet part of the Java version of Google Maps Api but you can access
it via JSON
On Oct 1, 7:22 pm, mic wrote:
> Can I use GWT Maps API for proximity searches?
>
> Find all restaurants within 25 mi
t class in "client". But, I don't have any idea, what will
> happen when any class be put in "shared".
>
> Thanks.
>
> On Oct 1, 11:30 am, Didier DURAND wrote:
>
> > Hi,
>
> > Did you place it in package name "shared" so that it
ve annotations.
>
> On Sep 30, 11:28 pm, Didier DURAND wrote:
>
> > Hi there,
>
> > the GWT compiler will not complain on annotations. But, I would like
> > to check them on client side in Javascript.
>
> > On server side, I usually use getAnnotations() from
Hi Noor,
If you really want to demonstrate the capabilities of GWT, you have to
include images & graphics with various layers on top of each other.
Else you will end up using the GWT in their plain (although
sophisticated) form: we developped for our company such an application
(e-tearsheeting fo
Hi,
Did you place it in package name "shared" so that it gets transcoded
to js ?
didier
On Oct 1, 6:23 am, Parth wrote:
> Hi all,
>
> I am using GWT 2.0.4. I am not able to use user defined instance of
> class defined even at client side. I am able to access data using JSON
> object with JSNI at
Hi there,
the GWT compiler will not complain on annotations. But, I would like
to check them on client side in Javascript.
On server side, I usually use getAnnotations() from Class. But
current JRE emulation by GWT does not provide getAnnotations()
although it provide the Annotation class.
So,
ogspot.com
>
> On Thu, Sep 30, 2010 at 9:13 AM, Didier DURAND wrote:
>
> > Hi,
>
> > Is your project also using JDO for Google App Engine ? If yes, this
> > may come from the class enrichment process made the GAE plugin under
> > Eclipse.
>
> > Seeht
Hi,
Is your project also using JDO for Google App Engine ? If yes, this
may come from the class enrichment process made the GAE plugin under
Eclipse.
See http://code.google.com/p/googleappengine/issues/detail?id=1970
regards
didier
On Sep 29, 6:47 pm, Vik wrote:
> Hie
>
> seeing following exce
Hi,
I think that you're having a Google App Engine Problem rather than a
GWT problem: the class that you mention is not the white list of
Google App Engine. Hence the exception.
http://code.google.com/appengine/docs/java/jrewhitelist.html
If your plan is not to run you app on Google App Engine b
Hi Trevor,
I would suggest giving also a try to Objectify which a layer on top of
raw Datastore: it makes access to data much easier and has a lower
learning curve than JDO.
See http://code.google.com/p/objectify-appengine/ (have a special look
at wiki pages)
I moved away from JDO for Objectify
Hi,
the static method getVersion() on class GWT (so GWT.getVersion())
gives it programmatically.
So, if you put your jars alternatively in your classpath, you will
find the version of each of them
didier
On Sep 23, 9:31 pm, Viktoriya Sokolova
wrote:
> Hi.
>
> I have a few GWT jars I am using, b
HI Daniela,
would you explain while you need to do this "special occasion" king of
thing?
regards
didier
On Sep 23, 10:30 am, Daniela Iervolino
wrote:
> Hi everyone!
> Does anyone know how modifing files from .jar libraries?
> I've tried to modify some files from a library (for example, gwt-
> u
Hi Rodrigo,
Do you work with Eclipse, if yes verify File > Properties > Resources
> Text file encoding
This property has to be set to UTF-8.
regards
didier
On Sep 23, 2:38 am, Rodrigo Teixo wrote:
> Hi all.
>
> I have made a simple module and a html with UTF-8 enconding.
>
> The javascript res
Did you check if you have the issue on all browsers: I have it on
Webkit based browsers (Safari + Chrome) but not on IE and FF.
didier
On Sep 22, 12:43 am, Damon Lundin wrote:
> On Sep 21, 5:21 pm, Gal Dolber wrote:
>
> > try with onAttach()
>
> The method onLoad is called by onAttach so overid
Hi everybody,
I need to escape utf-8 to their html format.
I use the function below and the gwt compiler to JS doesn't like it:
it says "duplicate case" for all cases starting with and after the
à
a) Can somebody tell me what I am doing wrong ?
b) Is there any better way (using official GWT cod
86 matches
Mail list logo