Domain driven design and jpa

Slides:



Advertisements
Similar presentations
CHI 2014 Case Study Copyright notice A very compelling and concise title expressing the essence of your case study Optional subtitle in a smaller font.
Advertisements

NHibernate Object/Relational Persistence for.NET.
Demonstrators: Mudasir Nazir(08-CS-41).  I am highly addicted to this field.  Working with W3C in research program(building CSS for creating web site.
Handle] [Person Handle 1] [Person Handle 2] [Person Handle 3] [###] Handle] [Description.
ARCH-05 Application Prophecy UML 101 Peter Varhol Principal Product Manager.
Jon Grommes Feature Driven Development. Overview What is Feature Driven Development History of FDD Defining a Feature FDD Roles FDD Reporting FDD Process.
1 Design and Integration: Part 1. 2 What’s a metaphor? Ward Cunningham cites George Lakoff’s book, Metaphors We Live By: Lakoff argues that the assumptions.
Roles of IT Personnel Unit Customer Service This is a facility that helps customers with wide-ranging questions relating to a specific company,
ACEweb Express Registration Pages Karen Rankin University Outreach Office of Public Service.
R12 e-Business Tax engine - Global Tax Rules Made Easy Norcal OAUG – Training Day 2009, 21 st Jan, 2009 Rajesh Padinjaremadam, ConzultZone Anthony Vendhan,
Welcome Parents! Back to School Night Please Sign In… Megan McGregor Room O-202.
Experiences from years of agile coaching by Jimmy Nilsson.
Ephesians 4:29 Defensiveness: Do You Want a Teachable Spirit ?
Required Materials / Spring 2009 By Wilmer Arellano.
The Scientific Method: A Way to Solve a Problem
Analysis Patterns Analysis Patterns, Martin Fowler Data Modeling Patterns, David Hay Java Modeling in Color with UML, Peter Coad The Data Model Resource.
Software Specification and Design Sirisin Kongsilp & James Brucker.
Google and Webmasters, a very interesting read: From Search Engine Optimization for Dummies, 2 nd edition, by Peter Kent (p 340) Myth: Web designers and.
An Introduction to Data Modelling Entity Relationship Modelling Avin Mathew Nov 2010.
Applying Domain-Driven Design Jimmy Nilsson Webcast with UML China
The Effect of on the Heart Rate of Daphnia magna List all team members here.
Paper Title Authors names Conference and Year Presented by Your Name Date.
Integration – Powerful Connections Made Easy Mike Tenholder, SMMC Senior Sales Engineer Melissa Lombardi Marketing Associate V2.4, August 2015.
Jose S. Santiago M.D.. Key Expressions I agree ________ ( with you/ on the exam result/ that it’s not easy to change your eating habits). We are ________.
Name Developing your own Query Magic in SharePoint Search Virgil Carroll principal architect, high monkey.
Slide 1 Wolfram Höpken RMSIG Reference Model Special Interest Group Wolfram Höpken IFITT RMSIG.
Andy Doyle UK Corporate Sales Manager BCS Solutions for Business.
Image by apaixonada: Talking people into creating patches.
Best 3 Software Development Languages. Hibernate Training Hibernate is a high-performance object-relational mapping tool and query service. Hibernate.
WordPress Website Development Company India
More XP-rience: What more have I learned about eXtreme Programming in the last 15 years? By Niall Ross, Cincom (Twitter) #ESUG16.
Online Event Organizing Company Managemant System
ASQ Recertification Guidelines RU Ready?
Building Enterprise Applications Using Visual Studio®
Can the Patient Registration Department get value from collection agency data?
Evolution of the Analyst
FIRST GENERAL BODY MEETING
The use of interior design as an investment
Hibrid educational space as interinstitutional e-platform for MP in DA studyda.com # “Enhancement of Russian creative education: new Master program.
“A Day in the Life of SharePoint” Explaining SharePoint to End Users and Management Scott Shearer SharePoint Evangelist/Developer FlexPoint Technology.
Oshopsoft oshopsoft.gridaxis.in Gridaxis Softwares
COMPACT Web Design Approach:
USCG – What Got You Here Won’t Get You There
Kinetic Data Your business. Your process
THANK YOU… Welcome to Roadrunner Customer Support Welcome to Roadrunner Customer Support For More Visit on:
Turn Your Team Into A Championship Team: Hiring, Training, Management,
Star Talent: Investing in High-Potential Employee Development
Strategic Career Development Planning
Organizing Local Conferences and Workshops
Troy Thompson Creative Director Pattern Troy Thompson
2017 National Conference on Ending Homelessness Engaging Individuals with Lived Experience of Homelessness in the Point-in-Time Count July 19, 2017 Peter.
ORGANIZATIONAL Change management
Your Regional Network: Moving Towards Sustainability
Louisiana: Our History.
Lab Reports.
Dissemination guidelines at INE
Welcome to Mr. Adcock’s World History.
Stop here to have students discuss answers before reviewing ID Images on the following slide.
KNOWLEDGE MANAGEMENT (KM) Session # 37
Best Library Management System by CustomSoft. Objective CustomSoft developed Custom Library management software in order to provides More Accuracy Speed.
The role of the project manager
Phase 1 of Project Design
Many coffee shop and many people
IST346: What Is IT?.
Timeline of Events.
Lecture 1: General Communication Skills
Fixed Assets Management in
Project Meeting 30 Oct 2002.
WORKSHOP Establish a Communication and Training Plan
Presentation transcript:

Domain driven design and jpa Cecilio Álvarez Caules Java Master Oracle Certified Enterprise Architect web: www.arquitecturajava.com twitter:@arquitectojava

Domain Driven design (agenda) Problems Create Model Use JPA

Domain model problems

main Problems Expert Problem Communication Problem Complexibility

Experts People General Knowledge You dont know anything All people looks experts

communication problem

is a great football team example Barça is a great football team Pau Gasol not a football team Barça club Football team club with a great team

Complexibility problem

It’s not so easy! Barça club Football team club and great team Barça senior F 18 club and teams Barça club F senior A F senior B F 18 club and teams Barça club Football senior A men Football senior A women

summarizing Problems There is no easy access to experts Communication can be tricky Models are more complex than you think It is your responsibility to create a good model Knowing your customer proves to be essential

Agenda Create Model Problems Use JPA

How to build solid models?

modeling my TALK How does Barcelona Java conferences works? An expert gives a talk about a technical subject for Java Developers.

first model Expert name Talk title duration 1 n Developer name n n

analisys Your model is wrong Is my model correct? Case1 :Your model is bad ,You need to improve your model , you need more concepts. Case 2: Your model is fine but small, you can go to next meeting Your model is wrong

Analisys patterns Places Things Roles Events Description

very OLD books Analisys patterns (Martin Fowler) Java UML in Colour (Peter Coad) Data Model Patterns (David Hay)

<Role> Expert 1 <Event> Talk n <Role> Developer n name n 1 <Event> Talk title duration <Role> Developer name n

what an event is? Point TimeLine Heart of Model Talk??? whats happens?

working with talk Talk Talk Talk Presentation thing event repeat duration title Talk duration title date Talk duration title Presentation date thing event repeat

<Thing> <Role> Talk Expert <Place> Room name <Thing> Talk title duration <Place> Room number <Event> Presentation date <Role> Developer name

thinking about You have a problem with your customer Maybe its not the correct person to talk How we can solve/reduce this problem?

Models and Time time line

models and events before after T T T Enrollment Presentation Survey

before events Enrollment Presentation Conference <Thing> Talk date Presentation Conference <Thing> Talk <Place> University Ticket WebSite <Role> Developer JUG <Description> Category

Deep view Booking date Enrollment date Payment date Invoice date

<Place> website <Role> Developer <Thing> Talk <Description> Category <Thing> Talk <Place> Room <Thing> Ticket <Event> Enrollment <Event> Conference <Event> Presentation <Event> Survey <Event> Invoice <Role> JUG <Role> Expert <Event> Payment

view and models more than you need unflexible flexible

Summarizing models It´s your model , not the customer´s Use,don’t show at first place Time have no limits , be careful Understand better your customer Where does knowledge lie in the company ?

Agenda Use JPA Problems Create Model

JPA and Domains n+1 Queries Lazy/ Eager JoinFetch Graphs

time to code

conclusions Use Analysis patterns in your models Create a good model is hard Is your responsibility Know your framework

Thanks Cecilio Álvarez Caules contacto@arquitecturajava.com twitter: @arquitectojava blog:http://www.arquitecturajava.com