Currently the creation of a graphical user interface for a web based application made in Java is done using
several technologies like JSP, Java Beans, XSLT and Servlets. These technologies combined
with a little creativity are good to fulfill almost any application requirement but at the end the way the
information is conveyed into the web browser is by generating HTML dynamically.
HTML is limited and there are moments in which more complex functionality has to be supported, for example
a requirement of a tree component with drag an drop capabilities may be a very hard task to perform, this is
where JavaScript and Applets are very helpful.
JavaScript is a very good language to provide client side functionality however its support in
every web browser is different and providing a good crossbrowsing support is hard and time consuming.
Applets combined with JFC/Swing components are a great solution to provide client side
functionality however retrieving the information from the server side is not a simple task, this can be done
using RMI, HttpTunneling or even in a better way: Using XML.
|