Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 10 Next »

This site will be updated by WebApp team


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

Figure 1. Class diagram.


Figure 2. Class diagram.


Figure 3. Sequence diagram.


Figure 4. Sequence diagram.

Additional resources

  • No labels