Skip to main content

Java 3D meets Apache Pivot !

7 replies [Last post]
interactivemesh
Offline
Joined: 2006-06-07
Points: 0

Hi,

"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."

Apache Pivot http://incubator.apache.org/pivot/

Based on release Pivot 1.3 I tried to find out if Java 3D rendering could be made available in Pivot applets and applications. Following a similar approach as chosen for lighweight and offscreen 3D rendering in Swing these activities have resulted in the PCanvas3D API. PCanvas3D provides a Pivot component that Java 3D can render into.

The first release and a sample program are now available at http://www.interactivemesh.org/testspace/j3dmeetspivot.html

August

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
interactivemesh
Offline
Joined: 2006-06-07
Points: 0

Hi,

the next major release Apache Pivot 2.0 was published a few days ago.

"Apache Pivot is an open-source platform for building installable Internet applications (IIAs). It combines the enhanced productivity and usability features of a modern user interface toolkit with the robustness of the Java platform."

See Pivot's FAQ http://pivot.apache.org/faq.html for more details and download the 2.0 release from here http://pivot.apache.org/download.cgi

Java 3D rendering is also available for Pivot 2.0 now. The adapted Pivot package 'org.apache.pivot.wtk' for smoother lightweight 3D rendering can be downloaded. The Pivot component PCanvas3D and the corresponding OrbitBehaviorPivot API for mouse navigation didn't require an update, but were compiled against 2.0 and are published with a new release number for consistency reasons.

The sample program CharacterCube can be launched on Pivot 2.0 here: http://www.interactivemesh.org/testspace/j3dmeetspivot.html

August

interactivemesh
Offline
Joined: 2006-06-07
Points: 0

Sample program and APIs are now updated according to the new [b]Pivot release 1.5[/b] : http://www.interactivemesh.org/testspace/j3dmeetspivot.html

August

sproketboy
Offline
Joined: 2006-08-07
Points: 0

This is pretty cool. Thanks! I'll check it out.

interactivemesh
Offline
Joined: 2006-06-07
Points: 0

Hi,

[b][i]"The Apache Software Foundation Announces Apache Pivot as Top-Level Project"
[/b]
"The Apache Software Foundation (ASF) today announced the graduation of Apache Pivot as a Top-Level Project (TLP), signifying that the Project's community and products have been well-governed under the ASF's meritocratic process and principles. In addition, the Project announced the release of Apache Pivot 1.4, the fourth update since joining the Apache Incubator in January 2009."[/i]

More: http://www.prnewswire.com/news-releases/the-apache-software-foundation-a...

The [b]Java 3D meets Apache Pivot[/b] web page is now updated according to the new release 1.4 : http://www.interactivemesh.org/testspace/j3dmeetspivot.html

August

zesharp
Offline
Joined: 2006-12-21
Points: 0

Hi August

In nutshell, what is the difference between Pivot and JavaFX ?
I only know that both are RIA, and JavaFX uses that dialect and Pivot uses XML .

interactivemesh
Offline
Joined: 2006-06-07
Points: 0

Hi zesharp,

[i]"Rich Internet Applications (RIAs) are web applications that have most of the characteristics of desktop applications, typically delivered either by way of a standards-based web browser, via a browser plug-in, or independently via sandboxes or virtual machines. Examples of RIA frameworks include Ajax, Curl, GWT, Adobe Flash/Adobe Flex/AIR, Java/JavaFX, Apache Pivot, Mozilla's XUL, OpenLaszlo and Microsoft Silverlight."[/i] See Wikipedia http://en.wikipedia.org/wiki/Rich_Internet_application

JavaFX and Pivot programs will be compiled into Java bytecode and executed on the Java Virtual Machine (JVM). They can be run as Java Web Start applications, as applets, and as standard desktop applications, too.

Pivot provides a framework consisting of a comprehensive set of UI components which are available as Java classes as well as elements of the XML markup language called WTKX. This allows to define the structure of a user interface entirely in XML in terms of a UI scene graph or by classical Java coding. So, Pivot can be regarded as an alternative to Swing. The application logic and event handling will be written in Java code. Coding can be done in your favorite Java IDE. Running Pivot on the web requires downloading the Pivot archives per start or installing them on the target systems. Pivot's source code is fully available and published under the Apache license.

JavaFX programs (user interface and logic) will be written in the new scripting language JavaFX Script. UI, 2D-graphics, and animation classes dominate within the JavaFX API. JavaFX supports the integration of Java classes and interfaces. Swing components can be added to the JavaFX UI scene via a SwingComponent node. JavaFX plugins are available for NetBeans and Firefox. When starting a JavaFX application or applet on the web the JavaFX runtime will be downloaded exclusively from an Oracle.Sun site. To run them locally on the desktop the JavaFX SDK has to be installed. JavaFX isn't open source.

Neither JavaFX 1.2 nor Pivot 1.4 provide 3D rendering capabilities. As they don't support heavyweight UI components like Canvas3D, only lightweight 3D rendering can be implemented, for example by using Java 3D.

August

zesharp
Offline
Joined: 2006-12-21
Points: 0

Thanks !