# Applet Use and Lifecycle

Applets are designed to be packaged and digitally signed for distribution in a production environment. Any of the iCDR and dCDR implementations use applets as the source of end developer components. The manner in which applets are used depends on the context:

Applets are distributed from the iCDR server to dCDR clients which are connected to it. This is useful since the packaging and digital signature of an applet ensures operators of SanteDB that the packages have not been tampered or changed since receipt from the original developer.

However, since the standard iCDR and dCDR components only load and operate with packaged applets, this makes debugging and developing applets challenging. This is the rationale behind the SanteDB Applet SDK.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.santesuite.org/developers/applets/applet-use-and-lifecycle.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
