2

I have a quick question. Imagine this scenario: There is a webapp in server X. There is also another component (file) in server Y. In the webapp, starting, it does:

<script src="component from server Y">

Should I place the component from server Y in the server Y, or inside the WebApp component, in the Deployment diagram?

asked Aug 15, 2018 at 13:42

1 Answer 1

2

The deployment diagram shows where the various artifacts must be located in a live system in order for the system to operate.

For your system to operate, the "component from server Y" must be deployed to the server that is referenced by the URL in the script tag. This is presumably server Y, so the deployment diagram should reflect that.

Additionally, it can be helpful to indicate that the WebApp component has a dependency on this "component from server Y".

answered Aug 15, 2018 at 14:00

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.