Movatterモバイル変換


[0]ホーム

URL:


Documentation

The Java™ Tutorials
Doing More With Java Rich Internet Applications
Setting Trusted Arguments and Secure Properties
System Properties
JNLP API
Accessing the Client Using JNLP API
Cookies
Accessing Cookies
Security in Rich Internet Applications
Guidelines for Securing Rich Internet Applications
Questions and Exercises
Trail: Deployment
Lesson: Doing More With Java Rich Internet Applications
Home Page >Deployment >Doing More With Java Rich Internet Applications
« Previous • Trail • Next »

The Java Tutorials have been written for JDK 8. Examples and practices described in this page don't take advantage of improvements introduced in later releases and might use technology no longer available.
SeeDev.java for updated tutorials taking advantage of the latest releases.
SeeJava Language Changes for a summary of updated language features in Java SE 9 and subsequent releases.
SeeJDK Release Notes for information about new features, enhancements, and removed or deprecated options for all JDK releases.

Questions and Exercises: Doing More With Rich Internet Applications

Questions

  1. True or False: Rich Internet applications (RIAs) can set secure properties by prefixing the property name with"jnlp.".
  2. True or False: Only signed RIAs can use JNLP API to access files on the client.

Exercises

  1. To the following JNLP file, add a secure property calledjnlp.foo and set its value totrue.
    <?xml version="1.0" encoding="UTF-8"?><jnlp spec="1.0+" codebase="" href="">    <information>        <title>Dynamic Tree Demo</title>        <vendor>Dynamic Team</vendor>    </information>    <resources>        <!-- Application Resources -->        <j2se version="1.6+" href=            "http://java.sun.com/products/autodl/j2se" />        <jar href="DynamicTreeDemo.jar" main="true" />    </resources>    <applet-desc        name="Dynamic Tree Demo Applet"       main-class="components.DynamicTreeApplet"       width="300"       height="300">     </applet-desc>     <update check="background"/></jnlp>

Check your answers.

« PreviousTrailNext »

About Oracle |Contact Us |Legal Notices |Terms of Use |Your Privacy Rights

Copyright © 1995, 2024 Oracle and/or its affiliates. All rights reserved.

Previous page: Guidelines for Securing Rich Internet Applications
Next page: Deployment In-Depth

[8]ページ先頭

©2009-2025 Movatter.jp