Now that we have created a mapping to our API, we can easily convert it to a Railo Archive.
1. Head over to the mappings screen by going to
http://localhost:8888/railo-context/admin/web.cfm
in the Railo Web Administrator and click on the Mappings link under Archives & Resources.2. Click on the pencil (Edit) icon next to the
/api
mapping to get to the Mapping Settings screen.3. Scroll to the bottom of the screen to the create archive section.
4. You can now click on the download archive button, and it will give you a file called
archive-api.ra
. The file that has been generated by Railo Server is a ZIP file containing all your components, ready for you to distribute.5. If you want to give it a test, instead of clicking on the download archive button, click on the assign archive to mapping button. This will create an archive and assign it to this mapping: