Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cartridge kissmda-cartridges-simple-java: add Stereotype "Boundary" to create DTO (Data Transfer Object) or VO (Value Object) #24

Open
lofidewanto opened this issue Aug 13, 2013 · 6 comments
Assignees
Milestone

Comments

@lofidewanto
Copy link
Contributor

We need to be able to create DTO with stereotype "Transport Object".

@ghost ghost assigned lofidewanto Aug 13, 2013
@lofidewanto
Copy link
Contributor Author

Or we just use stereotype "Value"

@idueppe
Copy link
Member

idueppe commented Jan 10, 2014

Isn't a DTO a UML boundary object? Look at this page http://www.cs.sjsu.edu/~pearce/modules/lectures/ooa/analysis/ecb.htm.

@lofidewanto
Copy link
Contributor Author

Yes correct. DTO == TO == Value Object == Value == Boundary Object. I thought it is good to have these elements in our UML language:

Entity, Service, Value

@idueppe
Copy link
Member

idueppe commented Jan 11, 2014

I don't think so that a Value object is equal to a Dto.
See http://www.adam-bien.com/roller/abien/entry/value_object_vs_data_transfer.

@lofidewanto
Copy link
Contributor Author

Ahhh.... sometimes I think that those JEE design patterns are typical of "over engineering" in our enterprise software development. Also the whole specifications with JEE. My analogy: do we need a specification for Android OS so that every vendor can implement "other" Android OS? Nope! So who needs those JEE servers from IBM, Oracle, JBoss, etc.? You only need ONE JEE server just like ONE Android OS. You can still do your own Android OS just like Linux because it's Open Source but you don't need such over specifications like JEE... I think I need to blog this ;-)

@lofidewanto
Copy link
Contributor Author

OK, @idueppe you are right. We should make "boundary". Here is a good example: http://goo.gl/kpiOEK

@lofidewanto lofidewanto changed the title Cartridge kissmda-cartridges-simple-java: add Stereotype "Transport Object" to create DTO (Data Transfer Object) Cartridge kissmda-cartridges-simple-java: add Stereotype "Boundary" to create DTO (Data Transfer Object) or VO (Value Object) Jul 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants