sf-api
Instruction
This is a document about SSF.
SSF
Spring Framework is a one of the widely used DI Framework in the field of web application. SIP Servlet is a new technology, and there is no framework like this.
DI container is easy to apply to the SIP protocol that manages the state, and DI container has the advantage of code reuse.
SSF provides ApplicationContext, Scope, and annotations for building converged applications on Spring Framework.
Please refer to Spring Framework about Spring Framework.
SipServlet development issues
The way to develop a SIP application is unique.
You must do the following.

- Check the state of each dialog
You must check the state of a dialog (SipSession) on the SipApplicationSession, and determine what to do by the state.
- Evaluate the event (SIP messages, ServletTimer, etc...)
- Evaluate the event with the state, and determine whether or not to handle the event. * Check headers of the message to send.
- Change of state
Change the state of the dialog and the SipApplicationSession, after handling the event.
These basic processing are simple, but are used repeatedly.
Solutinos
DI container (likes Spring) is the solution for above issues.
If you can develop SIP applications with Spring, you will be able to develop efficiently with DI and code reuse.
