Tuesday Oct 29, 2013

Audio for JavaOne 2013 Conference Sessions

The audio recordings are now available for some of the conference sessions held at JavaOne 2013 in San Francisco. The recordings are free and you can find them on oracle.com.

More sessions will become available, so check back for updates!

Tuesday Oct 15, 2013

JDK 7u45 and JavaFX 2.2.45 Documentation Updates

The Java Development Kit 7 Update 45 (JDK 7u45) release with JavaFX 2.2.45 is available and can be downloaded from the Java SE Downloads page. For information about this release, see the JDK 7u45 Release Notes.

The Java Control Panel now has an option for restoring the security prompts that were hidden when the option to not show the prompt again was selected. See the documentation for the Security tab for more information on the Restore Security Prompts option.

New JAR file manifest attributes are available to provide additional security for your applets and Java Web Start applications. See JAR File Manifest Attributes for Security for information on the Application-Name, Application-Library-Allowable-Codebase, and Caller-Allowable-Codebase attributes. The launchable examples in the Java Tutorial have been updated to use these new attributes, where applicable.

Note: The Permissions attribute that was added for 7u25 is now required when the Security Level slider in the Java Control Panel is set to Very High.

In the Java Tutorial, the JAXP trail has a new lesson on Processing Limits.

Minor improvements have been made to some of the JavaFX tutorials, and the JavaFX API documentation has been updated for the 2.2.45 release.

For all tutorials, guides, and API documentation, see Java SE Technical Documentation and JavaFX 2 Documentation.

Java Tutorials JDK 8 EA: Collections Trail

The Collections trail in the Java Tutorial has been updated to describe the preferred method of traversing collections with JDK 8, which is obtaining a stream and invoking its aggregate operations. Aggregate operations are often used with lambda expressions to make programming more expressive using fewer lines of code. The Collection, Set, List, and Map interface pages now contain examples that demonstrate this new language feature.

Thursday Oct 03, 2013

Signing a JNLP File

There are several advantages to signing a JNLP file. It will:

  • Ensure that others cannot change the content in your JNLP file. For example, by adding a random library, or changing application information.
  • Allow the use of arbitrary Java Virtual Machine (JVM) options and Java system properties in your application.
  • Prevent others from referencing your JAR file directly in their HTML browser applets.

To create a signed JNLP file you don't sign the JNLP file itself, but you include the JNLP file inside the directory structure before the JAR file is created and then signed. The JNLP file must be named APPLICATION.JNLP and is included in the JNLP-INF subdirectory. The JAR file is then created and signed in the usual manner. When a web start application is started, the JNLP file used must be identical to the JNLP file in the signed JAR in order for the application to run.

Note that you cannot use the APPLET tag to run an applet if JAR file contains a signed JNLP file.

The Signing and Verifying JAR Files lesson in the Java Tutorial explains how to sign a JAR file.

About

Blog about Java technology documentation and news about Java releases.

Search

Categories
Archives
« October 2013 »
SunMonTueWedThuFriSat
  
1
2
4
5
6
7
8
9
10
11
12
13
14
16
17
18
19
20
21
22
23
24
25
26
27
28
30
31
  
       
Today