You can convert an application into a static library, or you can convert a static or shared library into an application.
Applications are designed to contain all the resources that you need for a particular solution. Your main message flows are typically contained by an application. Libraries are designed to contain objects for reuse. Libraries typically contain reusable helper routines and resources such as subflows, ESQL modules, message definitions, and Java™ utilities. You might want to convert an application to a static library if it contains resources that you want to reuse for other solutions. You might want to convert a library to an application if it contains all the resources that are required to build your solution. If your application contains runnable message flows, a warning is displayed if you try to convert it to a library.
To convert an application or library to a different project type, complete the following steps.