简体   繁体   English

Java Web应用程序中虚拟键盘组件的最佳选择是什么?

[英]What's the best option for a virtual keyboard component in a Java web application?

I would like to know what kind of technology would be better to create a virtual keyboard component, that needs to be installed in different web applications. 我想知道哪种技术会更好地创建一个虚拟键盘组件,该组件需要安装在不同的Web应用程序中。

All these application are Java, but some use Struts, other uses JSF. 所有这些应用程序都是Java,但是一些使用Struts,其他使用JSF。

A Java applet + servlet would be the best choice concerning security? Java applet + servlet是关于安全性的最佳选择吗?

My idea is to write an applet + servlet. 我的想法是编写一个applet + servlet。 All applications would need to add the servlet/mapping in their "web.xml" file. 所有应用程序都需要在其“ web.xml”文件中添加servlet /映射。 The applet would communicate with the servlet passing information. 小程序将与servlet传递信息进行通信。

The fact of signing an applet with a certificate make it secure? 用证书签名小程序的事实使其安全吗?

Using java applets is generally a bad idea for the last 12 years. 在过去的12年中,使用Java小程序通常是一个坏主意。 Javascript and HTML 5 provide you enough functionality to create any UI you want. Javascript和HTML 5为您提供了足够的功能来创建所需的UI。 Java applet requires JVM installed and configured on client side. Java applet需要在客户端安装和配置JVM。

Signing applet does not add anything to its security. 对applet进行签名不会对其安全性产生任何影响。 It means that the applet is can perform operations that forbidden to unsigned applets. 这意味着该小程序可以执行禁止未签名小程序执行的操作。 It means that additionally to installation of java use must give your applet permission to run. 这意味着除了安装Java外,还必须授予您的applet运行权限。

As I understand you want virtual keyboard. 据我了解,您需要虚拟键盘。 So, type "javascript virtual keyboard" in google and get a lot of ready-to-use lightweight components that do not require any download and work in most existing browsers. 因此,在Google中键入“ javascript虚拟键盘”,即可获得许多即用型轻量级组件,这些组件无需任何下载即可在大多数现有浏览器中运行。 For example take a look on this implementation: http://sourceforge.net/projects/jsvk/ 例如,看一下此实现: http : //sourceforge.net/projects/jsvk/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 审核大型java / j2ee Web应用程序的最佳方法是什么? - What's the best approach in auditing a big java/j2ee web application 开发BlackBerry Web应用程序(WebWorks Application)的最佳方法是什么? - What's the best approach for developing a BlackBerry web application (WebWorks Application) 处理Java Web应用程序版本控制的最佳方法是什么? - What is the best way to handle Java web application versioning? 在基于多语言Java的Web应用程序中构建的最佳编码是什么,为什么? - What is the best encoding for buildin a multilingual java based web application, and why? Java Web应用程序的目录结构的最佳实践是什么 - What is the best practice of the directory Structure Of Java Web Application 在Java Web应用程序(WAR)中存储配置文件的最佳位置是什么? - What is the best place to store a configuration file in a Java web application (WAR)? 用Java启动Web编程的最佳实践是什么? - What's the best practice to start web programing in Java? 什么是Java Web应用程序最好的3D图形库? - What's the best 3D graphics library for Java web apps? 在Java桌面应用程序中保留数据的最佳方法是什么? - What's the best way to persist data in a Java Desktop Application? java web应用程序的最佳实践 - java web application best practices
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM