Re: using of classes outside gwt's class list

2009-03-23 Thread Matías Costa
On Mon, Mar 23, 2009 at 4:10 PM, ytbryan wrote: > > thanks thomas. > > I wonder which method is better? thomas's or David's? > > I don't quite get how to "emulate" the java class... > > but if i simply put it at the server, it will slow down my system > greatly. eg. if i want to fetch the geocode

Re: using of classes outside gwt's class list

2009-03-23 Thread ytbryan
thanks thomas. I wonder which method is better? thomas's or David's? I don't quite get how to "emulate" the java class... but if i simply put it at the server, it will slow down my system greatly. eg. if i want to fetch the geocode from google geocode, the data will go to my server and then tra

Re: using of classes outside gwt's class list

2009-03-23 Thread Thomas Broyer
On 23 mar, 13:18, ytbryan wrote: > i can't find the com.google.gwt.emul.Emulation module. can you point > me to the link? It's in the gwt-user.jar, or if you look at the SVN, in user/super: http://code.google.com/p/google-web-toolkit/source/browse/releases/1.5/user/super/com/google/gwt/emul/

Re: using of classes outside gwt's class list

2009-03-23 Thread ytbryan
i can't find the com.google.gwt.emul.Emulation module. can you point me to the link? On Mar 21, 1:44 am, Thomas Broyer wrote: > On 20 mar, 10:36,ytbryan wrote: > > > hi all, > > > i wanted to be able to use the following class > > > import java.net.HttpURLConnection; > > import java.net.Malforme

Re: using of classes outside gwt's class list

2009-03-20 Thread Thomas Broyer
On 20 mar, 10:36, ytbryan wrote: > hi all, > > i wanted to be able to use the following class > > import java.net.HttpURLConnection; > import java.net.MalformedURLException; > import java.net.URL; > import java.net.URLConnection; com.google.gwt.http.client.RequestBuilder > import org.cybernek

Re: using of classes outside gwt's class list

2009-03-20 Thread DavidPShaw
You have to think about what you're trying to do. GWT compiles java code into client side Javascript. You do not want to be opening HTTP connections and parsing DOM in client side Javascript. Most likely what you do want to do is have a servlet that does this on the server side and call it via

Re: using of classes outside gwt's class list

2009-03-20 Thread ytbryan
sorry... gwt permit class refers to the JRE Emulation provided by gwt On Mar 20, 10:36 am, ytbryan wrote: > hi all, > > i wanted to be able to use the following class > > import java.net.HttpURLConnection; > import java.net.MalformedURLException; > import java.net.URL; > import java.net.URLConne

using of classes outside gwt's class list

2009-03-20 Thread ytbryan
hi all, i wanted to be able to use the following class import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; import org.cyberneko.html.parsers.DOMFragmentParser; import org.cyberneko.html.parsers.DOMParser; import org.apache