简体   繁体   English

从客户端浏览器读取/写入HSQL的最佳实践是什么?

[英]What is the best practice to read/write to HSQL from a client browser?

I am running HSQL which is located on a shared drive. 我正在运行位于共享驱动器上的HSQL This is a managed network. 这是一个托管网络。 I have to run a servlet using Tomcat . 我必须使用Tomcat运行servlet。 The users are reading and writing to HSQL through a browser (servelet by Tomcat). 用户正在通过浏览器(Tomcat的servelet)读写HSQL

This works fine, but I have to run both HSQL and Tomcat as two separate programms from my computer. 这可以正常工作,但是我必须同时将HSQLTomcat作为两个独立的程序从我的计算机上运行。 Is this the right way ? 这是正确的方法吗? Is there any better option ? 有没有更好的选择? What is the best practice of serving html pages in a managed network ? 在托管网络中提供html页面的最佳做法是什么?

Updating a cache is always nightmare. 更新缓存始终是噩梦。 That's why in some systems some are using a enterprise bus systems. 这就是为什么在某些系统中有些使用企业总线系统的原因。 Like getting from database you can connect to a data provider (could be a webservice, any service). 就像从数据库获取一样,您可以连接到数据提供程序(可以是Web服务,也可以是任何服务)。 This service can have event manager to process all affects of users and standalone application then you can register events. 该服务可以使事件管理器处理用户和独立应用程序的所有影响,然后可以注册事件。

You can update and maintain your hsql from standalone application and get data from again over this application to the tomcat. 您可以从独立的应用程序更新和维护hsql,并通过该应用程序再次向tomcat获取数据。 Then you dont have to worry about if there is a change or not. 然后,您不必担心是否有更改。

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

相关问题 来自客户端或服务器的时间戳-最佳做法是什么? - Timestamp from the client or the server - What's the best practice? REST API客户端实现,最佳实践是什么? - REST API client implementation, what is the best practice? 从服务器端通知客户端的最佳实践? - Best practice to notify client from serverside? 从客户端到实现线程事件的服务器端应用程序调用方法的最佳实践是什么? - What is the best practice to call a method from client to a server side application that implements a thread event? 从Servlet输出HTML的最佳实践是什么? - What is the best practice for outputing HTML from a Servlet? 为验证字符串输入编写参数化测试的最佳实践是什么? - What is the best practice to write parameterized tests for validating string inputs? java spring项目中gremlin客户端集群的最佳实践是什么 - What is the best practice for gremlin client cluster in java spring project 在 JPA/Hibernate 中执行只读操作的最佳实践是什么? - What is best practice for performing read only operations in JPA/Hibernate? GWT从服务器向客户端发送大量数据的最佳实践 - GWT Best practice to send huge amount of data from server to client 从输入流中读取有限长度的最佳实践 - Best practice to read limited length from an input stream
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM