Prolog Web Deployment Old and New

Jan Burse, created Jun 24. 2020 Dear All, We just finished an improved tutorial about Prolog web deployment. There was already an old tutorial which assumed that the Jekejeke Prolog runtime library interpreter.jar is placed into the folder WEB-INF/lib. For this deployment approach the following knowledge base constructor is suitable: new Knowledgebase(Toolkit) The new tutorial features a servlet and Java server pages, but except for the last example, would work with above deployment approach. The upcoming release 1.4.5 of the Jekejeke Prolog runtime library will more thoroughly also support that the interpreter.jar is placed into the folder <server>/lib. For this deployment approach the following new knowledge base constructors are suitable: new Knowledgebase(Toolkit,ClassLoader) new Knowledgebase(Knowledgebase) new Knowledgebase(Knowledgebase,ClassLoader) The last example makes use of these constructors and the tutorial is therefore also a little preview of the upcoming release 1.4.5 of the Jekejeke Prolog runtime library. The new release still takes 1-2 months before going public. Meanwhile enjoy the other examples. Happy coding! #StaySafe New Tutorial: Deployment Methods Web GitHub Sources: Deployment Methods Web

Comments