Category: ZIM:X Connectivity

The Original Internet Language

Python Connection

#pip3 -> python 3.9 # – Instalar com pip3 #pip3 install JayDeBeApi –user #pip3 install JPype1==0.6.3 –user import jaydebeapi #variables to connect to zimjdbc8.jar jclassname=’zim.jdbc.ZJ_Driver’ jdbc_driver_loc = r’C:\Users\xxx\Documents\p01\zimjdbc8.jar’ jdbc_driver_name = ‘zim.jdbc.ZJ_Driver’ host=’localhost:6002′ #url and login variables url=’jdbc:zim://’ + host + ‘/zimdb01’ login=”ZIM” psw=”” #sql to be executed at the Zim’s side. sql = “SELECT codie,…
Read more

DDE Services

Zim provides DDE services for applications through the function $DDEFunction. These DDE services include the ability to send data to another application, retrieve data from another application, and pass commands to another application. While you can write your own implementation of $DDEFunction, Zim provides a standard implementation in the form of a Dynamic Link Library…
Read more

Preparing the Database for ODBC Access

Preparing the Database for ODBC Access Start up the Development Center (DC) and click Tools -> Remote Access -> Prepare Database. This action runs a script that populates the metadata entities that are used by non-Zim applications to acquire EntitySet information.  

ZimWeb Page Templates

ZimWeb includes page template support. This allows you to combine parameters from Zim with the page (web page, etc.) delivered to the client. Template file format A page template is just a regular page (HTML etc.), with parameter placeholders to indicate where each parameter to be supplied by the Zim application is to be placed.…
Read more

Configuring ZimWeb

If you are using Tomcat, and have installed the ZimWeb in the manner described in the installation instructions, then the servlet configuration (servlet initialisation parameters) will be in the web.xml file in the [TOMCAT_ROOT]/webapps/ZII/WEB-INF directory. If you are using a different servlet engine, then you will have to consult its documentation to see how to…
Read more

ZimWeb Architecture

ZimWeb Connection Architecture Web applications can be implemented in Zim, using a Java Servlet program called ZIIServlet, provided as part of ZimWeb. A Java Servlet must be executed on a Java Servlet Container, such as Apache’s Jakarta Tomcat. ZIIServlet works together with Zim Server to process requests from the client, whose interaction with the end…
Read more

Bibliography

XML Technologies The following books will be particularly useful in explaining the XML technologies that are crucial to using the ZimWeb effectively:   XML By Example (2nd Edition) and Applied XML Solutions by Benoit Marchal – these will give you a good overview of the XML landscape. XSLT Programmer’s Reference 2nd Edition by Michael Kay…
Read more

ZimWeb Administration

ZIIAdmin servlet is ZimWeb‘s administration tool. It can be used to manage ZimWeb either from the web or from a command line or script, which can be scheduled. Web Administration If you invoke the ZIIAdmin servlet from a web browser, you will see a page with various parts under different headings:- Database Status Allows you…
Read more

Logging in to a Database

The driver provides a login dialog under one of two conditions. The login appears if the application using the driver passes it a blank user id or password the user id or password variables are not defined in the registry The User ID and Password passed to the driver from the application override those defined…
Read more

Zim Applications’ Input Parameters

  Input parameters are those parameters supplied as input to the Zim application. Parameters tend to work in the same way as the ZimCGI, except that: The TEMPLATE parameter is required, except where a default parameter template has been specifed for a procedure. There are more parameters with reserved meanings – namely PATHINFO, STYLE, PAGETEMPLATE…
Read more

en_CAEnglish