When I read What is Google Web Toolkit?
1 Use your favorite Java IDE to write and debug an application in the
Java language, using as many (or as few) GWT libraries as you find
useful.
2 Use GWT's Java-to-JavaScript compiler to distill your application
into a set of JavaScript and HTML files that you can serve with any web
server.
and Why Translate Java Code to JavaScript?
You can use all of your favorite Java development tools (Eclipse,
IntelliJ, JProfiler, JUnit) for AJAX development.
and Marco's post at
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/f4b450f0f143d838/421ed72a85527b7c?lnk=gst&q=Develope+GWT+with+Netbeans&rnum=1#421ed72a85527b7c
Develope GWT with Netbeans
I thought I could use either the Netbeans IDE or Sun Java Studio
Creator or Sun Java Studio Enterprise to create GUI's by right-clicking
on the project node and selecting New JFrame Form... then running the
*-shell.cmd and *-compile.cmd scripts to make Javascript/HTML
deployments.
But whether I use Swing or AWT (although I cannot see how to start a
GUI Form with anything other than a JFrame even for AWT), I get
javax cannot be resolved to a type
jPanel1 cannot be resolved
panel1 cannot be resolved
and many others
Is the following possible (in free open source) with 1 or more tools?
UML -> Graphical Database Design -> Graphical GUI Design -> Refactor
Code -> Deploy To A Standard Web Server (No Slow App Server)
I was thinking of the following toolchain yesterday:
Sun Java Studio Enterprise for the UML
Sun Java Studio Enterprise (I just found out it can also do the
graphical gui design) or Sun Java Studio Creator or Netbeans for the
Graphical GUI Design
Any of the 3 to Refactor Code
Google Web Toolkit to create/export/build a Javascript/HTML project for
AJAX integration and Deploy To A Standard Web Server
Aptana to Integrate AJAX
Please advise and instruct me as to a better way or best practices.
Regards.
Please correct me if I am wrong, but as far as I know (from actual
use), Dreamweaver 8 still does not have absolute positioning of
graphical widgets (tables, buttons, textfields, etc.) that I mentioned
in my first post "create GUI's by drag and drop (pick and plop)
graphically" as in Netbeans IDE or Sun Java Studio Creator or Sun Java
Studio Enterprise, as well as something like MS Visual Basic. I feel
locked into a FlowLayout.
The promise of GWT seems to be, "Develop as you would for a desktop
app; Deploy a cross-browser web app". So I want my absolute
positioning and design of widgets (form elements).
I'm not opposed to clicking a Compile button or Test Form button or
Preview button which may take 3 seconds to display. IDE4Laszlo
(OpenLaszlo claims they will eventually compile to DHTML) looks like
it wanted to allow absolute positioning of widgets, but perhaps it is
currently only a bug.
http://j2s.sourceforge.net/ may be what I'm looking for, but my first
attempt did not work.
I don't want to recommend another commercial tool, such as
Dreamweaver, which does not deliver.
Other way is create/use layouts in browser.Is few projects that works
similar to swing layouts for examle: dojo, gwt (gridpanel, flowpanel
...), j2s, echo. But you must know, that way is not sow quick in work,
not so good look as the 'native' support for relative positioning.
Good is j2s idea for moving java swing/swt classes to javascript
beacouse we can use exists IDE for create view but as I said in is not
good performance solution.
In this moment don't exist any free WYSIWYG editor for GWT, and you
must decide how you prefer create view absolute/relative, in html/code.
So I do not feel constrained when initially placing my widget (what I
called absolute positioning) and I can set my UI to resize properly
very quickly.
I will look into j2s again. Would you please be more specific about
the performance issues?