Java Pattern Oriented Framework (Jt)
 

Version 2.8

 

 

 

 

 

 

 


Table of Contents

1.    Overview.. 3

2.    Jt Framework. 4

2.1.      Jt messaging interface (JtInterface) 4

2.2.      Defining framework components. 5

2.3.      Creating framework components. 6

2.4.      Setting/Getting attribute values. 7

2.5.      Creating framework messages. 9

2.6.      Sending framework messages. 9

2.7.      Processing framework messages. 10

2.8.      Removing framework components. 11

2.9.      Complete HelloWorld implementation. 12

2.10.        Loading attribute values from a resource file. 15

2.11.        Logging and debugging capabilities. 17

2.12.        Handling Errors and Exceptions. 19

3.    Jt Design Patterns. 20

3.1.      Gang of Four Design Patterns. 20

3.1.1.       Memento. 21

3.1.2.       Command. 22

3.1.3.       Composite. 24

3.1.4.       Decorator 25

3.1.5.       Prototype. 26

3.1.6.       Iterator 27

3.1.7.       Adapter 28

3.1.8.       Flyweight 29

3.1.9.       Façade. 30

3.1.10.     Observer 31

3.1.11.     Template Method. 32

3.1.12.     Chain of Reponsibility. 33

3.1.13.     Builder 34

3.1.14.     Abstract Factory. 35

3.1.15.     Factory Method. 36

3.1.16.     Singleton. 37

3.1.17.     Interpreter 38

3.1.18.     Mediator 39

3.1.19.     Visitor 40

3.1.20.     Proxy. 41

3.1.21.     Bridge. 42

3.1.22.     Strategy. 43

3.1.23.     State. 44

3.1.24.     GoF Examples. 45

3.2.      Jt Data Access Objects. 47

3.2.1.       XML Mapping and Configuration files. 49

3.2.2.       Transactions. 52

3.3.      JavaMail Adapter 53

3.4.      JDBC Adapter 54

3.5.      JMS Adapters. 55

3.6.      JNDI Adapter 56

4.    Business Process Modeling (BPM) integration. 57

4.1.      Conditions. 63

4.2.      Process Composition. 64

4.3.      Process Variables. 64

4.4.      Invoking and Debugging the jBPM example.