Mike.For our own software we test if the h2 port is open. If not we start the 
h2 server per java api and stop it when the software exits.When the port is 
found open we assume the h2 servers has been started externally and act as a 
client strictly.This may not been best practise but works like a charm and 
reliable for us.Best regards Sent from my Galaxy
-------- Original message --------From: Mike Bray <[email protected]> Date: 
23/03/2021  18:47  (GMT+07:00) To: [email protected] Subject: Re: 
[h2] Re: Best Practice using H2 Thanks, I will do it as a file, the console is 
really only for debugging purposes. The user will not know about h2 and so 
shouldn’t need to access the db.RegardsMikeOn Tue, 23 Mar 2021 at 10:17, 
Evgenij Ryazanov <[email protected]> wrote:If you need the H2 Console only, you 
can embed it as a servlet into your 
application:https://h2database.com/html/tutorial.html#usingH2ConsoleServletDon't
 forget to configure the security constraints to prevent access to it from 
untrusted and unauthorized users.If you need to accept connections from other 
applications, you need to use the separate H2 server process, possibly running 
as a system service. Your web application and other applications need to use 
remote connections to it in that case.



-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/h2-database/ff81ab83-dbe9-4c99-a977-b7f1518a7b3dn%40googlegroups.com.




-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/h2-database/CAM-i_afw0XMMR1LczT4Aq%2Byo9rZsvWarJVyMuHcyNtsvHqVFNw%40mail.gmail.com.

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/h2-database/1MuVOM-1lgcuW1w3e-00rUGI%40mrelayeu.kundenserver.de.

Reply via email to