PDM Common Framework v0.3 By Han chang seok
Contents <ul><li>Package structure </li></ul><ul><li>Sample </li></ul><ul><li>TODO </li></ul>
Package structure <ul><li>business </li></ul><ul><ul><li>process </li></ul></ul><ul><li>service  </li></ul><ul><li>core  <...
Package structure <ul><li>business </li></ul><ul><li>classify a process </li></ul><ul><ul><li>associated but not guarantee...
Package structure
Package structure <ul><li>service : not external service. </li></ul><ul><li>IApplicationService : façade object for all se...
Package structure <ul><li>core : base library. </li></ul><ul><ul><li>auth : not implemented. </li></ul></ul><ul><ul><li>we...
Sample
Sample <ul><li><bean id=&quot;sql-common&quot; class=&quot;com.eltec.common.core.Context&quot;> </li></ul><ul><li><constru...
Sample <ul><li><bean id=&quot;createPerson&quot; class=“xxx.CreatePerson&quot;  parent=&quot;servicable&quot;  /> </li></u...
Sample <ul><li><bean id=&quot;servicable&quot;  abstract=&quot;true&quot; > </li></ul><ul><ul><li><property name=&quot;app...
Sample <ul><li>public void setPersonCreateGroup(TransactionalProcessGroup personCreateGroup) { </li></ul><ul><li>this.pers...
TODO <ul><li>Define detail business process </li></ul><ul><ul><li>Transaction level. </li></ul></ul><ul><ul><li>Exception....
Upcoming SlideShare
Loading in …5
×

Pdm Common Framework Version 0.3

634 views
535 views

Published on

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

  • Be the first to like this

No Downloads
Views
Total views
634
On SlideShare
0
From Embeds
0
Number of Embeds
42
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Pdm Common Framework Version 0.3

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

×