You can use the CICS® bundle project that is supplied with each servlet example to deploy the application to a Liberty JVM server that is running in CICS.
CICS loads and runs Java™ applications from zFS, so you must deploy your compiled applications to a directory in zFS that the CICS region can access. For the DB2® example, you must also have a sample DB2 database available.
The preferred method to deploy and install the applications is to use a CICS bundle project, because you can then use CICS facilities to manage those bundle project application resources. A CICS bundle project packages a set of plug-in projects, dynamic web projects, and CICS resources that are logically deployed and managed as a single unit. You can use this method for simple web applications, such as the Hello World example, and more complex web applications, such as the other servlet examples.
An alternative method to deploy and install the applications is to use the Liberty deployment mechanism to deploy WAR or EBA files. You can export the dynamic web project as a WAR or EBA file and use FTP to copy the file to the dropins directory of a Liberty JVM server. You can use this method for simple web applications, such as the Hello World example.