Connect a BaseX web application to an already running BaseX server
Dear all, I would like to connect a BaseX web application to an already running BaseX server, But I cannot figure out how to do it without using the Client module. I tried to set the -n (HOST) option at webapp startup but it did not help. Best regards, [cerfranceimage] Fabrice ETANCHAUD Analyste Developpeur Les Rocs, Chavagné CS 40070 79260 LA CRECHE Tél. 05 49 76 45 45- Fax 05 49 25 83 87 Email : fetanchaud@pch.cerfrance.fr [cerfrancedevise] poitoucharentes.cerfrance.fr<http://www.poitoucharentes.cerfrance.fr> [facebook]<https://www.facebook.com/Cerfrance-Poitou-Charentes-686810324682939> [twitter]<https://twitter.com/CERFRANCE_PCH> [youtube]<https://www.youtube.com/user/CERFRANCEnational> [linkedin]<https://fr.linkedin.com/company/cerfrance-national-> [viadeo]<http://fr.viadeo.com/fr/company/cerfrance>
Hi Fabrice, I’m sorry that’s not possible: If you start a BaseX HTTP server with the embedded BaseX server instance, it will not communicate with this server via protocols/APIs, but share the same context. Salutations, Christian On Wed, Aug 2, 2017 at 11:48 AM, Fabrice ETANCHAUD < fetanchaud@pch.cerfrance.fr> wrote:
Dear all,
I would like to connect a BaseX web application to an already running BaseX server,
But I cannot figure out how to do it without using the Client module.
I tried to set the –n (HOST) option at webapp startup but it did not help.
Best regards,
[image: cerfranceimage]
*Fabrice ETANCHAUD* Analyste Developpeur
Les Rocs, Chavagné CS 40070 79260 LA CRECHE Tél. 05 49 76 45 45- Fax 05 49 25 83 87 Email : fetanchaud@pch.cerfrance.fr
[image: cerfrancedevise]
poitoucharentes.cerfrance.fr <http://www.poitoucharentes.cerfrance.fr>
[image: facebook] <https://www.facebook.com/Cerfrance-Poitou-Charentes-686810324682939>
[image: twitter] <https://twitter.com/CERFRANCE_PCH>
[image: youtube] <https://www.youtube.com/user/CERFRANCEnational>
[image: linkedin] <https://fr.linkedin.com/company/cerfrance-national->
[image: viadeo] <http://fr.viadeo.com/fr/company/cerfrance>
[image: space]
Thank you Christian for you fast reply, as usual ! I wish I could use BaseX more often : For now I am writing hundred lines of annotated java with jersey/jpa/hibernate just to expose a few rest resources… Not to mention the ETL stuff to move data from one rdbms to the others… And the liquibase changlogs to maintain the schemas… And… Meilleures salutations ! Fabrice De : Christian Grün [mailto:christian.gruen@gmail.com] Envoyé : mercredi 2 août 2017 12:04 À : Fabrice ETANCHAUD Cc : basex-talk@mailman.uni-konstanz.de Objet : Re: [basex-talk] Connect a BaseX web application to an already running BaseX server Hi Fabrice, I’m sorry that’s not possible: If you start a BaseX HTTP server with the embedded BaseX server instance, it will not communicate with this server via protocols/APIs, but share the same context. Salutations, Christian On Wed, Aug 2, 2017 at 11:48 AM, Fabrice ETANCHAUD <fetanchaud@pch.cerfrance.fr<mailto:fetanchaud@pch.cerfrance.fr>> wrote: Dear all, I would like to connect a BaseX web application to an already running BaseX server, But I cannot figure out how to do it without using the Client module. I tried to set the –n (HOST) option at webapp startup but it did not help. Best regards, [cerfranceimage] Fabrice ETANCHAUD Analyste Developpeur Les Rocs, Chavagné CS 40070 79260 LA CRECHE Tél. 05 49 76 45 45- Fax 05 49 25 83 87 Email : fetanchaud@pch.cerfrance.fr<mailto:fetanchaud@pch.cerfrance.fr> [cerfrancedevise] poitoucharentes.cerfrance.fr<http://www.poitoucharentes.cerfrance.fr> [facebook]<https://www.facebook.com/Cerfrance-Poitou-Charentes-686810324682939> [twitter]<https://twitter.com/CERFRANCE_PCH> [youtube]<https://www.youtube.com/user/CERFRANCEnational> [linkedin]<https://fr.linkedin.com/company/cerfrance-national-> [viadeo]<http://fr.viadeo.com/fr/company/cerfrance>
participants (2)
-
Christian Grün -
Fabrice ETANCHAUD