DB meets Jiemamy
                     OSS



                           2010.07.17




                    http://jiemamy....
•
                 •       id:daisuke-m

                 • twitter @daisuke_m
                Java Jiemamy
              ...
2008/09 @IT

                http://www.atmarkit.co.jp/fdb/single/08s_jiemamy/jiemamy1.html

                             ...
• Jiemamy
                •
                •

                            2010.07

2010   7   18
Agenda
                • Jiemamy                 Main

                • Jiemamy
                                         ...
NO!
                2010.07

2010   7   18
2010.07

2010   7   18
Martin Fowler

                • Planning Extreme
                  Programming

                • Refactoring
           ...
DB
                 Evolutional Database Design
                           — Martin Fowler, 2003

                DB


   ...
•
                •
                 • Jiemamy
                 • maven plugin,
                •                API      ...
Smart
                          Model


                 Smart
                                       Smart
              ...
A

                    Smart Build


                          2010.07

2010   7   18
• Web        SVN


                  DB



                        DB




                                   2010.07

2010...
•
                •
                 •
                 • Java
                 • DB     AP

                •            ...
Maven
                • Apache
                • co     pom.xml

                    "mvn package"

                •


  ...
Jiemamy
                • maven-jiemamy-plugin
                • pom
                 DB

                •               ...
B
                    Smart
                Version Control


                        2010.07

2010   7   18
rev1000


       •             revision     rev1001
                DB
                                  rev1002

       •...
Jiemamy
                •
                •
                 •
                 •

                          2010.07

2010...
C

                    Smart Model


                          2010.07

2010   7   18
DRY
                     Don't Repeat Yourself.
                •
                •          ...

                 •
     ...
1                 1
                •       1



           class Emp {      class Dept {
             String name;     St...
2
                •

                Dept tech = new Dept("            ");
                Emp kato = new Emp("        ");...
DB
                • DB             1

                •
                                          3
                •
   ...
2010.07

2010   7   18
DB
                •                   rev1000

                    SQL
                                    rev1001



   ...
• DRY
                •
                 •
                 •            documented
                • ER    SQL
          ...
Jiemamy

                2010.07

2010   7   18
2010.07

2010   7   18
Jiemamy
                •      DRY   DB

                •       SQL, DB             (   )


                •     XML    ...
Jiemamy


                          2010.07

2010   7   18
XML…
                •                XML

                •     GUI       ER


                •
                 • XML S...
Jiemamy
                •       ER

                 • AmaterasERD, Clay, DBDesigner4,
                   ERWin, SI Object...
Demo
                  2010.07

2010   7   18
Jiemamy API


                      2010.07

2010   7   18
Jiemamy Model                API    β

                • Jiemamy
                            Java object


               ...
XML → Java model


                • Jiemamy
                •
                • InputStream
                             ...
Java model → XML




                •      JiemamySerializer

                • OutputStream
                            ...
Java model → SQL



                • SqlExporter   new

                •
                • exportModel
                 ...
DB → Java model



                • DatabaseImporter     new

                •
                • importModel
           ...
Javadoc




                      2010.07

2010   7   18
•
            •               (ServletFilter     )

                       DB        Web

                 • Smart Install...
OSS


                      2010.07

2010   7   18
OSS

                •
                                    …

                •
                •

                       ...
•
                •


                    2010.07

2010   7   18
•
                • sourceforge
                •
                •
                •
                                2010...
Software License
                •
                 • GPL, AGPL
                •
                 • CPL, EPL, CDDL, MPL
 ...
•
                •
                •

                    2010.07

2010   7   18
•
                •
                • ITS

                •       Wiki


                               2010.07

2010   7...
•                             • ITS
                • SVN, Git, etc.              • Atlassian JIRA
            • ML / IRC ...
ITS




                      2010.07

2010   7   18
2010.07

2010   7   18
•
                •
                 •
                 •

                     2010.07

2010   7   18
2010.07

2010   7   18
• Jiemamy
                •      Jiemamy

                 •             API

                 • XML                    co...
Evolutional Database Design...


                http://jiemamy.org/
                           2010      2010.07

2010   ...
Upcoming SlideShare
Loading in...5
×

とべとべ電設部勉強会20100717 DB meets Jiemamy

1,143

Published on

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,143
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
7
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

とべとべ電設部勉強会20100717 DB meets Jiemamy

  1. 1. DB meets Jiemamy OSS 2010.07.17 http://jiemamy.org/ 2010 2010.07 2010 7 18
  2. 2. • • id:daisuke-m • twitter @daisuke_m Java Jiemamy DDD XML Maven OSGi ER Android SQL Eclipse • Jiemamy Project 2010.07 2010 7 18
  3. 3. 2008/09 @IT http://www.atmarkit.co.jp/fdb/single/08s_jiemamy/jiemamy1.html 2009/10 Eclipse http://www.amazon.co.jp/exec/obidos/ASIN/B002S4RLCG/cepoc-22/ Java http://www.amazon.co.jp/exec/obidos/ASIN/4822228479/cepoc-22/ 2010/05 Java http://bizboard.nikkeibp.co.jp/kijiken/ Java 2010.07 2010 7 18
  4. 4. • Jiemamy • • 2010.07 2010 7 18
  5. 5. Agenda • Jiemamy Main • Jiemamy Catchy • Jiemamy • Jiemamy API Maniac • 2010.07 2010 7 18
  6. 6. NO! 2010.07 2010 7 18
  7. 7. 2010.07 2010 7 18
  8. 8. Martin Fowler • Planning Extreme Programming • Refactoring • Pattern of Enterprise Application Architecture 2010.07 2010 7 18
  9. 9. DB Evolutional Database Design — Martin Fowler, 2003 DB DB 2010.07 2010 7 18
  10. 10. • • • Jiemamy • maven plugin, • API β 2010.07 2010 7 18
  11. 11. Smart Model Smart Smart Version Control Build 2010.07 2010 7 18
  12. 12. A Smart Build 2010.07 2010 7 18
  13. 13. • Web SVN DB DB 2010.07 2010 7 18
  14. 14. • • • • Java • DB AP • (documented) 2010.07 2010 7 18
  15. 15. Maven • Apache • co pom.xml "mvn package" • 2010.07 2010 7 18
  16. 16. Jiemamy • maven-jiemamy-plugin • pom DB • DB • Web DB • Ant 2010.07 2010 7 18
  17. 17. B Smart Version Control 2010.07 2010 7 18
  18. 18. rev1000 • revision rev1001 DB rev1002 • rev1003 • rev1004 rev1005 2010.07 2010 7 18
  19. 19. Jiemamy • • • • 2010.07 2010 7 18
  20. 20. C Smart Model 2010.07 2010 7 18
  21. 21. DRY Don't Repeat Yourself. • • ... • • • 2010.07 2010 7 18
  22. 22. 1 1 • 1 class Emp { class Dept { String name; String name; Dept dept; List<Emp> members; } } 2010.07 2010 7 18
  23. 23. 2 • Dept tech = new Dept(" "); Emp kato = new Emp(" "); kato.setDept(tech); tech.addMember(kato); 2010.07 2010 7 18
  24. 24. DB • DB 1 • 3 • • SQL 2 • ER ( ) • DB 2010.07 2010 7 18
  25. 25. 2010.07 2010 7 18
  26. 26. DB • rev1000 SQL rev1001 rev1002 ER ( ) rev1003 … rev1004 DRY rev1005 2010.07 2010 7 18
  27. 27. • DRY • • • documented • ER SQL • • 2010.07 2010 7 18
  28. 28. Jiemamy 2010.07 2010 7 18
  29. 29. 2010.07 2010 7 18
  30. 30. Jiemamy • DRY DB • SQL, DB ( ) • XML →SVN • • 2010.07 2010 7 18
  31. 31. Jiemamy 2010.07 2010 7 18
  32. 32. XML… • XML • GUI ER • • XML Schema • XML validation 2010.07 2010 7 18
  33. 33. Jiemamy • ER • AmaterasERD, Clay, DBDesigner4, ERWin, SI Object Browser, JUDE... • Jiemamy • • 2010.07 2010 7 18
  34. 34. Demo 2010.07 2010 7 18
  35. 35. Jiemamy API 2010.07 2010 7 18
  36. 36. Jiemamy Model API β • Jiemamy Java object SQL Java 2010.07 2010 7 18
  37. 37. XML → Java model • Jiemamy • • InputStream 2010.07 2010 7 18
  38. 38. Java model → XML • JiemamySerializer • OutputStream 2010.07 2010 7 18
  39. 39. Java model → SQL • SqlExporter new • • exportModel 2010.07 2010 7 18
  40. 40. DB → Java model • DatabaseImporter new • • importModel 2010.07 2010 7 18
  41. 41. Javadoc 2010.07 2010 7 18
  42. 42. • • (ServletFilter ) DB Web • Smart Install / Update • CREATE/DROP Web 2010.07 2010 7 18
  43. 43. OSS 2010.07 2010 7 18
  44. 44. OSS • … • • 2010.07 2010 7 18
  45. 45. • • 2010.07 2010 7 18
  46. 46. • • sourceforge • • • 2010.07 2010 7 18
  47. 47. Software License • • GPL, AGPL • • CPL, EPL, CDDL, MPL • • Apache License, BSD, MIT 2010.07 2010 7 18
  48. 48. • • • 2010.07 2010 7 18
  49. 49. • • • ITS • Wiki 2010.07 2010 7 18
  50. 50. • • ITS • SVN, Git, etc. • Atlassian JIRA • ML / IRC • CI • Google Group, freenode • Atlassian Bamboo, Hudson • Wiki • • Atlassian Confluence • Atlassian Crucible 2010.07 2010 7 18
  51. 51. ITS 2010.07 2010 7 18
  52. 52. 2010.07 2010 7 18
  53. 53. • • • • 2010.07 2010 7 18
  54. 54. 2010.07 2010 7 18
  55. 55. • Jiemamy • Jiemamy • API • XML converter • 2010.07 2010 7 18
  56. 56. Evolutional Database Design... http://jiemamy.org/ 2010 2010.07 2010 7 18
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×