On 01/07/2012 21:01, mehdi benchoufi wrote:
I am working on a project that had already been developed. This
project uses get and the javascript comes from java files. I wanted to
make some changes on one of these java files. SO I was told I needed
to download get. This is what I did.

I don't know what is 'get'. Is that a library? A framework?

But my php and html files are processed with MAMP.

So now, how do I change the java files ?

Usually, with a text editor...
Or, better, with an IDE like Eclipse, IntelliJ or NetBeans.
The GWT plugin can help too.

Where do I put my php and
html files to run it on my local server MAMP ?

AFAIK, there is no relation between a PHP/HTML application and a GWT one.
Not a direct one, at least.

Am I supposed to take
the only java files, opening a "WebApp" (as indicated in the get doc),
runn it (with an ant build command ?), retrieving some files and put
those in my MAMP workspace ?

(I have read the gwt, but I didn't really understand it. I apologize
by advance if my question seems too simple)

To summarize: with GWT, you write code in Java. Usually, it is split between server side code (the equivalent of PHP) and client side code. The latter is actually JavaScript code generated from the Java code. So you need a special compiler (provided by the GWT framework) to do this translation from Java to JavaScript.

IIRC, the server side is a servlet, so it needs a special JEE server, able to run these servlets. Common cases of these servers are Tomcat and Jetty. I don't think MAMP can run servlets.

In theory, you can do only the client side of GWT, and make it to communicate with an arbitrary server (can be a Web service written in PHP, among others) via GET, POST and other REST requests, or other protocols.
I have no experience with this case.

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --

--
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 unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to