Wtkx - aplicações web

Gostaria de saber se alguém já utilizo, em aplicações web, o Apache Pivot e o seu wtkx…
E se alguém utilizou, se poderia me mostrar um exemplo de uma aplicação final simples utilizando este recurso… pois no site do Apache Pivot só mostra exemplos “picados” e não entendi direito como se usa isso em uma aplicação WEB.
Alguém pode me ajudar?

"Pivot is a platform for building rich internet applications in Java. It combines the enhanced productivity and usability features of a modern RIA toolkit with the robustness of the industry-standard Java platform.

Pivot applications are written using a combination of Java and XML and can be run either as an applet or as a standalone (optionally offline) desktop application. While Pivot was designed to be familiar to web developers who have experience building AJAX applications using HTML, CSS, and JavaScript, it provides a much richer set of standard widgets than HTML, and allows developers to create sophisticated user experiences much more quickly and easily.

Pivot will also seem familiar to Swing developers, as both Swing and Pivot are based on Java2D and employ a model-view-controller (MVC) architecture to separate component data from presentation. However, Pivot includes additional features that make building modern GUI applications much easier, including declarative UI, data binding, effects and transitions, and web services integration."

http://pivot.apache.org/tutorials/platform-overview.html
http://download.oracle.com/docs/cd/E17409_01/javase/tutorial/deployment/webstart/index.html

:?:

Mas gostaria de exemplos mais reais e funcionais mesmo… uma aplicação rodando isso, com o codigo fonte

em relação a usar o Apache Pivot e o Java FX qual vcs recomendam? o desempenho é satisfatório?

"Pivot primarily differentiates itself from JavaFX by allowing developers to build applications in Java, rather than the JavaFX scripting language. Also, Pivot and JavaFX appear to be serving two slightly different use cases. Pivot is designed primarily to address the “Application” in “RIA”, whereas JavaFX appears to be geared more towards the “Rich” part of the acronym. This isn’t to say that the two are mutually exclusive - Pivot supports a variety of features for adding visual richness to an application. However, Pivot is first and foremost a tool for creating applications - animations and other effects are primarily intended to enhance the user experience of those applications, not serve as simple eye-candy.

In short, Pivot represents what we think Sun should have done instead of JavaFX."

Ex: http://insideria.com/2009/04/exploring-apache-pivot-11-part.html

quero saber sobre o desempenho, pois percebi nos exemplos que tem uma certa demora pra carregar, e eles são exemplos simples até, e queria saber se tem muita desvantagem em usar em aplicações mais pesadas.

O fato que os applets Java precisam ser carregados na máquina cliente para serem executados permite o que é normalmente conhecido como ‘zero deployment’:
Applets disponíveis em um único local ( no servidor ) são imediatamente disponibilizados para os usuários.
Mas este processo pode interferir no desempenho se o applet é muito grande tornando a etapa de “download” tediosa o que vale para qualquer tecnologia: (Pivot, JavaFX, Applet Pure, Flex, Flash e até Silverlight).

No Pivot podemos utilizar esse script que tem uma melhor performance do que a tag <applet/>

&lt;script xmlns="" src="http://java.com/js/deployJava.js" type="text/javascript"&gt;&lt;/script&gt;

&lt;script type="text/javascript"&gt;
  var attributes = {
    code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet", width:"100%", height:"100%"
  };
            
  var libraries = [];
  libraries.push("/lib/pivot-core-1.5.jar");
  libraries.push("/lib/pivot-wtk-1.5.jar");
  libraries.push("/lib/pivot-wtk-terra-1.5.jar");
  libraries.push("/lib/pivot-tutorials-1.5.jar");
               
  attributes.archive = libraries.join(",");
  
  var parameters = {
    codebase_lookup:false,
    java_arguments:"-Dsun.awt.noerasebackground=true -Dsun.awt.erasebackgroundonresize=true",application_class_name:"org.apache.pivot.tutorials.KitchenSink"
  };

  deployJava.runApplet(attributes, parameters, "1.6");
&lt;/script&gt;

Existe alguma coisa para integrar o Apache Pivot com outros Framworks Web como o Spring por exemplo ?