当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: The use of Java in Web brow
 

 

    摘要:most of us at one time or another have experienced the poor result of printing web content from a browser. the page printout is ugly because the printer breaks the web content into pages with borders ......
    摘要:the release of coldfusion mx 7 provides developers with several options for deploying their cfml applications. while the current option of using coldfusion archives (car files) has worked to this poin......


Installing Java with the Browser @ JDJ

the use of java in web browsers has had mixed results. applications that run in browsers rather than locally find a host of different hurdles. theyre more restricted, run slower at times and take a long time to load, thus making complex applications more difficult. advances in security and virtual machine technology have addressed the first two items. the third item remains somewhat challenging. faster modems, increased bandwidth and compressed file formats alleviate the problem somewhat but their impact varies. when fourth-generation browsers appeared, they included some new technology with features that allowed developers to have their applets and supporting classes installed permanently.

this article is focused on distributing java classes that are permanently installed on a users machine (see figure 1). the next time a user visits the page, the classes are loaded locally instead of from the network. ill start with a short explanation of some concepts and tools used in this process, and apply this knowledge to a working example for internet explorer and netscape communicator. well then look at some problems that can occur and some links to additional information.

the examples in this article use a test certificate, not a production certificate from a certificate authority. for purposes of this article, i thought a test certificate - also referred to as a self-signed certificate - was best since not everyone has a certificate. it also teaches you how to generate a certificate for testing. regardless, the procedures described here apply exactly the same when youre using a real certificate. when you have a real one, you can just skip the parts about generating a test certificate.

the software used in this article was: ie4.0 40bit ns communicator 4.51 with smartupdate ms personal web server (create a virtual directory called "sample" to run samples) ms windows nt 4.0 sp4 in a typical scenario visitors to a web page download any elements into their browser cache. this could include the page itself, and some images as well as applets. depending on browser settings, the next time users visit the page all of these elements may be reloaded from the web site. this is certainly feasible for elements such as html and images, but can be time-consuming and frustrating for users of your applets. internet explorer and netscape have different approaches to the actual implementation of downloading and installing, but they also share some common ideas.

digital certificate and signatures

the use of digital signatures and certificates to verify the authenticity of s
...   下一页
    摘要:i saw a one-man band once, and it was quite a sight. he had a bass drum on his back, operated by a cog attached to one ankle, thumping as he stomped his foot. shoestrings tied to the neck of his guita......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE