Your SlideShare is downloading. ×
  • Like
Pdm Common Framework Version 0.3
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Pdm Common Framework Version 0.3

  • 412 views
Published

 

Published in Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
412
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
4
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. PDM Common Framework v0.3 By Han chang seok
  • 2. Contents
    • Package structure
    • Sample
    • TODO
  • 3. Package structure
    • business
      • process
    • service
    • core
      • aop
      • auth
      • db
      • web
  • 4. Package structure
    • business
    • classify a process
      • associated but not guarantee transaction.
      • associated and guarantee transaction.
      • unassociated.
  • 5. Package structure
  • 6. Package structure
    • service : not external service.
    • IApplicationService : façade object for all service.
    • IAuthService
    • IDbService
  • 7. Package structure
    • core : base library.
      • auth : not implemented.
      • web : not util. support a mvc framework.
      • db :
        • sql cache support.
        • dynamic sql support.
        • categorized database context support.
  • 8. Sample
  • 9. Sample
    • <bean id=&quot;sql-common&quot; class=&quot;com.eltec.common.core.Context&quot;>
    • <constructor-arg>
    • <map>
      • <entry key=&quot; create.person &quot;>
        • <bean class=&quot; com.eltec.common.core.db.Sql &quot;>
        • <constructor-arg>
          • <value>insert into person values(?, ?, ?, ?)</value>
        • </constructor-arg>
        • <constructor-arg>
          • <list>
            • <value>${sql.types.varchar}</value>
            • <value>${sql.types.varchar}</value>
            • <value>${sql.types.varchar}</value>
            • <value>${sql.types.varchar}</value>
          • </list>
        • </constructor-arg>
        • </bean>
    • </map>
    • </constructor-arg>
  • 10. Sample
    • <bean id=&quot;createPerson&quot; class=“xxx.CreatePerson&quot; parent=&quot;servicable&quot; />
    • <bean id=&quot;dropPerson&quot; class=“xxx.DropPerson&quot; parent=&quot;servicable&quot; />
    • <bean id=&quot;insertPerson&quot; class=“xxx.InsertPerson&quot; parent=&quot;servicable&quot; />
    • <bean id=&quot;selectPerson&quot; class=“xxx.SelectPerson&quot; parent=&quot;servicable&quot; />
    • <bean id=&quot;personCreateGroup&quot; class=“xxx.TransactionalProcessGroup&quot; parent=&quot;transactional&quot; >
      • <property name=&quot;processList&quot;>
      • <list>
        • <ref bean=&quot;dropPerson&quot; />
        • <ref bean=&quot;createPerson&quot; />
        • <ref bean=&quot;insertPerson&quot; />
        • <ref bean=&quot;selectPerson&quot; />
      • </list>
      • </property>
    • </bean>
  • 11. Sample
    • <bean id=&quot;servicable&quot; abstract=&quot;true&quot; >
      • <property name=&quot;applicationService&quot; ref=&quot;applicationService&quot; />
    • </bean>
    • <bean id=&quot;transactional&quot; abstract=&quot;true&quot; >
      • <property name=&quot;transaction&quot; ref=&quot;txTemplate&quot; />
    • </bean>
  • 12. Sample
    • public void setPersonCreateGroup(TransactionalProcessGroup personCreateGroup) {
    • this.personCreateGroup = personCreateGroup;
    • }
    • public void testMain() throws Exception {
      • Context<String, Object> context = new Context<String, Object>();
      • personCreateGroup.process(context);
    • }
  • 13. TODO
    • Define detail business process
      • Transaction level.
      • Exception.
    • Come to web 2.0?
      • Open service.
      • CSS based design.
    • UI convention
      • design.
      • common library.
      • must jsp?
    • Others?