Pdm Common Framework Version 0.3
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Pdm Common Framework Version 0.3

on

  • 773 views

 

Statistics

Views

Total Views
773
Views on SlideShare
773
Embed Views
0

Actions

Likes
0
Downloads
4
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Pdm Common Framework Version 0.3 Presentation 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?