You can use Unified Modeling Language (UML) sequence diagrams to create visual representations of Java™ source elements to analyze and develop behaviors and interactions between classes and interfaces in Java or Enterprise JavaBeans™ (EJB) applications.