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
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 metalhammer...@gmail.com wrote:
can I use Class.forName and
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 rubinikuttyomku...@gmail.com wrote:
jc jc.chan...@... writes:
I check
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
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 ukcue...@gmail.com wrote:
If you
MyType is not serializable
On 14/12/10 09:33, Didier Durand wrote:
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
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
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,
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 e.hos...@gmail.com
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
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
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,
Have you read this comparison
http://jeantessier.com/SoftwareEngineering/Mocking.html
?
May help in you choice
didier
On Dec 7, 8:24 am, metalhammer29a metalhammer...@gmail.com wrote:
Hello,
I was wondering, which Mock framework do you use in your GWT
development ?
What has been your
Hi,
Everything you need is detailed here:
http://code.google.com/webtoolkit/doc/1.6/DevGuideOrganizingProjects.html
On Dec 7, 11:06 am, coelho metronome.ba...@worldonline.fr wrote:
Hello
I'm trying to bild a small application using RPC to acces SQL data
( jdbc )
It works no problem so far
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?
Hi,
Check out http://www.gwtwindowmanager.org/: it's doing what you want.
regards
didier
On Dec 7, 2:37 pm, Musicman75 stephan.beu...@googlemail.com wrote:
Hello,
is there a small example how to create a desktop like screen with
multiple windows (resizing, minimize, maximize), add, show,
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 rjc...@gmail.com
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
Hi,
Are you sure that you need to change the picture also ? The Same
Origin Policy in the browser doesn't apply to img tags.
regards
didier
On Nov 28, 9:50 pm, khalid khalid@gmail.com wrote:
Hello every one
I am working on a web-based proxy using GWT (similar to php proxy)
anyway , the
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 gaurav.va...@gmail.com wrote:
Hi Guys,
I've put up quick starter documentation
athttp://code.google.com/p/gcodemirror/wiki/GettingStarted
and
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,
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
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.
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 arosys.yu...@gmail.com wrote:
Hi,
i am developing a simple GWT application in which i want to implement
a login module in GWT. after
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 nielsba...@gmail.com wrote:
Hi,
Has anyone experience using JMS with GWT? We need
finds only this thread when searching for it.
On Nov 23, 5:35 am, Didier Durand durand.did...@gmail.com 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 (instead of the basic one done
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
Hi,
I would recommend the book Ajax Security by Billy Hoffmann
regards
didier
On Nov 21, 6:17 pm, Brett Thomas brettptho...@gmail.com 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
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
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
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
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
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,
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 gal.dol...@gmail.com
'com.google.gwt.widgetideas.table.client.overrides.HTMLTable'
On Nov 18, 5:06 am, Didier Durand durand.did...@gmail.com wrote:
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
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
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,
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 frank.bolvi...@gmail.com wrote:
Any
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 rajus...@gmail.com wrote:
Hi,
I am new to GWT and had
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
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.
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. johan.piq...@gmail.com wrote:
Hi.
I'm working on a hack of the GWT compiler enabling to dynamically load
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 darkling...@aol.com wrote:
I'm trying to build some unit tests for a GWT application.
I'm using
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 durand.did...@gmail.com wrote:
Hi,
I don't know enough about your appl but we had similar issues: that
was due to complex data
Hi Caio,
You should post this in Google App Engine group: better chance for
responses.
regards
didier
On Nov 7, 2:42 am, Caio caio.nery1...@yahoo.com.br 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
Hi,
Also agree about Objectify: use it with great satisfaction.
didier
On Nov 7, 11:46 am, Shawn Brown big.coffee.lo...@gmail.com 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
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 bruegosan...@gmail.com wrote:
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,
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 Adam,
GWT's Javascript Native Interface (JSNI) is what you need
see
http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=google-web-toolkit-doc-1-5t=DevGuideJavaScriptNativeInterface
regards
didier
On Nov 2, 6:54 am, adam_j_bradley adam.bradley.consult...@gmail.com
wrote:
I
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 ermis.h...@gmail.com wrote:
Hello,
I have written a simple application which fills a FlexTable
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
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
jayalakshmi.jahagir...@gmail.com wrote:
hello
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
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 rta...@ca.rr.com wrote:
hi, i have this web app that needs to keep an connection open
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 mikem2...@gmail.com wrote:
I tried changing the line to:
public enum Color implements IsConfigurable, Serializable
and I'm still getting
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 dolephi9...@gmail.com wrote:
I want to build up an application with a pluggable function. This
application is base on gwt
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 baze...@gmail.com wrote:
Hi all,
I have two questions related to gwt maps api:
1. I use gwt maps api and the
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 abhijeetsuryawanshi1...@gmail.com
wrote:
We have product, who's front end is in GWT. As it contains many
classes (Around
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
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 goodta...@gmail.com wrote:
Any idea? Many Thanks!
On Oct 14, 4:46 am, Jason goodta...@gmail.com wrote:
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 daniela.ie...@gmail.com wrote:
Hi!
Can someone help me?
I want to get the positions of the objects in my window. For
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
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 hello.ra...@gmail.com 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
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
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
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,
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,
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
not have annotations.
On Sep 30, 11:28 pm, Didier DURAND durand.did...@gmail.com 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 Class. But
current JRE
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 durand.did...@gmail.com wrote:
Hi,
Did you place it in package name shared so that it gets transcoded
to js ?
didier
On Oct 1, 6:23 am, Parth
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 mina...@gmail.com wrote:
Can I use GWT Maps API for proximity searches?
Find all
, Sep 30, 2010 at 9:13 AM, Didier DURAND durand.did...@gmail.comwrote:
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.
Seehttp://code.google.com/p/googleappengine/issues/detail?id=1970
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
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 vik@gmail.com wrote:
Hie
seeing
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 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 daniela.ie...@gmail.com
wrote:
Hi everyone!
Does anyone know how modifing files from .jar libraries?
I've tried to modify some files from a library
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 viktoriya.sokol...@gmail.com
wrote:
Hi.
I have a
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 horariofa...@gmail.com wrote:
Hi all.
I have made a simple module and a html with UTF-8 enconding.
The
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 damon.lun...@gmail.com wrote:
On Sep 21, 5:21 pm, Gal Dolber gal.dol...@gmail.com wrote:
try with onAttach()
The method
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
agrave;
a) Can somebody tell me what I am doing wrong ?
b) Is there any better way (using official
83 matches
Mail list logo