[英]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. 这可以正常工作,但是我必须同时将
HSQL
和Tomcat
作为两个独立的程序从我的计算机上运行。 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.