Andrew,

That is very generous, and if you have the time, I would certainly look at 
it.  That said, I am totally new to using IDEs (having programmed in text 
editors up to now) and although I have just spent some time since your 
email reading up on Maven, I don't know enough about servers (though I have 
used sockets) or IDEs to really understand the difference or make an good 
decision between them - I think I will stick with the jetty option on 
Eclipse for a bit - get to understand it, and then look into Maven.

If you have a minute though, I would be interested in hearing which Java EE 
features do not work with jetty.

Michael

On Saturday, August 25, 2018 at 10:07:14 PM UTC+2, Andrew Somerville wrote:
>
> You can also run a local instance of your target server and set the 
> noServer option on the gwt plugin. I do this using a maven project in 
> NetBeans, for example, which has built in support for my target platform 
> (wildfly, and previously glassfish). It's also impossible for my project to 
> run on jetty to begin with since I'm using a wide range of Java EE features 
> on top of basic servlets. 
>
> The benefit of this is that you can run on a configuration nearly 
> identical to your target platform and the application automatically 
> re-deploys on save. The workflow is very smooth with no need to ever 
> restart the server during normal development. Let me know if you want me to 
> post additional details such as excerpts of my pom.xml showing how the 
> project is configured. 
>
> On Saturday, August 25, 2018 at 12:19:10 PM UTC-3, Mike O. wrote:
>>
>> Hello,
>>
>> I am new to GWT (but not to Java) and have no experience with servers.  I 
>> have downloaded GWT and am running the StockWatcher example.
>> I can change the example and recompile, but there is no server running.
>> In the attached image, the bottom right shows the lack of server and the 
>> upper middle shows the error when I hit send in the window.
>>
>> Do I need to separately start a server (like tomcat) and link it to this 
>> project somehow?  Or am I merely missing an option/flag?
>> Are there step-by-step instructions?  Unless I missed it, the GWT 
>> instructions do not mention the server side.
>>
>> Thank you,
>> Michael
>>
>>
>> If it helps, these are the exact steps I took:
>>
>> 1) New GWT Application Project - and fill in as on: 
>> http://www.gwtproject.org/doc/latest/tutorial/create.html
>> Note - I use the option: default SDK (GWT 2.7.0 - 2.7.0)
>>
>> 2) I compile (right-click on StockWatcher folder in Explorer --> GWT --> 
>> Compile) the example and the output is:
>>     Compiling module com.google.gwt.sample.stockwatcher.StockWatcher
>>         ...
>>        Compile of permutations succeeded
>>        Compilation succeeded -- 11.252s
>>     Linking into 
>> /home/<name>/eclipse-workspace/StockWatcher/war/stockwatcher
>>         Link succeeded
>>         Linking succeeded -- 0.207s
>>
>> 3) I then run (right-click on StockWatcher folder in Explorer --> Run As 
>> --> GWT Development Mode) the example and the output is:
>>     Turning off precompile in incremental mode.
>>     Super Dev Mode starting up
>>         workDir: /tmp/gwt-codeserver-1813876122864786922.tmp
>>         Loading Java files in 
>> com.google.gwt.sample.stockwatcher.StockWatcher.
>>         Module setup completed in 8634 ms
>>     2018-08-25 14:54:22.459:INFO:oejs.Server:jetty-8.y.z-SNAPSHOT
>>     2018-08-25 14:54:22.495:INFO:oejs.AbstractConnector:Started 
>> [email protected]:9876
>>
>>     The code server is ready at http://localhost:9876/
>>
>> 4) I copy http://localhost:9876/ (or http://127.0.0.1:9876/) into a web 
>> terminal and copy the "Dev Mode On" and "Dev Mode Off" buttons into the 
>> toolbar
>>
>> 5) Follow the StockWatcher folder down into war/ and right-click on 
>> stockwatcher.html and open in browser (see image 1 attached)
>>
>> 6) Hit Enter on the stockwatcher.html window and get the error window 
>> appear
>>
>>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to