Jump to content

  • Log In with Google      Sign In   
  • Create Account






GWT Troubles

Posted by DareDeveloper, in Questions And Problems 19 March 2014 · 221 views

project gwt ivy gin guice eclipse
I really wanted a very plain GWT website online asap, but I guess it is not that easy because of the path I have chosen.
I can run the web application in DEV-Mode, but I can not use the GWT compiler to create a deployable client version.

It complains because it can not find a file from the GIN-Module ... so it seems as if the way Ivy currently handles the library management is fine for the Eclipse build process but not for the GWT compile process.

My ant-based compilation script is hopelessly work in progress. If I try to finish those things first I will never get anything online - because I die from boredom.
Why does everything have to be so complicated? Sigh ...

Guess I will either try to port what I have so far to Maven ... or ask a colleague for help and actually invest the time in setting up Eclipse, Ant and Ivy properly.




GWT, people still use that?? I've been doing web stuff for 20 years (since Lynx) and successfully avoided Java the whole time. No regrets about that. I would rather write a web app in C - and I've done it, hahaha.

 

These days I've resigned myself to the fact the web tech is basically 100% total crap. My rules of thumb: 1) do as little as possible, period, and 2) don't do it on the backend if you can help it. At least Javascript is one language, sort of. :-P  Use plain HTML files when possible, maybe a few PHP scripts to shuttle AJAX requests to MySQL, and Wordpress if necessary... just because nothing else gets any love whatsoever.

GWT, people still use that?? I've been doing web stuff for 20 years (since Lynx) and successfully avoided Java the whole time. No regrets about that. I would rather write a web app in C - and I've done it, hahaha.

 

These days I've resigned myself to the fact the web tech is basically 100% total crap. My rules of thumb: 1) do as little as possible, period, and 2) don't do it on the backend if you can help it. At least Javascript is one language, sort of. :-P  Use plain HTML files when possible, maybe a few PHP scripts to shuttle AJAX requests to MySQL, and Wordpress if necessary... just because nothing else gets any love whatsoever.

I love readable code and I have seen nothing that comes close to Java with IoC. What I like about GWT is how fast you can get something done once you have a framework. Getting there is the tough part but IMO well worth it.

 

Doing as little as possible means you reinvent the wheel all the time and basic things take forever to accomplish.

I might write a Bash script for this project, though. One that turns flat files with some markup into HTML pages. Or I could create a PhpBB based website.

 

I am not giving up on writing a GWT Framework at sme point, though. Plain JavaScript or pure JavaScript frameworks with IoC are too cryptic for my taste.

Also GWT is all about the frontend. It compiles Java to JavaScript and the HTML page is modified by the JavaScript code.

PARTNERS