Connect a BaseX web application to an already running BaseX server

Wednesday, 2 August 2017 · 3 messages
FE
Fabrice ETANCHAUD2 Aug 2017 11:48 #
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 at 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>
CG
Christian Grün2 Aug 2017 12:03 #
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
Quoted text · Fabrice ETANCHAUD · 51 lines
On Wed, Aug 2, 2017 at 11:48 AM, Fabrice ETANCHAUD < fetanchaud at 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 at 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] > > >
FE
Fabrice ETANCHAUD2 Aug 2017 14:16 #
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
Quoted text · Christian Grün · 29 lines
De : Christian Grün [mailto:christian.gruen at gmail.com] Envoyé : mercredi 2 août 2017 12:04 À : Fabrice ETANCHAUD Cc : basex-talk at 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 at pch.cerfrance.fr<mailto:fetanchaud at 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 at pch.cerfrance.fr<mailto:fetanchaud at 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>

⚡Generated with XQuery