Re: Using gwt to change java files

2012-07-06 Thread Nader


 This project uses get and the javascript comes from java files. 


What do you mean exactly by ***get* ? 
And what do you mean that javascript comes from java ? Do you mean java 
files compiled by a gwt compiler to javascripts or what ?
Could you provide some more details, because your questions looks 
absolutely abmigous!

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/HWd9xFmJ_E4J.
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.



Re: Using gwt to change java files

2012-07-03 Thread Philippe Lhoste

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.



Using gwt to change java files

2012-07-02 Thread mehdi benchoufi


Hi,


I am really new to gwt but I have already posted a question and I don't 
really understand.

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.

But my php and html files are processed with MAMP.

So now, how do I change the java files ? Where do I put my php and html 
files to run it on my local server MAMP ? 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)

Thanks, 

Newben

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/GOD0KvNM6GwJ.
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.



Using gwt to change java files

2012-07-02 Thread mehdi benchoufi
I am really new to gwt but I have already posted a question and I
don't really understand.

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.

But my php and html files are processed with MAMP.

So now, how do I change the java files ? Where do I put my php and
html files to run it on my local server MAMP ? 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)

Thanks, Mehdi

-- 
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.