Design Methodology: use case driven vs. domain driven

Use Cases focus on Users, Actions, and Processes. This is great from a business perspective, because everyone can see an abstracted view of what the system will provide. DDD focuses on creating software that solves problems. The ‘Who can solve this?‘ and the ‘What process will they follow?‘ come afterwards. DDD really gets to the … Read more

What are use cases for coroutines?

One use case is a web server that has multiple simultaneous connections, with a requirement to schedule reading and writing in parallel with all of them. This can be implemented using coroutines. Each connection is a coroutine that reads/writes some amount of data, then yields control to the scheduler. The scheduler passes to the next … Read more

What are the possible AOP use cases?

I can give you two examples where we use it: Automatically registering objects in JMX for remote management. If a class is annotated with our @AutoRegister annotation, we have an aspect that watches for new instantiations of that class and registers them in JMX automatically. Audit logging (the gold standard AOP use case). Its a … Read more

What are some use cases for using Elasticsearch versus standard sql queries? [closed]

There are two primary Elasticsearch use cases: Text search You want Elasticsearch when you’re doing a lot of text search, where traditional RDBMS databases are not performing really well (poor configuration, acts as a black-box, poor performance). Elasticsearch is highly customizable, extendable through plugins. You can build robust search without much knowledge quite fast. Logging … Read more

What’s is the difference between include and extend in use case diagram?

Extend is used when a use case adds steps to another first-class use case. For example, imagine “Withdraw Cash” is a use case of an Automated Teller Machine (ATM). “Assess Fee” would extend Withdraw Cash and describe the conditional “extension point” that is instantiated when the ATM user doesn’t bank at the ATM’s owning institution. … Read more

tech