首页 | 本学科首页   官方微博 | 高级检索  
     

JSP页面启动Java应用程序的原理与实现
引用本文:李安东,王余旺. JSP页面启动Java应用程序的原理与实现[J]. 电脑编程技巧与维护, 2008, 0(15): 8-9
作者姓名:李安东  王余旺
作者单位:安徽工程技术学校,宿州,234000;安徽理工大学现代教育技术中心,淮南,232000
摘    要:由JSP页面启动Java应用程序在Web应用中有时可能是一件很有意义的工作。在某些专用的Web应用系统中。服务器往往既要响应客户端的页面请求,又要做一些后台的处理工作。有些处理可能还需要人工的参与和操作,比如启动和关闭一个Java后台程序等等。通过用户自定义的标签,在标签的处理类中加入启动Java程序的代码。同时对Java程序作必要的调整,即可实现由JSP页面启动Java程序,可以使所有管理和使用系统的操作全部通过JSP页面来完成。当这样的Java程序很多时,会给管理、维护和使用系统带来很大的便利,对于不熟悉Java语言的用户尤为如此。实现了对系统的集中化管理,提高了系统的集成度和专业化程度。这种方法还有一个明显的优.董就是它与平台无关。

关 键 词:JSP  Java  Swing  JSP页面启动Java程序  平台无关性

The Principle and Implementation of Starting A Java Application from JSP Page
LI Andong,WANG Yuwang. The Principle and Implementation of Starting A Java Application from JSP Page[J]. Computer Programming Skills & Maintenance, 2008, 0(15): 8-9
Authors:LI Andong  WANG Yuwang
Affiliation:LI Andong,WANG Yuwang(1. Engineering and Technology School of Anhui, Suzhou 234000 2. Center of Modern Educational Technology, Anhui University of Science and Technology, Huainan 232000)
Abstract:It is very useful for people to launch a java application via jsp page in many web application systems. In some web systems, a server often has to do something in backend while it makes response in frontend for clients requesting jsp pages. Some processes may also need to engage in human control and manual operation, for example, starting and exiting a java program in backend and so forth. The implementation of launching a java application from jsp page can be carried out from custom tag through adding some pieces of codes into the tag handler class and adjusting the java application itself, so that all tasks of management, maintenance and operation of a web application system can be simply done completely in a jsp page. On the other hand, however, it's especially convenient for users who are not familiar with java language and when there are a lot of such java applications in a system. The centralized management of system mentioned above can also improve integration and specialization of application systems. Apparently, this method is platform-independent because it is based on java and jsp.
Keywords:JSP  Java  Swing
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号