Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

This site will be updated by WebApp team


Excerpt

Web App

Use case description: "transferring XML Event Tree representation with the Internet"

This page is also available in Polish - go to 7.

Aim

Transfer the tree with a web application and then store tree values in a database.

Initial conditions

Have an Event Tree in XML format to use with the application.

Final conditions

Successful tree transfer to a database.

Process

  1. Client application communicates with a REST server using POST method.
  2. Correct function is called which enables to switch to business logic layer. In this layer XML validation is conducted.
  3. New Data Model class object is being created.
  4. Proper Java Bean object is being used from business objects repository.
  5. Data Model object is being saved.
  6. In the next step, object saving status is being returned to REST server.
  7. Server returns appropriate status code to inform about operation success (200).

Alternative course

  1. XML validation failed, business logic layer generates exception.
  2. REST service returns appropriate status code to inform about operation failure (400).

Diagrams

Image Modified

Figure 1. Class diagram.


Image Modified

Figure 2. Class diagram.


Image Modified

Figure 3. Sequence diagram.


Image Modified

Figure 4. Sequence diagram.

Additional resources