• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Piet Souris
  • Himai Minh

Domain Driven Design - connect application with domain

Ranch Hand
Posts: 187
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I just started with DDD and created an AggregateRoot with its Repository. The repository uses eclipselink, works like a charm. Now i would like to provide a UI to this domain, so i think vaadin is a nice way to do that. But i am now wondering how i can connect the domain model with the UI? I just dont get it.
https://github.com/olze/MyCMS/tree/tmp/MyCMS-ui/src/main/java/ch/trustserv/mycms/ddd - thats my current project, but the code i use now in the MyUI.java class is code which should go to an application service. But how can i implement this? I found the ddd sample application but that uses spring - and i would like to use as much plain java as possible.

Or do i have to create a REST interface and a server in the application impl, create a REST client in the UI and use that? I feel somehow lost. Something is missing ...?? Any help is really appreciated.
It's a tiny ad. At least, that's what she said.
the value of filler advertising in 2021
    Bookmark Topic Watch Topic
  • New Topic