Adding SIP annotations

Add annotations to SIP 1.1 servlets to embed data directly in a SIP application and to inject resources, such as EJB or SIP utility classes.

Before you begin

You must create a SIP 1.1 servlet.

Procedure

  1. Open your SIP servlet class open in the Java™ editor.
  2. Click an appropriate location in your code and type the annotation (for example, @SipServlet).
    Tip: Type the @ character and click CTRL+Spacebar to see a list of annotations that you can add.
    Image showing content assist for adding @SipServlet annotation to a servlet in the Java editor.

Feedback