To enable the CCI Connector sample to obtain a CICS connection factory by performing a JNDI lookup, you need a name server that supports the Java Naming and Directory Interface (JNDI), Version 1.2 or later. The way to set one up is described in Actions required on z/OS or Windows NT. You can use either a COS Naming Server or an LDAP server.
However, if the sample cannot connect to the name server, or a CICS connection factory has not been published to the name server, the sample creates the connection factory programatically. Therefore, strictly speaking, a name server is not a requirement to run the sample.