My orginal project is a eclipse dynamic web project(WST), I rename the
"WebContent" folder to "war" and modify the .classpath file to make
sure that the WST sense the change and fit the GWT 1.6 war layout.
Then I enable the GWT nature and launch the Hosted Mode, It still
launched with GWT 1.5 GWT
new in 1.6 is the @RemoteServiceRelativePath("...") Annotation. This
makes it somewhat easier to do "Async Singletons"
typically, to get a remote interface in your app, as in the example,
you would do:
GreetingServiceAsync greetingService = GWT.create
(GreetingService.class);
then use greetingS
GWT creates 2 packages for you: client and server. For the subject of
shared code, and especially DTO's, this is kind of weak;
architecturally. You don't want to include "client" code on the server
- it just ... smells wrong.
I create a third package, given com.myco.client, and com.myco.server,
I
Hi,
I'm not a GWT user, instead I write DataNucleus (used by AppEngine).
There's an issue around GWT and RPC serialisation when using a
bytecode enhanced class. The class (when enhanced) has a field
Object[] jdoDetachedState;
which basically contains
Object[0] is an object of the primary key ty
onModuleLoad() the culprit... anytime a significant amount of
JavaScript is run, it uses the single browser thread. That same thread
is
used to run "Animated GIF's", hence they freeze while script is being
run. Breaking up the tasks will only make the GIF animation
"choppy" while waiting for an As
On Sat, Apr 11, 2009 at 4:30 AM, Dean S. Jones wrote:
>
> onModuleLoad() the culprit... anytime a significant amount of
> JavaScript is run, it uses the single browser thread. That same thread
> is
> used to run "Animated GIF's", hence they freeze while script is being
> run. Breaking up the task
If you look at the Java source for BitSet, you'll see it uses an array
of long[] JavaScript has no concept of long, so GWT has an
"simulation" of long, but it's not perfect.
One could easily write an emulation class and serializers, but it's
not likely the bit math would be correct without to
I'd recommend this pattern instead:
public interface GreetingServiceAsync
{
public static class Wrapper {
public static final GreetingServiceAsync RPC = GWT.create
(GreetingService.class);
}
void greetServer(String input, AsyncCallback callback);
}
That way you don't pay for the
Thx Dean. So if this "Object[]" field had Object[2] stored as boolean
[] and Object[3] stored as boolean[] then this would work ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to
I'm not saying IncrementalCommand doesn't help, it just breaks up the
JavaScript into smaller units, adding DeferredCommand lets the "GIF
Animation" use the thread while the JS is scheduled to run. Async has
alot to do with it... while waiting for a reply, the browser thread is
free, quiescent, ..
Are you sure the GWT long acts differently than a true Java long? My
understanding was that as of 1.5 the long on the client correctly emulates a
real long primitive.
No?
http://groups.google.com/group/Google-Web-Toolkit-Contributors/browse_thread/thread/3c768d8d33bfb1dcseems
to be the thread th
At this point, I'm not going to bet my life on GWT simulation of long
and bit operations.
boolean[] is less efficient, but easier to trust.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
On Sat, Apr 11, 2009 at 4:57 AM, Dean S. Jones wrote:
>
> I'm not saying IncrementalCommand doesn't help, it just breaks up the
> JavaScript into smaller units, adding DeferredCommand lets the "GIF
> Animation" use the thread while the JS is scheduled to run.
Which exactly solves the problem he
On Sat, Apr 11, 2009 at 5:02 AM, Dean S. Jones wrote:
>
> At this point, I'm not going to bet my life on GWT simulation of long
> and bit operations.
I would because first of all you can check the code - this kind of stuff has
been written hundreds of times for all sorts of different bit sizes.
My assumption is, Async.RPC, like any static in a class, is not
initialized till the class is first referenced. The "Internal Class"
trick you cite
has more to do with "Java Proper" Classloaders, and how they handle
initialization in a Multi-threaded environment ( they are guaranteed
to
be determi
Well not being a GWT user I can't comment on the details of what is
going on in the GWT side, but from the enhanced class side here you
can see an enhanced class
http://db.apache.org/jdo/enhancement.html
with the before and after. The field "jdoDetachedState" is the one
referred to, and this relie
On Sat, Apr 11, 2009 at 5:15 AM, Dean S. Jones wrote:
>
> My assumption is, Async.RPC, like any static in a class, is not
> initialized till the class is first referenced. The "Internal Class"
> trick you cite
> has more to do with "Java Proper" Classloaders, and how they handle
> initialization
I'll move discussion to the other thread that Vitali linked to avoid
duping. Thx for your time.
--~--~-~--~~~---~--~~
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-W
Just to clarify my attempted solution and why it isnt working;
Post Quick Review
Is the html produced by one of the standard Hyperlinks in GWT. This
works fine, it triggers history, and it dosnt refresh the page in IE.
This however, is the html produced by my attempt at having a close "X"
in
Every time I run into this kind of issue, BitSet, BigInteger,
BigDouble I dig into the source code and find one common element:
long, long, long.
3 GWT projects I thought I was smarter than the GWT team and
implemented the emul classes and serializers. Worked most of the time,
but failed on t
Yes, true - but in GWT, the ONLY reason to reference an Async class it
to make an Async call...
--~--~-~--~~~---~--~~
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-W
Yeah, makes sense. I'd still do the log statement in the static initializer
just to be certain.
I don't see how any of this actually new though with 1.6. You could have
done all this earlier as well with the appropriate code snippet going into
the static block.
On Sat, Apr 11, 2009 at 5:38 AM,
You are correct, Incremental+Deferred lessens the effect.
In a perverse way, I like to see the freeze. It reminds me that the
browser is processing "something", and I investigate "what" that time
is.
--~--~-~--~~~---~--~~
You received this message because you are s
I have no experience with the JDO stuff, so I can't comment on it.
On Sat, Apr 11, 2009 at 5:33 AM, Dean S. Jones wrote:
>
> Every time I run into this kind of issue, BitSet, BigInteger,
> BigDouble I dig into the source code and find one common element:
> long, long, long.
>
How big exactl
On Sat, Apr 11, 2009 at 6:00 AM, Dean S. Jones wrote:
>
> You are correct, Incremental+Deferred lessens the effect.
>
> In a perverse way, I like to see the freeze. It reminds me that the
> browser is processing "something", and I investigate "what" that time
> is.
But it'll piss off your users
true, the static bloc is 10 LOC of boilerplate in 1.5/1.4
My app, has 20+ RPC interfaces, one per sub-system. They are all bound
to ONE RPC interface, the Server takes care of dispatching to the
right
POJO that matches the RemoteInterface dynamically. 1.6 was just less
boilerplate.
On Apr 11, 5:
IE6 is the benchmark - if it doesn't perform there, it's back to the
drawing board.
--~--~-~--~~~---~--~~
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@g
We know IE6 has 2 connections, we can "batch" requests to work around
this
As far as Firefox and Chrome - We have had to "throttle" simultaneous
requests.
Web Architecture is a weird and fine art ;-)
On Apr 11, 6:18 am, "Dean S. Jones" wrote:
> IE6 is the benchmark - if it doesn't perform
Hellu,
I am about to mergen vrom 1.5 to 1.6 and like to know how I can easily
share rersources like for example an image folder between different
gwt modules/apps ?
I .5. I simple have a symlink to from inside a gwt app public folder
to the project that contains the shared folder.
But can't I im
Nice thanks for pointing out
-- Ed
On Apr 11, 8:06 am, Vitali Lovich wrote:
> Sweet - that's a clever approach.
>
> On Sat, Apr 11, 2009 at 1:26 AM, Adam T wrote:
>
> > Vitali, you'd just create your own property with two values:
> > Generically:
>
> > 1. Define the properties:
> >
>
>
Hello,
I recommend using GWT server library at
http://gwt-widget.sourceforge.net/?q=node/51.
There are several options for you available how to integrate your
services with spring.
Regards Harald
On 10 Apr., 14:41, rr wrote:
> Hello,
>
> i read few articles about spring and gwt integ
I'm not 100% sure if this satisfies your requirements, but you could have
ImageBundle classes that are shared between modules.
Or if you want actual sharing (as opposed to simply code sharing), you
could create an ant task that copies your resources to the war/ directory -
this way (if you set up
On Sat, Apr 11, 2009 at 6:18 AM, Dean S. Jones wrote:
>
> IE6 is the benchmark - if it doesn't perform there, it's back to the
> drawing board.
Are you referring to the lock up issue? It affects IE6 as well, maybe even
worse because with IE6 when you hit ctrl+n, it actually does it in a really
Thanks Vitali but I tried those options before and they aren't good
enough.
Images are just an example but I also have js, html templates and
other stuff to share.
Ant is nice, I had that, but it has to work in hosted mode as well. I
used a eclipse builder as well, but found out that a simple syml
On Sat, Apr 11, 2009 at 6:31 AM, Dean S. Jones wrote:
>
> We know IE6 has 2 connections, we can "batch" requests to work around
> this
>
> As far as Firefox and Chrome - We have had to "throttle" simultaneous
> requests.
>
> Web Architecture is a weird and fine art ;-)
Generally, I find tha
Dear all,
I am currently facing a problem in which i am not able to understand
the reason. This problem is happening only in hosted mode and when
using IE.In Mozilla firefox it is working fine.
I am currently having an application in GWT containing Some grids and
some drill down charts using fus
But what if the delay is due to the time it takes for the JavaScript
to be sent across the network and loaded into the browser (as opposed
to the onModuleLoad function running to completion)? e.g. If the
client becomes large with lots of JavaScript, then it will take more
time to load. Will the
Dear all,
I am currently facing a problem in which i am not able to understand
the reason. This problem is happening only in hosted mode and when
using IE.In Mozilla firefox it is working fine.
I am currently having an application in GWT containing Some grids and
some drill down charts using fus
Dear all,
I am currently facing a problem in which i am not able to understand
the reason. This problem is happening only in hosted mode and when
using IE.In Mozilla firefox it is working fine.
I am currently having an application in GWT containing Some grids and
some drill down charts using fus
Thank you Vitali and Adam for you help, that is exactly what I needed to
know - I'll try it out.
Joe
On Sat, Apr 11, 2009 at 2:09 AM, Vitali Lovich wrote:
> public class MyHyperlink extends Hyperlink
> {
>public MyHyperlink(Element e)
>{
> super(e);
>}
> }
>
> Then find the
You can share code. The question of course becomes, shouldn't you extract
the common code & put it in it's own module. Then you can modify the module
descriptors to inherit the common module - that's the general way of
accomplishing this I believe.
But again, all the non-java resources can go in
On Sat, Apr 11, 2009 at 8:23 AM, JoeB wrote:
>
> But what if the delay is due to the time it takes for the JavaScript
> to be sent across the network and loaded into the browser (as opposed
> to the onModuleLoad function running to completion)? e.g. If the
> client becomes large with lots of Jav
It looks like you start your code in hosted mode, but then hit the page
using a regular browser. You cannot run HostedMode code against a regular
browser without the OOPHM plugin for obvious reasons. In HostedMode, your
code runs ins a regular JVM with GWT code that acts as a communication layer
Just a quick question. For such basic stuff, why are you using JSNI at
all? Just extend the widget to do what you want (or copy, paste & hack the
code from gwt).
This all seems to be something that is perfectly fine to be within the scope
of regular code.
On Sat, Apr 11, 2009 at 5:27 AM, Darkfl
It cant be extended as theres no method to alter the caption bar.
I could copy, paste and hack it, but really I didnt want to have to
mess about on that level.
So instead I was following the advice here;
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/2950c44985a26cdf/ad1a99
Are you using google maps? Anyways, one straightforward approach would be
to use floating divs to overlay your shapes on top of the map (using
transparent backgrounds to make it look right).
Without more contextual information, it's kind of difficult to understand
what you are asking.
On Sat, Ap
Check out gwt-mosaic. It has dialog panels with close buttons.
On Sat, Apr 11, 2009 at 9:19 AM, Darkflame wrote:
>
> It cant be extended as theres no method to alter the caption bar.
> I could copy, paste and hack it, but really I didnt want to have to
> mess about on that level.
> So instead I
But how can I delete the default locale to set just the one I need ?
On 9 avr, 18:35, Vitali Lovich wrote:
> To force the supported user agents:
>
>
>
>
> You can only pick one at a time - you can't do all at once.
>
> extend-property is for locales and means exactly what it says - you are
>
You'd have to hack the source to force a locale. Or just change it so that
the default locale is the one you want.
On Sat, Apr 11, 2009 at 9:40 AM, Twentyseven wrote:
>
> But how can I delete the default locale to set just the one I need ?
>
>
> On 9 avr, 18:35, Vitali Lovich wrote:
> > To for
Hi All
I'm trying to use GWT with GWT 1.6. I've kind of got it working, but
I'm not sure exactly where the "js" folder (that holds all the Java
script) should go.
Any pointers? This is driving me crazy.
--
Thanks
Paul
Paul Grenyer
e: paul.gren...@gmail.com
w: http://www.marauder-consulting.co
Hi,
i want to read data from a website, say www.mysite.com. I tried using
classes in java.net and java.io packages (new BufferedReader(new
InputStreamReader(new URL("www.mysite.com").openStream(, it doesn't
work... :( . i there any other way or package to do this...
thanks and regards,
prash
Hi,
i want to read data from a website, say www.mysite.com. I tried using
classes in java.net and java.io packages (new BufferedReader(new
InputStreamReader(new URL("www.mysite.com").openStream(, it doesn't
work... :( . i there any other way or package to do this...
thanks and reagards,
pras
hi,
can we fetch a URL using GWT??? how?
thanks,
prashant
--~--~-~--~~~---~--~~
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 unsub
Hi,
I'm testing out GWT 1.6 with Eclipse Ganymede and the GWT plugin.
I've attempted to migrate a simple GWT 1.5 app that was completely
maven/jetty based and see if it can be tested out with hosted mode
jetty.
I need to supply a -javaagent parameter to the Jetty hosted mode
server JVM for spri
hi,
anyone know how to set src attribute of an iframe?
--~--~-~--~~~---~--~~
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 unsubscri
Ok, I am still stuck :-(
Anybody got Mysql working with GWT 1.6.4? It worked fine for GWT 1.5
for me, but something seems to have changed with GWT 1.6.4.
Maybe it is due to Jetty and security settings, since I get a
"java.security.AccessControlException"... All I did was to add the "/
usr/share/ja
RequestBuilder
On Sat, Apr 11, 2009 at 10:56 AM, Prashant Gupta wrote:
> hi,
>
> can we fetch a URL using GWT??? how?
>
> thanks,
> prashant
>
> >
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolki
I don't think so. It worked fine for me. Don't see how GWT has anything to
do with the server side code that does the mysql call. Just drop that file
into war/WEB-INF/lib.
On Sat, Apr 11, 2009 at 1:59 PM, martin wrote:
>
> Ok, I am still stuck :-(
> Anybody got Mysql working with GWT 1.6.4? I
RequestBuilder. You may want to read the GWT documentation because it seems
you do not understand that you're not actually running Java code & that you
do not have access to the full JRE (read about the emulated JRE for more
information)
On Sat, Apr 11, 2009 at 10:29 AM, Prashant Gupta wrote:
>
Isn't there a single jar that has it all packaged up? I don't think you
need to worry about any of that.
On Sat, Apr 11, 2009 at 10:21 AM, Paul Grenyer wrote:
>
> Hi All
>
> I'm trying to use GWT with GWT 1.6. I've kind of got it working, but
> I'm not sure exactly where the "js" folder (that ho
Somehow get the DOM Element of the iframe - getElement() if you have a
Widget, otherwise you'll have to find it somehow - best bet is to probably
do this:
Element e = RootPanel.get("myiframe");
then use e.setAttribute("src", "http://site.com";);
On Sat, Apr 11, 2009 at 12:12 PM, Prashant Gupt
Yeah, there's a jar with the Java stuff in, but I think you still need the Java
script at runtime, but I'd love to be wrong. Any pointers?
Sent from my BlackBerry® wireless device
-Original Message-
From: Vitali Lovich
Date: Sat, 11 Apr 2009 15:51:13
To:
Subject: Re: GWT 1.6 and GXT
I'm pretty sure that the jar also has all your javascript resources (there
should be a public directory or something).
On Sat, Apr 11, 2009 at 4:16 PM, Paul Grenyer wrote:
> Yeah, there's a jar with the Java stuff in, but I think you still need the
> Java script at runtime, but I'd love to be wro
You are wrong. There is no .js file. This is true for (at least) all
versions since 1.2.xx. There is some jsni code though...
Their demos might have used some js code.
BUT I don't think GXT 1.2.xx is compatible with 1.6. GXT 2.0 (expected
in April 14th) will be compatible with 1.6..
Alex
On S
Ok, well I must be doing something weird then. I have gxt working with gwt 1.6,
but the js gets overwritten everytime I build. Ill start by checking the gxt
version when I get home.
Sent from my BlackBerry® wireless device
-Original Message-
From: Alexandros Papadakis
Date: Sat, 11 Ap
I've never had problems including 1.5 code in my 1.6 (actually trunk)
project. It seems stupid on the part of the GXT developers not to include
the js files. The easiest way is to just run your app & it should show up
in the Jetty log if it's trying to access resources that aren't there - then
it
What do you mean by every time you build? Do you mean compile using the GWT
compiler? Then I think it might be that you're putting your js files in the
wrong spot.
On Sat, Apr 11, 2009 at 4:35 PM, Paul Grenyer wrote:
> Ok, well I must be doing something weird then. I have gxt working with gwt
>
Yes! So what's the right spot in the 1.6 project structure!
Sent from my BlackBerry® wireless device
-Original Message-
From: Vitali Lovich
Date: Sat, 11 Apr 2009 16:37:57
To:
Subject: Re: GWT 1.6 and GXT
What do you mean by every time you build? Do you mean compile using the GWT
c
i'm not 100% sure - hence the reason I suggested to use the Jetty logs to
find out where it expects them to be (you should see something like a "404 -
resource name" message in the log.
On Sat, Apr 11, 2009 at 4:50 PM, Paul Grenyer wrote:
> Yes! So what's the right spot in the 1.6 project structu
My java is is on localhost: and my php is on localhost, is there
any way i can put the gwt code on localhost instead of localhost:?
On Apr 11, 7:08 am, Adam T wrote:
> could it be a "same origin policy" issue?
>
> It used to be the case that hosted mode was more relaxed on this
> restric
Ok, I solved my issue. I just compiled my gwt code and placed it in
the www folder in my wamp install and jsut accessed //localhost/ and
the path of my gwt html.
On Apr 11, 11:37 pm, "scottland.yo...@googlemail.com"
wrote:
> My java is is on localhost: and my php is on localhost, is there
>
anyone tried out this tutorial
http://seewah.blogspot.com/2008/07/gwt-and-spring.html
?
1. can anyone share UserAccountServiceImpl and UserAccountService
class files?
2. how to call the service in GWT ? is it using GWT.create() ?
--~--~-~--~~~---~--~~
You recei
So what may be the reason it is working perfectly in mozilla firefox and not
in IE.
Whether Mozilla firefox already have this OOPHM plugin .
Could any one give me more informations regarding OOPHM with respect
to my issue.?
On Sat, Apr 11, 2009 at 3:44 PM, Vitali Lovich wrote:
> It loo
Hi all,
I have installed gwt-ext through Maven plugin for eclipse. I am using
gwtext version 2.0.5.
I have added the following to MyApplication.gwt.xml:
I have also added the following to MyApplication.html:
I am using some getext windgets and everything passes
How to install ant under windows?
GWT 1.6 requires ant now. However it seems like ant distribution is
not available for windows users.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To po
Hi
> How to install ant under windows?
> GWT 1.6 requires ant now. However it seems like ant distribution is
> not available for windows users.
It's here: http://ant.apache.org/bindownload.cgi
Just get the zip, unpack it and setup your windows path enviroment variables.
--
Thanks
Paul
Paul G
76 matches
Mail list logo