`
xinglongbing
  • 浏览: 149787 次
  • 性别: Icon_minigender_1
  • 来自: 长沙
社区版块
存档分类
最新评论

Java Web Start

阅读更多

Java Web Start 软件 Java Web Start 软件使您可以从 Web 下载和运行 Java 应用程序。Java Web Start 软件: 提供一种单击一次即可激活应用程序的便捷方法 保证您始终运行最新版本的应用程序 避免了复杂的安装或升级过程 获得 Java Web Start 软件 Java Web Start 软件是 Java Runtime Environment (JRE) 的一个组件,随 JRE 一起安装。 第一次下载采用 Java Web Start 技术的 Java 应用程序时,Java Web Start 软件会自动启动。Java Web Start 软件将整个应用程序高速缓存(存储)到本地计算机上。这样,所有必需的资源都已保存在本地,因此以后再次启动时几乎可以瞬间完成。 每次启动应用程序时,Java Web Start 软件都会检查应用程序的 Web 站点以确定是否有新的版本,如果有,则立即下载并启动新版本。 使用 Java Web Start 软件启动应用程序 Java Web Start 软件允许您通过三种不同的方式启动应用程序: 通过 Web 浏览器 通过内置的应用程序管理器 通过桌面图标和“开始”菜单(仅适用于 Microsoft Windows)

 

JavaTM Web Start Technology

Version 1.4.2

 

Table of Contents

Introduction
Installation Instructions
Using Java Web Start Software
Release Notes

Introduction

JavaTM Web Start is a deployment solution for Java-technology-based applications. It is the plumbing between the computer and the Internet that allows the user to launch and manage applications right off the Web. Java Web Start provides easy, one-click activation of applications, and guarantees that you are always running the latest version of the application, eliminating complicated installation or upgrade procedures.

Distributing software across the Web in the tradition manner requires the user to find the installer on the Web, download the installer, locate the installer on the system, and then execute the installer. Once the installer is executed, it prompts for installation directories and installation options such as full, typical, or minimum. This is a time-consuming and complicated task, and one that must be repeated for each new version of the software.

By contrast, Web-deployed applications, such as your favorite HTML-based email client and calendar,  auction sites, and so on, are a breeze to install and use. The Web browser has automated the entire process. There is no complicated download, setup, and configuration steps, and you are guaranteed to always be running the latest version.

Java Web Start technology provides the same benefits to full-featured applications as described above for HTML-based applications. Java Web Start technology is an application deployment solution for the Web. Using a full-featured application instead of an HTML-based client can have many benefits:

  • A highly-interactive user interface, comparable to traditional applications, such as word processors and spreadsheets.
  • Lower bandwidth requirements. An application does not necessarily have to connect back to the Web server on each click, and it can cache already-downloaded information. Thus, it can provide better interactivity on slow connections.
  • Support for off-line use.
Or course, you still have to download the application the first time you use it. An HTML-based application, thus has a first-time activation cost. Typically, a Web page is brought up in a matter of seconds. A Java TM-technology-based application will require download times in the order of minutes on a typical modem connection. The Java Web Start caches all downloaded files locally on the computer. Thus, although the first-time activation cost is higher for applications than for HTML pages, subsequent launches will be almost instantaneous because all the required resources are already available locally.

On each launch, Java Web Start checks the Web server to see if a new version of the application is available, and if so, automatically downloads and launches it. Thus, applications are automatically brought up to date. There is no complicated upgrade procedure.

Security

Java Web Start is built on top of the Java 2 platform, which provides a comprehensive security architecture. Applications launched with Java Web Start will, by default, run in a restricted environment ("sandbox") with limited access to files and network. Thus, launching applications using Java Web Start maintains system security and integrity.

An application can request unrestricted access to your system. In this case, Java Web Start will display a Security Warning dialog when the application is launched for the first time. The security warning will show information about the vendor who developed the application. If you choose to trust the vendor, then the application will be launched. The information about the origin of the application is based on digital code signing.

Installation Instructions

Java Web Start is installed with the SDK/JRE. For installation instructions, follow the standard installation instructions for the SDK/JRE you are installing.

Using Java Web Start Software

Java Web Start allows you to launch Java-technology-based applications directly from the Web. An application can be launched in three different ways:
  • From a Web browser by clicking on a link.
  • From Java Web Start's built-in Application Manager, which tracks recently used applications and provides quick access to your favorite applications.
  • From desktop icons or the Start Menu (Microsoft Windows only).
Regardless of which way is used, Java Web Start will connect back to the Web server each time an application is launched to check whether an updated version of the application is available.

Launching from a Web browser

On the Java Web Start demos page (http://java.sun.com/javase/technologies/desktop/javawebstart/demos.html), there are links to a number of applications that can be launched with a single click of a mouse. Try launching the different applications by clicking on the Launch buttons. The Web browser will launch Java Web Start, which will then download, cache, and execute the given application. You will notice that the second time you launch an application, it starts much more quickly since it is already present locally and does not need to be downloaded again.

Most of the demos on the page are just downloaded and executed without any user intervention. These applications run in a restricted environment in which they are prevented from accessing the local disk and network, and can be guaranteed not to install any viruses on your computer.

Some demos require extra privileges, such as access to your local hard disk. For these applications, a security dialog will pop up with information about the origin of the application based on who digitally signed the code. The application will run only if you decide to trust the vendor.

That is really all there is to using Java Web Start, but how does it work? The HTML links that launch the applications are, in fact, standard HTML links. However, instead of pointing to another Web page, they link to a special configuration file called a JNLP file. The Web browser examines the file extension and/or the MIME type of the file, and sees that it belongs to Java Web Start. It then launches Java Web Start with the downloaded JNLP file as an argument. Java Web Start proceeds with downloading, caching, and running the application as directed by the JNLP file.  The Application Manager is a built-in part of the Java Web Start product. It lets you quickly and easily launch applications that have previously been launched by Java Web Start. It is a combination of a History menu and a Start/Programs menu for your Web deployed Java-technology-based applications. The Application Manager also allows you to see additional information about the applications, with links the applications' home pages.

You launch an application from the Application Manager by double clicking on the application icon or by clicking the launch button.

Another important feature of the Application Manager is the Preferences dialog which lets you examine and modify settings used by Java Web Start. For example, this includes tabs which allow you to:

  • Specify an HTTP Proxy (or tell Java Web Start to use the default browser settings).
  • Clear the cache of downloaded applications.
  • Specify the location of the different versions of Java runtime environments.
  • Select whether a Java console is to be displayed.
  • View the set of root security certificates.
The Application Manager is launched by either clicking on the Java Web Start icon on the desktop or in the Start Menu on Microsoft Windows. On the SolarisTM Operating Environment and Linux, it is launched by invoking the javaws command in the Java Web Start installation directory. The Application Manager can also be launched from a Web browser; see, for example, the demos page (http://java.sun.com/javase/technologies/desktop/javawebstart/demos.html).

Launching from desktop icons and the Start Menu (Microsoft Windows only)

Java Web Start technology can automatically create shortcuts on the Microsoft Windows desktop and in the Start Menu for Web deployed Java-technology-based applications. By default, Java Web Start asks the second time an application is launched, if a shortcut should be created. This can be changed using the Preference panel.

Shortcuts can also be added and removed by using the Application Manager, using the Application/Create Shortcut, and using Application/Remove Shortcut menu item.

Using Java Web Start Software Behind a Proxy Server/Firewall

Java Web Start software must be configured with the correct proxy settings in order to launch applications from outside your firewall. Java Web Start software will automatically try to detect the proxy settings from the default browser on your system (Internet Explorer or NetscapeTM browsers on Microsoft Windows, and Netscape browsers on the Solaris Operating Environment and Linux). Java Web Start technology supports most web proxy auto-configuration scripts. It can detect proxy settings in almost all environments.

If the proxy setting cannot be automatically detected, then you will be prompted to specify the proxy settings the first time you use Java Web Start. Java Web Start will also prompt you for a user name and password required to access an authenticating proxy server. This user name and password will be stored for the current invocation of Java Web Start. However, at the time a newly invoked Java Virtual Machine, if accessing a secure web site, will prompt you for the user name and password since this information is stored within a Java Virtual Machine instance.

You can also use the Java Web Start Preferences panel to view or edit the proxy configuration. Launch the Application Manager, either by clicking on the icon on the desktop (Microsoft Windows), or type ./javaws in the Java Web Start installation directory (Solaris Operating Environment and Linux), and then select Edit/Preferences.  If you are in an environment where access to the Web is through a proxy server, you are encouraged to use the Java Web Start Preferences panel to check that these are set-up correctly.

Launching from the built-in Application Manager

分享到:
评论

相关推荐

    Java Web Start .txt

    Java Web Start 是一种由 Sun Microsystems 开发的技术,用于在客户端机器上方便地部署、启动和更新基于 Java 的应用程序。这项技术结合了 Applet 的可移植性、Servlet 和 JSP 的可维护性,以及类似 XML 和 HTML 的...

    Java web Start初级教程

    2. **构建webstart目录结构**: - `images`:存放jnlp文件中定义的图标文件。 - `jar`:存放已打包的JAR文件。 - `jnlp`:存放描述文件(*.jnlp)。 - `src`:存放源代码。 - `WEB-INF/classes`:存放编译后的...

    Java Web Start 签名

    Java Web Start 签名是Java应用程序在Web环境中运行时的一种安全机制,它允许用户从不可信的网络源下载并执行代码,同时确保代码的完整性和来源可信。这个技术主要应用于Java Applets和Java Web Start应用程序,通过...

    java web start

    Java Web Start 是一种由Oracle公司开发的技术,用于在Web浏览器中启动基于Java的富客户端应用程序。这项技术在Java Development Kit (JDK) 1.4版本中首次引入,允许用户无需通过复杂的安装过程就能运行Java应用程序...

    利用 Java Web Start发布你用java程序

    ### 利用 Java Web Start 发布 Java 程序 #### JWS——Java Web Start 的功能与优势 Java Web Start(简称 JWS)是 Sun Microsystems(现 Oracle)为解决 Java 应用程序部署和更新问题而开发的一项技术。它是 JSR-...

    java web start教程

    Java Web Start(JWS)是SUN公司推出的一项技术,用于通过Web来部署和发布Java应用程序,无论是Application还是Applet。这项技术在初次运行时会下载程序,之后的版本更新和维护都由JWS自动处理,极大地简化了客户端...

    深入探索Java Web Start:简化Java应用部署与更新

    Java Web Start,也称为Java Network Launch Protocol(JNLP),是Oracle提供的一种技术,用于从Web上启动和自动更新Java应用程序。它允许用户通过一个Web链接启动富客户端Java应用程序,同时确保应用程序始终保持...

    Deploying Java Web Start Applications on the JBoss Application Server

    ### 部署Java Web Start应用程序到JBoss应用服务器 #### 概述 本文将详细介绍如何在JBoss应用服务器上部署Java Web Start应用程序,并利用Java Web Start技术实现客户端图形用户界面(GUI)的自动更新。Java Web ...

    用java web start来发布jbpm(三)

    Java Web Start(JWS)是Java平台上的一种技术,用于便捷地部署和运行基于网络的Java应用程序。它允许用户通过点击Web浏览器中的链接来启动和更新应用程序,而无需手动下载和安装。在本篇博客“用java web start来...

    LIFERAY + JAVA WEB START + OSWORKFLOW设计器

    【LIFERAY + JAVA WEB START + OSWORKFLOW设计器】是一个结合了三个关键技术的集成解决方案,用于在Liferay门户平台上构建和管理工作流。Liferay是一个开源的企业级门户平台,提供了一整套内容管理系统、社交协作...

    基于Java Web Start技术的电网培训考核系统.pdf

    【Java Web Start技术详解】 Java Web Start(JWS)是Oracle公司开发的一种技术,它允许用户通过Web浏览器启动和运行Java应用程序,无需安装过程。这项技术解决了传统客户端软件部署的繁琐问题,使得用户只需点击一...

    Using Java Web Start with Oracle E-Business Suite (Doc ID 2188898.1)

    ### 使用Java Web Start与Oracle E-Business Suite #### 一、关于Java Web Start ##### 1.1 什么是Java Web Start? Java Web Start提供了一种浏览器独立架构,用于将基于Java技术的应用程序部署到客户端桌面。...

    JWS java web start

    Java Web Start(JWS)是SUN公司推出的一项技术,用于通过Web来部署和发布Java应用程序。这项技术在Java 1.4版本中被引入,它会在安装时自动安装,但在1.4之后的版本中,你需要手动找到安装路径下的`javaws.exe`来...

    基于Java Web Start技术的VFP考试系统的设计与实现.pdf

    "基于Java Web Start技术的VFP考试系统的设计与实现" 这篇文章主要介绍了基于Java Web Start技术的VFP考试系统的设计与实现。该系统应用了Java Web Start技术,包括考试、教师、教务三大模块,使得考试系统更加灵活...

    基于JAVA WEB START的污染源在线监测系统研究.pdf

    "基于JAVA WEB START的污染源在线监测系统研究" 本文主要研究基于JAVA WEB START的污染源在线监测系统,通过分析JAVA WEB START的特点,阐明其在污染源在线监测系统中的应用。 一、JAVA WEB START技术 JAVA WEB ...

    创建与部署Java Web Start的步骤

    (1)本资源为Head First Java(第二版)的第17章chap17(本章在官网资源代码中没有这个代码,且书中描述模糊)为初学者打开门窗; (2)本资源根据书中例子,查询网上资料,自己总结,验证过可行,若不可行看自己搭建...

Global site tag (gtag.js) - Google Analytics