From Fedora Project Wiki
(Java Liveconnect)
Line 14: Line 14:
  
 
== Detailed Description ==
 
== Detailed Description ==
Liveconnect allows allows JavaScript to access Java, and vice-versa. This allows javascript to access local files and sockets for example, and essentially do anything that Java can (assuming security requirements are met). Conversely, it also allows applets to call JavaScript in the browser, paving way for page redirects, dynamic content update, etc.
+
Liveconnect allows allows JavaScript to access Java(TM) and vice-versa. This allows Javascript to, for example, access local files and sockets.  Assuming security requirements are met, it allows Javascript to essentially do anything that Java(TM) can. Conversely, it also allows applets to call Javascript in the browser, paving the way for page redirects, dynamic content update, etc.
  
 
== Benefit to Fedora ==
 
== Benefit to Fedora ==
Currently, there is no Open Source solution that provides Liveconnect support. Anyone wanting to use sites that use Liveconnect, had to use the Sun Java(TM) plugin, and consequently, Sun's JVM. The new Java(TM) plugin in Fedora provides a fully open source solution, allowing users to use those sites with OpenJDK, which is included in Fedora.
+
Currently, there is no open source solution that provides Liveconnect support. Anyone wanting to use sites that use Liveconnect had to use the Sun Java(TM) plugin and consequently Sun's JVM. The new Java(TM) plugin in Fedora provides a fully open source solution, allowing users to use those sites with OpenJDK which is included in Fedora.
  
 
== Scope ==
 
== Scope ==
Liveconnect support work is complete. It is part of the latest java-1.6.0-openjdk-plugin rpm, built in dist-f10.
+
Liveconnect support work is complete. It is part of the latest java-1.6.0-openjdk-plugin RPM, built in dist-f10.
  
 
== Test Plan ==
 
== Test Plan ==
 
No special hardware is needed for testing the new plugin. It should be tested on standard Fedora supported architectures.  
 
No special hardware is needed for testing the new plugin. It should be tested on standard Fedora supported architectures.  
 
   
 
   
Since there are no known automated tests for a Java(TM) Plugin, testing consists of trying out as many different applet based pages as possible. We have tried a wide variety of sites to that end (Gaming, Banking, Information services, etc.) to ensure that the plugin works.
+
Since there are no known automated tests for a Java(TM) plugin, testing consists of trying out as many different applet based pages as possible. We have tried a wide variety of sites to that end (Gaming, Banking, Information services, etc.) to ensure that the plugin works.
  
 
== User Experience ==
 
== User Experience ==
John wants to solve a jigsaw puzzle at www.jigzone.com. He is running a Fedora 9 system, with java-1.6.0-openjdk-plugin (GCJ Web Plugin) installed.  
+
John wants to solve a jigsaw puzzle at [http://www.jigzone.com jigzone]. He is running a Fedora 9 system, with java-1.6.0-openjdk-plugin (GCJ Web Plugin) installed.  
 
   
 
   
 
To play, he has to:
 
To play, he has to:
 
# Download the Sun Java(TM) Runtime Environment
 
# Download the Sun Java(TM) Runtime Environment
 
# Extract the contents
 
# Extract the contents
# Point Firefox to use the new plugin, and make sure that the existing OpenJDK plugin is not loaded
+
# Point Firefox to use the new plugin, and make sure that the existing GCJ Web Plugin is not loaded
 
# Browse to www.jigzone.com, and load/solve the puzzle
 
# Browse to www.jigzone.com, and load/solve the puzzle
  
With Fedora 10, John simply needs to ensure that java-1.6.0-openjdk-plugin is installed, and then he can open up a browser, navitage to the site and start solving the puzzle!
+
With Fedora 10, John simply needs to ensure that java-1.6.0-openjdk-plugin is installed, and then he can open up a browser, navigate to the site and start solving the puzzle!
  
 
== Dependencies ==
 
== Dependencies ==
None
+
None
  
 
== Contingency Plan ==
 
== Contingency Plan ==
GCJ Web Plugin would be used as a fallback.
+
GCJ Web Plugin can be used as a fallback but there are no known regressions with respect to functionality provided by GCJ Web Plugin.
  
 
== Documentation ==
 
== Documentation ==

Revision as of 19:56, 29 October 2008

Java Liveconnect

Summary

Liveconnect is a feature that allows JavaScript from web browsers to connect to a Java(TM) Virtual Machine and vice-versa.

Owner

Current status

  • Targeted release: Fedora 10
  • Last updated: October 29, 2008
  • Percentage of completion: 100%
  • Liveconnect support in Fedora 10 is complete. The new Java(TM) plugin (IcedTeaPlugin) provides this feature.

Detailed Description

Liveconnect allows allows JavaScript to access Java(TM) and vice-versa. This allows Javascript to, for example, access local files and sockets. Assuming security requirements are met, it allows Javascript to essentially do anything that Java(TM) can. Conversely, it also allows applets to call Javascript in the browser, paving the way for page redirects, dynamic content update, etc.

Benefit to Fedora

Currently, there is no open source solution that provides Liveconnect support. Anyone wanting to use sites that use Liveconnect had to use the Sun Java(TM) plugin and consequently Sun's JVM. The new Java(TM) plugin in Fedora provides a fully open source solution, allowing users to use those sites with OpenJDK which is included in Fedora.

Scope

Liveconnect support work is complete. It is part of the latest java-1.6.0-openjdk-plugin RPM, built in dist-f10.

Test Plan

No special hardware is needed for testing the new plugin. It should be tested on standard Fedora supported architectures.

Since there are no known automated tests for a Java(TM) plugin, testing consists of trying out as many different applet based pages as possible. We have tried a wide variety of sites to that end (Gaming, Banking, Information services, etc.) to ensure that the plugin works.

User Experience

John wants to solve a jigsaw puzzle at jigzone. He is running a Fedora 9 system, with java-1.6.0-openjdk-plugin (GCJ Web Plugin) installed.

To play, he has to:

  1. Download the Sun Java(TM) Runtime Environment
  2. Extract the contents
  3. Point Firefox to use the new plugin, and make sure that the existing GCJ Web Plugin is not loaded
  4. Browse to www.jigzone.com, and load/solve the puzzle

With Fedora 10, John simply needs to ensure that java-1.6.0-openjdk-plugin is installed, and then he can open up a browser, navigate to the site and start solving the puzzle!

Dependencies

None

Contingency Plan

GCJ Web Plugin can be used as a fallback but there are no known regressions with respect to functionality provided by GCJ Web Plugin.

Documentation

Since this is a web plugin and not a standalone application, there is no associated documentation.

Release Notes

The section on the plugin located here in the release notes for Fedora 10 applies.

Comments and Discussion