科技报告详细信息
Web-Based Object Inspection
Cowan, Dick ; Griss, Martin
HP Development Company
关键词: inspection;    java bean;    browser;    http server;    JSP;    object web presence;   
RP-ID  :  HPL-2001-297
学科分类:计算机科学(综合)
美国|英语
来源: HP Labs
PDF
【 摘 要 】

To facilitate a natural web presence for selected objects we have combined a lightweight HTTP server, a generic reflection-based object inspector, and a suite of extensible presentation adapters. For many Java objects, under application control, there exists the need to view and possibly change their attributes at run time. An object's attributes are traditionally made available via a collection of public get and set methods. Using Java's reflection technology it is a simple process to discover these getters and setters. Combining this with a very lightweight HTTP server, we have demonstrated the ability to view and control virtually any run-time object using a standard browser, without the need to add any specialized code to the object. Given the results of an object's inspection, a customized HTML document is prepared for presentation by a presentation object, thereby affording extreme flexibility and customization in what is shown in the browser window. There exists a presentation adapter class designed to both provide the default presentation as well as enable simple variants to extend it. This facilitates powerful presentation control and information filtering with very small amounts of code. This technology lays the foundation for better monitoring, configuration, or control tools. It also provides an easy way to experiment with web-based user interfaces to objects, applications, agents, personal assistants and databases of all kinds early in development. Notes: 15 Pages

【 预 览 】
附件列表
Files Size Format View
RO201804100002499LZ 1637KB PDF download
  文献评价指标  
  下载次数:1次 浏览次数:23次