The Model Driven Software Network

Raise your level of abstraction

Can be a multithreaded server created with MDD?

Hi out there!

Can be a multithreaded server created with MDD? Should I use Petri Net? Or have I just to write them directly in C++ or Java?

Thanks a lot for suggestions.

Views: 5

Reply to This

Replies to This Discussion

The simple answer to the first question is yes.

A better answer however would be to ask you to expand a little more. Your second and third questions are 'apples and oranges' in comparison to the first.

MDD is primarily an approach that seeks to model a problem with a language appropriate to that problem. The result is then translated into a working system of some sort (in as automated fashion as possible, although some or all of the translation may be manual). This is often achieved using a code generator, interpreter or a mixture of both.

So 'MDD' doesn't mandate the language you use to model the problem. You could use Petri nets, C++, UML, your own domain language, or many other possibilities. The only 'constraint' is that the resulting model (specific Petri net, UML model, C++ code, etc.) is then translated into your working system.

Therefore, assuming I understand the intent behind your question, I'd perhaps answer as follows:

- Can I develop a multi-threaded server using MDD?

Yes. To be most effective, you should choose a modelling language that provides facilities for concurrency. Petri nets may well therefore be a good basis to model the problem. You then need to find a way to translate the resulting net into a working system. Do that, and you've done MDD :-)

Hope that helps.

- Scott.
What Scott said.
Thanks for replies.

"Can I develop a multi-threaded server using MDD?" You said "Yes"

Can you be a little bit more specific? I mean, do you know any link/book/forum I can read to learn how to do that?

Thanks a lot for your time.
I guess the next answer is : You have to learn how to do MDD.

You could start with Markus Volter's book, "Model-Driven Software Development: Technology, Engineering, Management", http://www.amazon.co.uk/Model-Driven-Software-Development-Technolog...

After you understand MDD, then you'll find your way.
I agree with Rui. Another nice & practical book for starters with Java background could be: Program Generators with XML and Java, Craig Cleaveland
I think there are some conferences where you can go to learn about this stuff :-)
Thanks a lot
Do you suggest me I should create my multithreaded servers (for instance, for managing a computer game, maybe a poker or a first person shooter) by hand or using convencional techniques? (ie, write tons of C++ lines)

I know it is possible to represent multithreading in UML, for instance:
http://www.objectmentor.com/resources/articles/cplxtrns.pdf

What do you think?

Thanks.

RSS

Badge

Loading…

© 2012   Created by Mark Dalgarno.   Powered by

Badges  |  Report an Issue  |  Terms of Service