The Unified Modeling Language is the industry standard for modeling software-intensive systems.

learn more… | top users | synonyms

4
votes
2answers
758 views

Explaining how the code you wrote works [closed]

I was asked to create for a freelance project a Monopoly game in Java. After finishing it the same guy asked me to create four UML diagrams from which he could understand how the game works. ...
4
votes
5answers
2k views

Limitations of UML? [closed]

I'm currently studying for an examination and one of the sample paper questions is to discuss the limitations of UML. Most of the material I'm finding on the net is relating to a specific UML ...
5
votes
1answer
8k views

Are using <<include>> and <<extend>> relationship in this use-case diagram actually same?

I am trying to draw a UML use-case diagram to model requirements for a software project. The two requirements I have issue to model are: TravelAgent creates a booking for a [old] client who is ...
2
votes
3answers
349 views

How to model two similar tasks with the Use-case diagram

I am trying to draw a use-case diagram for a software project. Two requirements for the software I am trying to model in use-case diagram are: A customer (i.e. Client) should be able to cancel its ...
1
vote
1answer
1k views

<<access>> and <<use>> in UML Component diagrams

How to decide if have to take the <<access>> or <<use>> notation for "-->" arrows in Component diagrams written in UML?
22
votes
19answers
9k views

How important are UML diagrams for a successful project?

I'm in the middle of a project and I was asked to write UML diagrams (use cases,class diagram,etc). The project isn't very complex. I was wondering if this be a waste of my time? Should I just be ...
1
vote
4answers
3k views

best way to handle a many to many relationship?

I am drawing a class diagram and I want to know what's the proper notation for many to many relationship between supplier and product? Should I show the table created supplier_product or leave it out ...
3
votes
3answers
1k views

Where to start a software Analysis & Designing? [closed]

I am starting a big database-oriented software project to develop. I have full picture of the software in mind. I need to do the designing using UML. As there are various tools in UML such as usecase, ...
3
votes
2answers
388 views

Component Diagram, what's next?

I'm working on an iPhone application and I created a component diagram. I defined interfaces for each component. For example I have an AI component and I have made some interfaces for it. How should ...
6
votes
1answer
889 views

How do you perform modeling in an Extreme Programming environment?

I know methodologies, like Extreme Programming (XP), which specifies its own specific practices for developing software. However, unlike Scrum where it focuses more on management aspects, XP specifies ...
3
votes
2answers
2k views

How to use BPMN and use case and other diagrams together

I asked this question on stackoverflow, but it seems this question is not suitable there, so I post here for discussion. BPMN (Business Process Modeling Notations) is used for modeling business ...
1
vote
1answer
144 views

what kind of relation will exist between a member and a P2P network classes in a class diagram?

I have a member class which stores the IP, and ports used on that member. Another class P2P stores a list of all the members currently in the network and provides join,leave functionality. What kind ...
3
votes
1answer
515 views

What's a good notation for showing MVC interactions?

I'm developing various websites and functionality to cater to various different use-cases up in Django. Is there a good notation for showing what behaviour is at each stage, e.g., swimlanes. I use ...
4
votes
4answers
2k views

Web pages in UML sequence diagrams?

In my current project, we have an ongoing discussion about whether or not it's a good idea to include an artifact representing a web page in an UML sequence diagram for a web application, making ...
2
votes
1answer
1k views

How do you do to create the ViewModel part of your MVVM designs?

Sometimes, when I plan to create a program using this architectural pattern, I've got a lot of difficulties when I'm in the View Model phase. I'm using WAF Framework to develop this architectural ...
2
votes
1answer
570 views

How to model a many to many from a DDD perspective in UML?

I have a two entity objects Site and Customer where there is a many to many relationship. I have read you try not to model this in DDD as it is in the data model and go for a unidirectional flow. If ...
36
votes
10answers
4k views

Is code commonly generated from UML?

So when I was at university I was educated on the benefits of UML and its future in code development. But from my industry experience, I've found that while we do use diagrams—ranging from ER ...
17
votes
7answers
1k views

What are the essential things one needs to know about UML?

I want my scribbles of a program's design and behaviour to become more streamlined and have a common language with other developers. I looked at UML and in principle it seems to be what I'm looking ...
4
votes
3answers
912 views

Agile (scrum) and UML round-trip tools [closed]

How effective are automated round-trip tools for UML modeling? Do they help in coding quick, clean, efficient code? In what ways do these tools fit into the Agile methodology?
15
votes
3answers
11k views

UML Diagrams of Multi-Threaded Applications

For single-threaded applications I like to use class diagrams to get an overview of the architecture of that application. This type of diagram, however, hasn’t been very helpful when trying to ...
-1
votes
4answers
430 views

Software for requirements and use cases [closed]

I am looking into some UML modeling software, which there is plentiful of on the market, but only a few I found support recording of requirements and written use cases (not the diagrams yet). Are ...
5
votes
3answers
2k views

Software development life cycle in the industry

I am taking a module called "Requirements Analysis & Design" in a local university. Common module, I'd say (on software development life cycle (SDLC) and UML). But there is a lot of things I ...
3
votes
2answers
732 views

Collaborate on UML online [closed]

Some friends and I are starting up a hobby programming project. I wonder if there is any good method/tool/service which lets us collaborate on UML diagrams online. This can be in any form (online ...
10
votes
1answer
292 views

Drawing thread interaction

I'd like to draw (pen and pencils) threads interaction in a UML(-like) notation. I don't insist on UML, anything that is obvious to the reader should do. I started with sequence diagrams, but I don't ...
3
votes
1answer
407 views

Is this the correct way to use extends?

I am making a UML diagram. Im wondering if im using the extends feature correctly. I have a marketer that can search contacts but only if they have created them in the first place.... Have i got the ...
0
votes
1answer
83 views

How to link classes in different packages (on different pages)?

Extending the answer to this question, I have broken down a large system into a few classes per package. Each package is now shown in a different page for readability, but now how do I show the ...
4
votes
7answers
387 views

Recommended ways for getting a good grasp of inherited software

So you've inherited a large codebase that you need to make substantial changes to and you wish to get a pretty complete understanding of the software before starting. Would you diagram it? If so, ...
1
vote
2answers
563 views

How to draw a (UML) class diagram when the classes are dispersed across a distributed system?

Basically how to denote that class foo is from a different server than class bar ?
6
votes
3answers
23k views

How to include conditions in UML sequence diagrams?

I like to draw a UML sequence diagram to display the sequence of actions and interactions of different parts of my system (I think they called actors). However, I need to include if then else ...
5
votes
5answers
2k views

How to tackle complex business rule and logic?

I have a domain expert to work with, but he would throws a lot of details to me verbally. The business logics are complex, business rules change often, the business process is long and multi-ending / ...
2
votes
3answers
353 views

Formal requirements analysis

I've been doing a Requirements Analysis module in my university. We've covered all kinds of formal requirements stuff, like UML, Use Case Diagrams, Sequence Diagrams and Contracts. I have to ask- are ...
5
votes
1answer
5k views

Difference between statechart and sequence diagram

I realise these two diagrams are very similar, with the obvious difference one models the sequence of a certain function, whilst the other models the state throughout a function being carried out. ...
5
votes
3answers
3k views

How do you annotate instantiation in UML class diagrams?

Given this pseudo code: class B { } class A : B { int val; }; alpha = new A(); What arrow do I draw between alpha and A in a UML class diagram? Is this even something UML is meant to do? ...
10
votes
6answers
812 views

How should I plan out my code base?

I'm currently working on a project that's about to reach over 5,000 lines of code, but I never really completely thought out the design. What methods should I use to structure and organize my code? ...
2
votes
2answers
678 views

UML to portray SQL objects

I am delving into the science of UML. The tool I am using is ArgoUML. I feel very confident portraying OO designs through this tool. But what still vexes me is the incorporation of the database. ...
1
vote
1answer
204 views

ArgoUML - Learning [closed]

So I just got a copy of ArgoUML. I originally thought I'd be able to just play around with it to learn it, but it's turning out to be extremely difficult. I searched online for tutorials and videos ...
1
vote
1answer
553 views

What is a combined fragment in a UML Sequence Diagram?

Everything is in the question. I just discover this new feature and I don't really understand what it stands for. I know that it can represent loop, alternative in the sequence diagram. Can someone ...
7
votes
3answers
752 views

Can you use UML in a TDD project?

If so, at what stage? or it is also an iterative process? If iterative, how formal? Also, how useful is UML for a solo programmer doing open source? While I like to see a picture of the system, it ...
5
votes
4answers
211 views

Is defining every method/state per object in a series of UML diagrams representative of MDA in general?

I am currently working on a project where we use a framework that combines code generation and ORM together with UML to develop software. Methods are added to UML classes and are generated into ...
12
votes
5answers
2k views

Do you create a design with UML before you start? [duplicate]

Possible Duplicate: How often do you use Formal UML? I'm currently following a study UML called UML Fundamentals. While studying, I wondered if companies even bother creating system ...
8
votes
5answers
697 views

What is the standard for modeling modern applications prior to development?

I'm taking on my first enterprise-level application and I want my team to model the entire ASP.NET MVC C# application before we even tap out one line of code. UPDATE: This was not intended to be a ...
1
vote
7answers
463 views

System analysis at the begining of the project

When I want to develop a new application, first I'm going to design a UML and specify project details and definition. But when I start development process, I determine that I should change some parts ...
3
votes
1answer
412 views

Which UML colors should this example be represented by?

See UML colors here. Here is the example, I have following entity classes: User(name) MailBox(owner: User, label) Mail(from: User, to: User, subject, body, composeTime) MailCopy(type, from: User, ...
3
votes
2answers
263 views

Should framework classes (e.g. .NET, Java) be included in UML diagram?

Say in a UML Sequence diagram, I am showing a call to the database using ADO.NET. Do I need to include the SqlConnection, SqlCommand, SqlDataReader object in the diagram? Is it just preference ...
0
votes
1answer
221 views

logical subsystem & physical subsystem

I've done a google search on both of them, can't find much information. I was wondering what is a logical subsystem and physical subsystem (in an object-oriented system)? Also why would it be useful ...
3
votes
2answers
847 views

How do you represent container classes in UML?

When drawing out quick class diagrams, I'm often at a loss how to represent classes that are used just to pass data around between various parts of the program. I've been putting them out in the ...
0
votes
2answers
180 views

How to do this in Standard UML?

In the below Sequence diagram, when the user have entered the Username and Password, I have to do the authentication. Now you can see two details valid details and invalid detail in the diagram , ...
13
votes
10answers
1k views

How useful is UML if you are a developer working alone in a project [closed]

How useful is UML if you are a developer working alone in a project?
4
votes
4answers
12k views

Advantages & Disadvantages of using Class Diagrams [closed]

Any and all advantages/disadvantages would be appreciated!
2
votes
1answer
256 views

Appropriate UML diagram

What is an appropriate UML diagram if I want to display how user request web page, enters some data, then posts the form (and if the validation has not succeeded, user is redirected back to requested ...