!"    #          $"    #                       

                 
    % $$     $  $   & $" ' ()*                                                                                                                
      +" $       ( $  ,     ),,    $    * $    $    -  $     .                                                       
      +"# / --     ' 00   .                                                                                                         
      ' ()*    " $  $1                                                                                                                       
      (2  $    ' ()*       $                                                                                                          3
  3   !"  ' ()*        $  $                                                                                                      3
  4   5     ' ()* ,   ,        6                                                                                                3
    ' ()* $1$                                                                                                                                         
      (2  ,      7                          ,"     / --      $ $       ,   ' 6               $
                                                                                                                                                          
        ' ()* 1       $         1  $                                                                                           8
        ' ()*    ,        $                                                                                                          
        ' ()* / --    ,"          $                                                                                          
                 $        ' ()* & 0                                                                                     4
      (2  ,      7         $               $   $ 2$      $       ,"     / --      $                   9
      (2  ,              :1 1                      $                                                                    
      (2  ,      % $$         $        $       $      ,,    $    $"  1 " ' ()*                           
  3   (2  ,   3  ; $  $                 $         $    $"  1 " ' ()* & $" $&     ,$              9
  4   (2  ,   4  -10   " < 710    0                    $    6          $                                   
  9   (2  ,   9      $       ,,    $      $ 6 $#                                                                            
      (2  ,      5     ' ()* $        $  $        $        $ 0                                                     
    ' ()*   $       0 " 6  1                                                                                                                 
      -10   " <  10    0                                                                                                                  
        -10   " <  10    0   "          $                                                                                 
          =    $"  ' ()*                                                                                                   
          =      # / --      $                                                                                             
        710    0    $     "                                                                                                       
          =    $"  ' ()*                                                                                                   
          =      # / --      $                                                                                             
        7                $    ,10> 10  "                                                                               
          =    $"  ' ()*                                                                                                   
          =      # / --      $                                                                                             
        % $$    $"     $     10    0   1     $                                                                          
          =    $"  ' ()*                                                                                                   
          =      # / --      $                                                                                             
    3   % $$    $"     $        $"   10   ,!     ? &      $            6   1                         
    3     =    $"  ' ()*                                                                                                   
    3     =      # / --      $                                                                                             



      5     @,  )  ,$   $              $         $    $"  ' ()* ,  $                                           
    ; 01                                                                                                                                           3
      5     / --      $ $    01   ,,    $                                                                                  3
      (  0     ' ()*   01                                                                                                         3
        ; 01       $"     6         7 $$    1, ' ()*      01                                          3
        ; 01       $"       $       ; 01      / --    ,$   0 " 6  1   1           
  01                                                                                                                                         3
3   ),,    2                                                                                                                                       4
3     A  $  #                                                                                                                                    4
3     B                                                                                                                                          9
3     C                  1                                                                                                          9
3       (2  ,                                                                                                                           9
3         '()*;1 , D 6                                                                                                        9
3         '()*!  $ D 6                                                                                                            
3       (2  ,                                                                                                                            
3         (2  ,    ,  ,                                                                                                         
3         (2  ,    $2$                                                                                                            
3       (2  ,                                                                                                                            
3       (2  ,                                                                                                                            
3         ' 00  7 1     ,  ,                                                                                                 
3   3   (2  ,   3                                                                                                                        
3   3     ' 00  7 1     ,  ,                                                                                                 
3   3     ' 00         7   3 ,  ,                                                                                      4


                              
' ()*       ( $  ,     * $    $    -  $      !"       #   $                                
                         !"      1   $       0   ,     ,   E       1  $   E 1        2$       
  6   ,   $    $"  ' ()* ,  $     

!"      1   $      6            $   # 0       ,  6    -                  E       $    E :1  $    
     6  1$      :1  $  $  $"  ' ()*            $                      

                                                              
)  ( $  ,     ),,    $    * $    $    ,  $             $    $    $        F    $             $   
 $       *$     $     #    ,        $             $  $                        $   E     $   "  "     6  E
               $    



( $  ,     ),,    $    * $    $            $          ( $  ,     7  6    G1  H(7GIE &"   $"    $ 
 $             $       0         $       ,  $         / B 0            $     2 "      
()*  ,,    $          $        $  0  6  # 1   1                  $     # $      $ 2$E &"    $" #
    & $        $       $              #  ,,    $    $    & #   6   ,       
' ()* "   0    01  $ $      1 "    $"    *$     1 "      $"     $    $        $      #  ,,    $     *$
        ,  $    $    $    ,  $     $" $     0     ,     $   ,,    $       6     !"           ,  $ 
      $ 1 $1   $" $ ,  6        6     $   ,,    $    $" $       $ $  $"  01   *$      $    $    $         
$" $ ' ()*      "  " #     6 $ 6  ,   1 $ $" $     0  1    $  01      &     6 $ 6   ,,    $     =  
 2  ,   
     -  ,        " 6    0             $     2$      $"    / --   ,  $       & $"              $   
       $     *$    $"1  ,    0   $      $       $      J   1$  K $"  E    $"  ,"#      &    E
$   $"       $     *$         ,    0   $    6   ,     2$       $  ' ()* $              $   
$    6   1    0        $"            $     !"      &" $ &              $     &    ,10   "
     10    0  
     C  ,      " 6  01  $ 01            1   / -- ,10   "      10    0     "      $ 
,1 " 6    1                 $    $   10    0            $    
+    1   ,  6      6         6 $ 6  1      ' ()* ,    0    ,,    $     *$    &  $"   $    $" $     
# 1 " 6  01    # 1         $     # $      1      / B 01   1 "    ' ()*E # 1       $     1 0  
    ,,  $1  $    $        $      2,   $ $"      $   $          & # $" $ # 1 & 1     $ " 6          
0      
' ()*      $ D1 $           $         #  # $    01$        ,,  $1  $# $    6        & 1   0#
   0       2  $      $   $      


                           
()* $         $    $     # 01  $ & $" ,  ,   $  #       $   $   ,  $      
     / BG   $   1    $   &  / B ,  $      *$      $        F  E $"1         / BG   $   "    $ 
  ,     
     ' 7       $ #    $   $   $  ' 6  H $       $    $ & $" CLL 01$   :1     ,  ,   $  #   $ & # I 
A & 6  E ( $  ,     ),,    $    * $    $        0 1$   $   ,   0   $#         "    #  1      1 "
    $ $     

@  $"   $"   "    ' ()*    $"      $ ()* 01  $  0 6                                    
     / --       $       / B ,  $           $   2 "     0 $&         $        6    *$    "  " #
 2$    0         $  ,     $ # $"  ()*        
     ' 00            $  $           ,  $     01    1,   $"  / --  ,  $     $" $    ,  6   $" 
     0   $#     $"    01 $        $"  / -- ,  $     
' 00      0              $  $            $           ' ()*      $$    "1   0     $       $" 
' 00     #             2,            #  $                 #   6    0           ' 00    HC    $ E     6   E
  0      E , 1    E  2$       E       $   $    ,  $ E    I     ' ()*     $      6  $       $"  &   $"
    2  $            $"  / --       
  ' ()*       $   $"  (7G   $    #     $     $       0     H*(!= / --I     0        / B 



)   E    #       $"  ' 00  >/ --   ,     $ $      6   # 1 $&          $1     
                       +"          $           E             :1 1           0    $   6     $    ? 
                $ 
                                  $    ,,    $       "        !"         1 ,       $   ()*    $1  
    &     ,,    $    $  $             0        ,            $ $1   "         $"    ,,    $     
!"  1      / --       6   ,         $    $    ,  $     $1    ' ()*   $  $"     $  ,  E  #     
       $    &      $    $    ,  $     

  !                  "  
' ()*    1    $             $   $      & $"        ,1$     # $      ,          6        $   $
 ,,    $      
5     / -- ,  $         &  ' ()* $  0  "  " #    $  01$ 0  E & $" $"   1,,  $    $"       &   
   "        

                        1    $   E $"  1 " $"     6  
                                                      $ $       $
                                          "      H         $  '(-   4 I
                                                  "      0        /, $"
     C    $             ' ()* 01     $   6     ,  $       6     !" #          $ # 1   $"  / --
,  $     $             $   $       $"  ' ()*   $  01   !"  / -- ,  $        / B 0      !"  
      ' ()* 1   0          #          ,,    $    E &  $$        #    ,1$        1     (6  #
    1      , 0                           $                $     1   ' ()*E 01$ $"             
"1    1 0      / -- "  ,     0             #    ,1$        1    $" $      ' ()*       $   
  6   ,   $     $"    $  6     ; 6   ,           " $  $            "     $  1   ' 6  0    
      $    $  $"    $  01      1   ' ()*      0     0 2      ' 6        !"           ,  $  $
   $1   $" $      ' ()* 1  0      6  $1   #   # ,  D  $ 
  1$       $1              1$ $      E $"     $                                                  
    0    1$   0 $&      6     ' ()*    6   E  1             $                     $      !" 
/ -- ,  $                $  0     $  01$                  $      !"           ,  $  $    $1      
        $  ,                     $  $      $   2 "        
G     01       $ ,    $"  @,   !      $    -  $     H@!->(      IE ' ()*             $"       &   
   $1     
                                           $      $   1       $ #    $"  ' ()*    ,1$    
     )                                                ,1$   
          !          )   $      1 $                6  $"       ' ()*        
     "         #  ' ()*         0    7    0   $# $  $          $"     $  $"  $            $  $   
     &    
7# $      " $  $1    01    & $" ' ()*     6  #    2 0          6  #      # $     $         $  ,    
  $    $      :1      $  

  @!-           &      6   ,   0# (        $  01  $   1 $ $      $  # $     @!- ,  6        $1           $&    J" $ 
     1,     K $   6       $&      $   1,$    
  +   E #  E ,  0 0 #      #    E    ' ()*        $ ,  $    $  0   6  #$"         6  #    



7 6                       " $  $1                   $            0    01      & $"   ' ()*    !"        1   $   &   
      0     6        " $  $1   $" $     0  6  #      #   ,     $   $"     $  ' ()*  - $$        
      0      $"  ,   ,  $ 6           $  $ #  6  6           $     # $    *$    ,       #  2,      
&" $           $    $    $"  , $$        &      " &  $    ,   #        $     # $           $   
 6  1$    

  #    $                       
' ()* "         #   6           $    $    $    $ & $"  ' ()*       , $ 0   & $"     $"        $   
  $ 01        $"  @,  )  ,$   ,  D  $  !"       1    
     ; $ 0          $   $"  1 " ';GCE
     ;     $   $ 2$           $E
     = 2       $" $ 2$           $E
     !*GC@      F 6 1 E
     *G   M7     E
        

)   $"         $          $    6    0              $ $    ,  $   #   E  1 "         2  ,   
     =     # $  E
     A!!-E
     =!-E
     7 !- H    I 

*$    ,    0   $    2      $         1 E      2  ,  E $  ,            $   ,     $ 2$           $
 6    0   $"  1 " =!-       D  $ $"    $    $  $"  ' ()* 01  

  %   &                               
)     6          E ' ()* ,  6       & 0   $       $         1    E         E           $     $ 
$"     6    *$ "   0    01  $    $ ,    N &  E      $         ,$ 0   A!!-    6  E &"  "      0     
  $  $"  ' 00      6   

  '   (                  )     *      
!"    1     2,      " & $  1   ' ()*      $"  ,  ,        C; @    6       $  !"  C; @ 
   $  $     0    ,    $    # ,        # 1  "       6     57G   #         0  1     2  $ # $"      
& # 
' ()* C; @      1 $ ,  $      *$     0       $ # 1       6    1   ,   $     # $     B  12E
        $ +    &         @7/ 
' ()* C; @      0    &             "$$, >>&&&        ,  D  $     > 

  ' ()*               N &     8  7   "$$, >># &  "#0      >



!"              $&      :1      $ $   1  $"  ' ()* 01   A & 6  E    # 1 &  $ $  1   ' 6  0    
      $       1   $"  ' 6  0     / --      $E # 1      $  " 6    ' 6      6  $1      "       $     
   # 1     ,1$  3 
N 1       1  "    $       ' ()* ,  $     0#   1  "    $"  D         ,$                B  124     
   @7/                         $ +    &   =    2  ,      B  12        @7/ 
$ ./j-eai.sh
              $ +    &  
> j-eai.bat
) $ 2$         &    0   ,    E 01$ # 1        $    $"  0 " 6  1            1  $       ' ()*      $ #
       # & 0 0  &    0#  ,      $"       &    5 B H    =  1    I 
http://localhost:6080/
                                      7  


3 71        # $    ' 6                 $     &      $  01$       ,     $          # $   1  71  ' 6  6  $1      "    
4 *  # 1   ,   $     # $         1  $           $     & # 1 $    1  "    $&         $"  C; @ E # 1 " 6  $& 
 ,$     
      C ,# $"     $  $    $"  C; @      &"       # 1  "       6 E
      C"     # 1  > $ >  $ 0            $ $      $"   2    ,$       $"  C; @     6        ,$     =    2  ,   
/dev/cdrom  /cdrom  iso9660 ro,user,noauto,exec  0 0
9 @        # $   E $"            "  $     &  O$ &     1   $"   ,           9          $    



!"   6          ,        1    $  0  1   0          !"  ' ()* 01              $ $                $      $
1, $   1     # 1   &     ,1$   !"         $" $ # 1 " 6  $  1                ' ()*    6   "  $ 
!"         1  $        1      1      1 $ 1     
     )         $  $   1    & $"  1      $       ' ()* H           "  $I 
                                                            
                                                         

     !"    1     H              E                E                I $" $ " 6     #     $      "$ 
     & $"   $"  ' ()* 01   !"      $"          1    $" $     0  1    0#   #  $        ,,    $    
      $    $  ' ()* 
                                                            
1                                                   1   
 ,,                                                  ,, 
 ,,                                                  ,, 
                           



!"         1  $      ,     $  $"              $$         $"  ' ()* $1$      


                  
' ()*     0  1    1     $&          $         )-* 
     / -- )-*  !"    ,,    "     6    0               ,1$        1            0  1    $    $      
             ,,    $     
     ' 6  @,  )  ,$   )-*  *  # 1 " 6   $       F   # 1         $     # $      ' 6 E # 1   1  
,      $"  ' 6  @,  )  ,$    ,,    " $        $ # 1     ,    $  $  ' ()* 
!"   $1$      & $" ,     $   2  ,    $" $ 1   0 $"  ,,    "  

=       $"     2  ,   E $"  ' ()*    6    1 $ 0  1,      1       7      $      4       $        " &
$    1  " $"  ' ()*    6   

@      $"         6  $       $"  ' ()* ,  $        $" $  $    #    $"  / -- ,  $      )        $ 
 1,,  $    $"  / -- ,  $         0  1    $        $ $  $"  ' ()* 01 E $          $       6 
          !"      1   1  0 $" $  $  $       01    $   $      # 1         $     # $  E 01$      $ 
  $    $  "1    O   $                  ,,    $    &      & 1     $"  ' ()* ,  $      !"  ' ()*
$1$       " & $" $ # 1     1   6    1      1  $        $ $  $"  ' ()* ,  $     


       $       + ,                                            
              *                
!"  ' ()* 01     ,  6     & $"            ,        $  !"       $         , #       $ $  ' ()*   
$"           "       1          H,   &       !  I        , # ,   $   1$              $" $        $
$  $"  1          



                                       
   7$  $ ' ()*     2,             $      4 
   B      $"  '()* & 0                  H,   &       !  I        "##         "$%&%#  !  # H7  
=  1    I 
          ' !     "             



   %  $  $"         )        5     C        $"  1        1         "     $"     $     $$     7    $
$"  1                       $ $  1       $   H=  1    I  !"   &     10    0  0 $" 1             
$     "  $"   ,         !" # &    $"1  0   0   $     & &"      "  $"             $    !"    $ ,
         &          2 "     0 $&    1                 0 $"      $     


  )  1$1   6          ' ()*         &       0   $       $1   $"      "       *$ &    0  ,    0   $      &             
    6   1    $     $"   01$ ,  6  $           $  0     $ $"   $"   & #    1    !"      $1            # 01  $    ' ()*
01$      $  6    0        $"  ' ()* & 0         
       (                  "   !        



                           
   7 $       $ ' 6       , $"  5   P  $Q     , $"QD  Q Q  0 $P            $ +    &     P  1   
  $Q     , $"QD  Q Q  ,      P    B  12       @7/ H7   =  1   3I 
       )                  "          !                  



   7$  $ $"       $    ,        $  java org.p1.JEAITest H7   =  1   4I 
       * +          ,   !        "           -  .        


       $   -                   



              !"##                 
   7$  $   ,  6       / --   ' 6         $   'G $"     java   -jar   lib/jbother/JBother-
0.8.4b.jar H=  1   9I 


   B        $"        ' ()*    $        1        1    & $" 'G $"    -   &       1           6     
  9       H=  1    I 


   N 1  " 1       $"  1      !            $        6    0   H=  1   8I  ; 10            $"       
1        $   ,   $"          &    & 
       / 0          1      2344       


       &  1      2344       "                    



   !#,       $ 2$    $"          &    &          " & $" $"    $     #  !"   &                
$"  1 " ' ()* $  $"     ,        $ 
       5  1      2344       "
  !       -        



3  B     $ $"     1 $    $"  '()* $  $      $         
        %  1      2344       "           !            !   


          6 !                -          !       



    $   "                                  
   %  $  $"          )                 $         $"  ' ()* & 0          N 1     $"1     
          2 "      0 $&    'G $"   / --      $     $"     ,   ' 6               $ H   1   I 


!"  ' 6  ' ()* $  $      $       ,        $&          
     '()*;1 ,
     '()*!  $

!"          $"  ' 6  ' ()* $  $      $     6    0      $"              ),,    2    $"      1   $ 
                7          " 3             



       $       + ,                               $           
                      
!"    2  ,    " &  " & $         $  $" $          $$     $          $   $ 2$               $"   $ 
     $    $ 6  / --      $       $   $  ' ()* 
!"        $   $ 2$            ,        $"          E   ,     & $"             $    
     ; $ 
     !   
     ?   
!"            0  $             $    , 6 $ / B      $E        ; $ @0D  $  *  $1  E $"        $   1  
0     6  $   $    #    $"             $ 0         $  / B   ,     $ $    

=  1       " &  $"  ' ()*    " $  $1       1          2  ,    ? $  $" $      6   ,   $          
$           $"    $   $        $"   # $    (6  #$"    "   0         0#       1     ' ()*    
      $    
   7$  $ ' ()*     2,             $      4 



   7$  $ '0 $"        $                    H7   =  1         =  1   8    ,      I 
java -jar lib/jbother/JBother-0.8.4b.jar
   =               "   E    $  $"  '()*    # ' !          7$  $ $"        $   & $"  $             
 ' !           
java org.openadaptor.adaptor.RunAdaptor example2.props A
                $ $  ' ()*    $"    !   1             0       ' !           
   N 1    " 1         6    $"               H               ,           E   0            $"       $  $       $" 
 ' !      '      I 
3  B     $ $"                 $"  ' ()* & 0         H)                $     I $   "    $" $
                  $ #    &    $"  1 " ' ()*     $" $ $" #     ,  ,   #        H7   =  1     I 
        ("   ' !     "                   



? $  $" $        "         # 1 " 6   6  $         $         $       =    2  ,  E # 1        
     $"          $     
     +"             "     $     $"   # $       0# &"  "  ,,    $     $ &      $ 
     +"             "   0        6     $  $"  $    $  ,,    $             $     "   0   
 1  #   ,     $      ' ()* 
=  1    3   " &            $     &"              "   0         $ #     6     $  $"  $    $  !" 
        "     $ 0    ,                 :1 1      $"          "   0           $ #     6       $  
" 6    0       $ 
        )"  +          !                       ,     2344       



  !    $      !+         -" "                        
' ()*       ,  & $"       &"    $"  $    $      $      ,,    $          $   & #        $   $  $"  ' 
()*    6    *$    ,    0   $                $              ,,    $                   1$   $  $" 
,  ,    ,,    $         $     0# ' ()*       $     $   6   0# $"   ,,    $     !"    2$ $    $" 
 ,,    $          $ E  $       $   6           $" $ " 6  0    ,          $          :1 1     
,       $"   
!"    2  ,          6        J  2  ,     K 01$  " &  $" $         $           ,,    $         $   
      $   ,           ?                 $    ' ()*  7   =  1    4 
!"      $ ,  $            $   2  ,      !"         $    1              $   &    0  1    H7      $    
   I  +  &       , #     &" $ " ,,    &"   $"  / --      $            &"     $         $ 
        *"  3                      ,   !        !!       ,     -    



   7$  $ ' ()*     2,             $      4 
   =               "   E    $  $"  ' ()*    # ' !          7$  $ $"        $   & $"  $             
 ' !           
        $"  +       !                         -  



java org.openadaptor.adaptor.RunAdaptor example2.props A
   7$  $ '0 $"        $               1    H7   7   =  1         =  1   8    ,      I 
java -jar lib/jbother/JBother-0.8.4b.jar
                $ $  ' ()*    $"    !   1             0       ' !    .props.
   +"   # 1              E # 1  " 1        6  $"             H            ,         E 0       
$"     $  $    $"   ' !      '      I 
3  B     $ $"                 $"  ' ()* & 0         H"$$, >>     "  $ 4   >  )               
$     I $   "    $" $                   $ #    &    $"  1 " ' ()*     $" $ $" #     ,  ,   #
        ? $  $" $        "         # 1 " 6   6  $         $         $       =    2  ,  E $"  
$    # 1              $"          $     $" $ 
     )         "   0       $ 0#   !   $        $     6     $      $    
     !"          "   0    ,        $"          :1 1  H0   1   ' ()* &     $  0   $      6  
 $    $"       &     $       $   $  $"  01  H       I  =  1    9 ,     $             6  $ 
     " &    $" $ $"          &      $ 01$      $ 0        6      !"              $      
$"          :1 1  
     !"          "   0          #     6     $       E &"   $"   ,,    $    "   0     0   $ 
      $       $  ' ()* H7   =  1     I 



G      0   $  "                                $"   1      $      $1      ' ()*  N 1     $"1 
"              1  #     $&               $      0#   ,  6         1$   $     :1 1                           $
0 $&     ,,    $      !"      $1              # $  01          #   1,           $     # $    *   1 "
          $     # $  E  $      $   :1     $" $      ,,    $     " 1   0             $"  $     !"     
        #      ,,    $    $" $      $  0  0  1 "$          1          $    H     2  ,    1    
    $      I  !"           $"       &"   # 1 &  $ $  1   ' ()* $    $        $  ,,    $    0 $&   
        $         $     
        /"    !                                  !       8     9    ,       -    :



  #    $      #+ .                                              
    "        
*$ "   0     2,       " & $  1   ' ()* $         $        ,,    $     $       $    $ 6   ,,    $   
1           $     !"    2  ,   &          0  $"   $"   & #    1        " & " & $         $      
     $    $ 6       $ $      ,,    $     7   =  1    8 
        &"  ;   !                      ,     -                          -  !                            !       8     



   7$  $ ' ()*     2,             $      4 
         1   $" $ # 1 " 6                 1       $    7      $          
   =               "   E    $  $"  ' ()*    # ' !          7$  $ $"        $   $" $    $   $  ' ()*
 6  $  & $"  $                    6             
java org.openadaptor.adaptor.RunAdaptor JabberSource1.props A
        5"  6       !          !             -                             



!"         $      $    $  ' ()*  6  $  $" $       1$   $   $      1 , $"             
4  7$  $ '0 $"        $               1    H7   7   =  1         =  1   8    ,      I 
java -jar lib/jbother/JBother-0.8.4b.jar
   7              $    !   H  10              !      $"     $         I     $#,               $" 
  & &    &8  7   =  1      


3  B       $"           1      $"        6                   $    N 1  " 1       $"   1 ,   
$"               6        # 1    $    $ 6       $          7   =  1      
4  B     $ $"                 $"  ' ()* & 0         H"$$, >>     "  $ 4   >  )               
$     I $   "    $" $                   $ #    &    $"  1 " ' ()* 


8 !"         $"          &    0        $   & $" $"         "    $    *$       $" $   #$"      $   $"      $         
$"          &    0          
        %"  6       !                 !             



  %    $      %+ /                                         "     
    0     0          
) ' ()*   $   $         0        1    & $" $&        $    $" $   $        10        $      #  
0 $&    $"  $&   ,,    $      !"  1     #            $" $ $"      $       $       1    $    , $"      $
  $       $ $  $"              $       $E        $"  , 6 $      $  !"               $      1    $ 
   6  $   $"      $           $"   , 6 $        $   $   $"             ,,    $       $        $    *   ' ()*  $    
            $  1   $"  / B ; $  @0D  $             $   2,     , 6 $   $       $  
   7$  $ ' ()*     2,             $      4 


   !"  ; $  @0D  $ / B           "   0                $"  @,  )  ,$   ,  D  $              0      @,  )  ,$  
   1   $ $    
         "  <    -    !          !          !             



   =               "   E    $  $"  ' ()*    # ' !          7$  $ $"        $   $" $    $   $  ' ()*
 6  $  & $"  $                    6             
java org.openadaptor.adaptor.RunAdaptor JabberSource2.props A
!"         $      $    $  ' ()*  6  $  $" $       1$   $   $      1 , $"          2        $ $ 2$      
(  "  6  $     ,,      $  $"  $ 2$       !           !"          ,1               $   &"   $"     ,$  
      $  $   
   =       $"            "   E    $  $"  ' ()*    # ' !          7$  $ $"        $   $" $ &        
 6  $  0        $"     $  $    $"   ' !      '        @    6  $                "           $" 
      $   $ 2$       !"                  $"               $            3      6  =*       
         "                       -                    



java org.openadaptor.adaptor.RunAdaptor JabberMessageSink5.props A
N 1     $"   " 6          $ $"   !               $   "    $" $  $    $     $"        ,               
*  # 1    1  $"        3      6  =*             $  E  $  " 1    ,,      &          $"  $    $     
 !          
   @,     $"              $                      ' ()*   & 0            H"$$, >>     "  $ 4   >      )         
        $     I  N 1                  2 "         $"  ' ()* 01   +"   # 1              6  
       E # 1        -      >            " 6          "$    $"  ; $  @0D  $ , 6 $      $ $" $
"   0       $ $"  1 " ' ()* H7   =  1     I 


*$    $"1  ,    0   $    $        $   6      ,,    $    E $" $      6                     $    ,1$   E
        ("  ?    +      230   -      !       !       



& $" 1$ &  $      # ,             
*$    ,    0   $  1    2  $    $               $"        $         1  $    $       #     
   , # $"   $ 1 $1      $"    $  $           !"  $         $     ,           &  $        
  ,,    0 $&    $"    1      $   $ 1 $1       $"  $    $   $   $ 1 $1    !"   ,       &    0 
      0           $   6          $"      1   $  !"  J         -      >        K  2,      " &
$    6   , # 1   &  $           

  '    $      '+  "      1 ,"       +                    
  *            


  2    $      2+                            *   
   $    $"  $   E     ,,    $           $  $         $     &                   $ "   0         6  0#
    ,,    $        &"   $"   ,,    $    "     $   6      ,         $"           !"         # $  $    
        $        ' ()* 
!"  )     > 5                     & # $    $     6  6  &    $"   # $     $ 6 $#  N 1 :1    #    
&"  "  ,,    $             $        $     &"   $"   ,,    $    &      $         N 1        $
    0       $"   1 0              &  $       $"          :1 1  


  3    $      3+ (                                               

C   1    $    0 $&     ,,    $         $      6            *$    ,    0   $   $    ' ()*  $     $ 
    $         $ 0        !"    2  ,   &    0    6   ,          $   6          $"      1   $ 

  


                        %    


   ' ()* 1     ';GC    6   $         $"    $ 0    



!      "      1  "       
!"  ,10   " <  10    0        "          &      $   10    0   $     "      $    $   $        
        ,10   "      $"    "       !"             $"  & # 1    $  01          #   1,           $   
 # $   E    ,10   "          $      $     &      6     &"  &    0  $"      ,   $     $"  ,10   "  
            !"        ,   $      $      ,            $"          1  $          $"    ()*  ,  $    E   $"  1 "  $" 
         $     10    ,$       $       6  #  "       !"       $      0             $    # 01$    
  $    $ 6  # 0   ,     $       $  10    ,$    E &"       ,         $    6  &        $    

'(-   4  1   $"  $               ,        $"  &     "      &"  "    $"  $    $      $   
1       ()*     1  $     +  &     $    & $" $"  $         $     , # & $" $"  &       1  
   '(-   4   A & 6  E # 1     $            $   $" $  "                " 1   0            
    :1 6    $ 

' ()* ,10   " <  10    0     "         ' ()*       ,    $ & $" '(-   4  H' 00   ( "       $
-  ,    I     $ 6  $  ,10   " <  10    0   =          $              $              $"  ,  $     E
,            $  '(-   4     "$$, >>D ,  D 00      > 


        #       &                           

!         4                     

!         4                   
!"   ,     1    2,     " & $      $    ,10> 10             # / --      $  ,,    $     !R 00  
&    0  1        1  $  $      $ 
   @,   !R 00   / B        
   @,     & / B        
   C   $        $  $        0#  10  $$    $"       &    / B      $  $"     6    ? $  $" $ $"     1  
0      "  6     0#       $      $"    ,  ,     $  ,  $         $"    / --        $   / B     &             H*M 
 -10> 10  C   $      I 
<iq to='pubsub.localhost'
        type='set'
        id='create1'>
  <pubsub xmlns='http://jabber.org/protocol/pubsub'>
    <create/>
  </pubsub>
</iq>
   *  $"  -10> 10  "               $ #     $  E $"     6   &       &   & $" $"       &    / B

      ,10> 10      "  $ 
   )     $  $           ,10> 10          &"  " $"       $        $ &  $ $   "       ?   *   !"     6   &    0 
 1$   $     #     $    $"  ?   *     0 "       $"       $ 



 $  F  
<iq from='pubsub.localhost'
        to='admin@localhost/tkabber'
        id='create1'
        type='result'>
  <pubsub xmlns='http://jabber.org/protocol/pubsub'>
    <create node='home/localhost/admin/272954279'/>
  </pubsub>
</iq>
!"     $       O"   >     "  $>     > 9 83  98O     ,     $    $"     1$   $     #         $  
    $          $"  ,10> 10      
=      &E    " $        $      ,10   "   $  $"       E           &    0     $ $           $  $" $    
 10    0   $  $"       0      $"   $   ,10    $    

        '                       
)      $      10    0  $     "      $    $   $     $                ,10    $             $  $"    6  
 "       *  / -->' 00   $   E # 1      10    0  $      6        

!         4                     

!         4                   
!"       $          $"       &    / B  $  F  $  $"     6   

<iq to='pubsub.localhost'
        type='set'
        id='subscribe1'>
  <pubsub xmlns='http://jabber.org/protocol/pubsub'>
    <subscribe node='home/localhost/admin/272954279'
        jid='admin@localhost'/>
  </pubsub>
</iq>
!"  ?   *  O"   >     "  $>     > 9 83  98O    $"      $           ,  6  1  #     $   ,10> 10
     
*  $"   10    ,$        1      1   $"     6   &       &   & $" $"       &    / B  $  F  
<iq from='pubsub.localhost'
        to='admin@localhost/tkabber'
        id='subscribe1'
        type='result'/>



        '                        (           
-10   "     $         ,10   " <  10    0           :1 6    $ $                         "        
          ()* $         # 

!   !     4                     

!   !     4                   
N 1     ,10   "     $   $" $    $     $"    # , #     # 1 &  $ & $"      2  ,   $"       &   
/ B  $  F  
<iq to='pubsub.localhost'
        type='set'
        id='publish1'>
  <pubsub xmlns='http://jabber.org/protocol/pubsub'>
    <publish node='home/localhost/admin/272954279'>
      <item>
       <news xmlns="http://www.erlang-projects.org/">
        <title>News Title</title>
        <body>News Body</body>
       </news>
      </item>
    </publish>
  </pubsub>
</iq>

!"     $  $    $"   $   $           6  $    0 $&      6  6    ,,    $         $    $"  $   E $" 
   $  $    $"   $   $   &    0    , 6 $ / B      $E $" $       6  $   $             $ 6   ,,    $   
     $ 0# ' ()*       $   E            # 

*  $"  ,10    $        1     1  E $"     6   &       &   
<iq from='pubsub.localhost'
        to='admin@localhost/tkabber'
        id='publish1'
        type='result'/>

!"   10    0        $ &         6  $"       &    / B         
<message from='pubsub.localhost'
         to='admin@localhost'>
  <x xmlns='http://jabber.org/protocol/pubsub#event'>
    <items node='home/localhost/admin/272954279'>
      <item>
        <news xmlns='http://www.erlang-projects.org/'>
          <title>News Title</title>
          <body>News Body</body>
        </news>
      </item>
    </items>
  </x>



</message>


    $                                                 


!   #     4                     


!   #     4                   


    )                                            *  
+                 %       

!   %     4                     

!   %     4                   


!     (     5                                                  
        
*  $"      $   E &  &     2,     " & $              $      ,,    $    $"  1 " $"  ' ()* ,  $      + 
&    1      / --      $ $       6  $"         E 01$   # / --    ,    $  ,,    $      1      $" 
D 0 



$   ,        

#     (                       "              

#                       "      

$       ,                 %       - '                  
              

$       ,                         - ,         !"##        
    %    -           .         
B 1  " D 6  & $" $"  -Dsmack.debugEnabled=true  ,$     =    2  ,   

java -Dsmack.debugEnabled=true
org.openadaptor.adaptor.im.JabberTest

) ' 6  &    &     ,   $" $  " & $"  / B $      0 $&    $"  / --      $     $"     6    7  
=  1      



)          /  

%     6      
   #    $"  ,     ,     $ &    0 "    ' ()*       $1           #                    $ ,  D  $  
)$ $"  0            #        E  $  ,,     $" $ $"              @,   7 1    ()*E   &     $    
       (7G H( $  ,     7  6   G1 I "                 $  @,   7 1          &             
        ) 6!  =         " 7              2344       



,                 $  ,              $       # $  E     ,      #   & $"   ' ((    ,,    $          6       ' ((
 ,,    $        6    ,  ,     0      ,      $     ,$  $"            ,     1          &        & 
$" 1 "$ $" $ $"  $    "        $  ,1 "   ,        @,   7 1       1$     !"      " & ' ()*    0    

!"     1$         & ,             1  #  1  $         "$  1$ $"  0 2E &"  "        $"    $" $     
' ()*         $       $   ,     1       , $ $     ' ()*    &          "$   &     # 1     $ #  $
     $ #      C; @  

' ()*         1  :1  $"     $     1 0        ,     6     $1    +                 $         $ $ 
     $"   @,   7 1    ()*      0  E   1 $ $      $          0    !     $" $E &      1     $"  ,  6  
(     >@!- H@,   !      $    -  $    I $  "     # &"  " "   0               ,,    " $    6   ,
     0     1 $ $      $  # $   


%     7      

!"   6      ' ()* ,  $                 1     $"  %       -10    B       6         
=    1     $  01$           ,    $  $" $     ,  $    ' ()*E &      1     $"                   
     @,     ,$      $  01$      @,  )  ,$           
     7     H' 6  / --   0      I  !@;@  +" $         .
     (D 00       $  01$      %-B         H6        I
     ' ()*       %-B         H6        I

% !   8                  "        


)        /       

% !           /"   9 * 
,           , S

  ,  $ D 6  1$   ; $ S

  ,  $     D 6    $&          ,    $        S
  ,  $     D 6    $&          / --C     $   S
  ,  $     D 6    $&          / --(2  ,$   S
  ,  $     D 6    $&          -    $C     $  S
  ,  $     D 6    $&             $   TS



>TT
 T ;1 , / --         $           # $    1$
 T 
 T   1$"                 
 T>
,10          '()*;1 , U

    ,  6 $  / --C     $    Q      $   S
    ,  6 $  -    $=  $          =  $  S
    ,  6 $  -    $C     $          C     $  S

    >TT
     T C   $ 1 $       '()*;1 , 
     T>
    ,10    '()*;1 ,HI U
    V

    >TT
     T   $1    $"    2$  6    0              $"   " $  !"    $"        &    0    
     T H  $   $1  I 1 $                 6    0   
     T
     T    $1   $"    2$         
     T>
    ,10              2$       HI U
          $1   H       I       C     $     2$   1 $HIS
    V


    >>              $   
    ,  6 $  6      $C     $   HI U
>> C   $          $    $  $"        ' ()*    6  
   HQ      $    WW  1   XX YQ      $      C     $  HII
    U
$ # U



    Q      $    W   & / --C     $   HP  9      PIS
    7# $    1$ ,   $  HPC     $   $       "  $PIS
V
  $ " H/ --(2  ,$     I U
    7# $    1$ ,   $  HP=      $        $ $  $"     6    P L     $       HIIS
V
    V

   HYQ      $      )1$"  $   $  HII
    U
$ #
    U
Q      $         HP     PE P     PIS
7# $    1$ ,   $  HP)1$"  $   $   1         PIS
    V
  $ " H/ --(2  ,$     I
    U
7# $    1$ ,   $  HP=      $        $     6    P L     $       HIIS
    V
    V
    V


    >> ( $ # ,   $
    ,10    6     1 HI U
  $C     $   HIS

       =  $   W   & -    $!#, =  $  H             IS
       C     $   W Q      $        $ -    $C     $  H       =  $  IS

&"    H$ 1 I U

    >> +  $     $"    2$           # 1         1  
                    W   2$       HIS
    >> -   $ $"             $"         



    7# $    1$ ,   $  H        $ / BHIIS
V

    V
V

% !           &    9 * 
,           , S

>> 5   $"  '()*;1 ,      
      '()*!  $ U

    ,10     $ $   6        H7$          Z[IU
'()*;1 , D   S
D    W   & '()*;1 ,HIS
D     1 HIS
    V
V


)        /       

% !        $            
# J-EAI Example:
# This example send an XML file to a Jabber user
#              Start               this              connector         with:         java
org.openadaptor.adaptor.RunAdaptor example2.props A


#
# Components:
#
A.Component1.Name                                       = C1
A.Component2.Name                                       = C2


#
# Component Linking:



#
A.C1.LinkTo1                                            = C2


#
# C1: FileSource - reads in sample three fields delimited file
#
A.C1.ClassName                                                                                   =
org.openadaptor.adaptor.standard.FileSource
A.C1.DOStringReader                                                                         =
org.openadaptor.dostrings.DelimitedStringReader
A.C1.InputFileName                                  = example2.txt
# We expect three fields:
A.C1.NumAttributes                                  = 3
# ASCII value of the comma field delimiter
A.C1.FieldDelimiter                                 = 44


#
# C2: JabberMessageSink - sends an XMPP message
#
A.C2.ClassName                                                                                   =
org.openadaptor.adaptor.im.JabberMessageSink
A.C2.DOStringWriter                                                                         =
org.openadaptor.dostrings.XMLStringWriter
A.C2.WriteEmptyAttributes                             = true
A.C2.WriteEmptyObjects                                = false
A.C2.WriteEmptyAsSingletons                           = true
A.C2.DocumentTagName                                  = message
A.C2.ElideSingletonRootObjectTag                      = yes


#   The   username   and   password   must   already   exist   in   the   J-EAI
server. No automatic registration is performed
A.C2.To                                          = user@localhost
A.C2.Username                                    = admin
A.C2.Password                                    = nimda
A.C2.Host                                        = 127.0.0.1



A.C2.MessageType                                 = normal
A.C2.Subject                                     = Example 2


% !        $        $ 
2004-03-01,10:32:12,Mickaël Rémond
2004-07-09,11:02:15,Thierry Mallard
2004-08-12,18:12:59,Alexey Shchepin


)        /       
!"                  $ 2$      1       $"    2  ,       $"          $"      1         2  ,     


)   $    /      $

% ! #           , "          
# J-EAI Example:
# This example use data coming from an XMPP server as a "source"
# component for an adaptor
# Normally use a FileSink to store the result on disk
#   As   no   file   name   is   specified,   the   result   are   dump   on   the
console.
#            Start              this              connector                 with:                 java
org.openadaptor.adaptor.RunAdaptor JabberSource1.props A


# 
# Logging:
#
A.Logging.LogSetting1                               = INFO 
A.Logging.LoggingTimeInfo                           = false
A.Logging.LoggingThreadInfo                         = false
A.Logging.LoggingPackageInfo = false


#
# Components:



#
A.Controller.Name                                                                             =
Controller
A.Component1.Name                                       = C1
A.Component2.Name                                       = C2


#
# Component Linking:
#
A.C1.LinkTo1                                            = C2


#
# C1: FileSource - reads in sample trade details
#
A.C1.ClassName                                          =
org.openadaptor.adaptor.im.JabberSource
A.C1.Host                                        = localhost
A.C1.Username                                           = admin
A.C1.Password                                           = nimda


#
#   This   defines   that   C1   should   use   a   Delimited   String   Reader   to
parse
# the file into DataObjects
#


A.C1.DOStringReader                                                                          =
org.openadaptor.dostrings.DelimitedStringReader


#
#  This  defines  that  Delimited  String  Reader  should  expect  comma
sperated
#   fields,   and   to   automatically   create   DataObjects   with   six



attributes, it
# will therefore expect to read six fields from the file.
#
A.C1.NumAttributes  = 1
A.C1.FieldDelimiter = 44


#
# C2: FileSink
#
A.C2.ClassName = org.openadaptor.adaptor.standard.FileSink
A.C2.DOStringWriter                                                                  =
org.openadaptor.dostrings.DelimitedStringWriter
A.C2.NumAttributes = 1
A.C2.FieldDelimiter = 32


)   )    /      )


% ! %           , "          
# J-EAI Example:
# This example use data coming from an XMPP server as a "source"
# component for an adaptor
# Use a FileSink to store the result on disk
#          Start         this         connector                 with:              java
org.openadaptor.adaptor.RunAdaptor JabberSource2.props A
# Can work with JabberMessageSink5.props


# 
# Logging:
#
A.Logging.LogSetting1                      = INFO 
A.Logging.LoggingTimeInfo                  = false
A.Logging.LoggingThreadInfo                = false
A.Logging.LoggingPackageInfo = false



#
# Components:
#
A.Controller.Name                                                                             =
Controller
A.Component1.Name                                       = C1
A.Component2.Name                                       = C2


#
# Component Linking:
#
A.C1.LinkTo1                                            = C2


#
# C1: FileSource - reads in sample trade details
#
A.C1.ClassName                                          =
org.openadaptor.adaptor.im.JabberSource
A.C1.Host                                          = 127.0.0.1 
A.C1.Username                                           = app1 
A.C1.Password                                           = app1 


#
# C2: FileSink
#
A.C2.ClassName = org.openadaptor.adaptor.standard.FileSink
A.C2.DOStringWriter                                                                          =
org.openadaptor.dostrings.FixedWidthStringWriter
A.C2.OutputFileName     = tmpfile.out
A.C2.AttName1                           = Date
A.C2.AttName2                           = Hour
A.C2.AttName3                           = Name



A.C2.FieldWidth1                        = 10
A.C2.FieldWidth2                        = 10
A.C2.FieldWidth3                        = 30


% ! %                  ,  )%      
# J-EAI Example:
# This example send a message for each record in the flat text
file.
# The record is send an Adaptor DataObject
#          Start           this          connector            with:            java
org.openadaptor.adaptor.RunAdaptor JabberMessageSink5.props A


A.Logging.LogSetting1 = INFO


#
# Components:
#
A.Component1.Name                                = C1
A.Component2.Name                                = C2


#
# Component Linking:
#
A.C1.LinkTo1                                     = C2


#
# C1: Benchmark source  - Generate continuous dataset
#
A.C1.ClassName            = org.openadaptor.adaptor.standard.FileSource


#
#   This   defines   that   C1   should   use   a   Delimited   String   Reader   to
parse
# the file into DataObjects



#


A.C1.DOStringReader                                                           =
org.openadaptor.dostrings.DelimitedStringReader


#
# This defines that C1 should open and read in.txt.
#


A.C1.InputFileName  = example2.txt


#
#  This  defines  that  Delimited  String  Reader  should  expect  comma
sperated
#   fields,   and   to   automatically   create   DataObjects   with   six
attributes, it
# will therefore expect to read six fields from the file.
#


A.C1.NumAttributes  = 3
A.C1.FieldDelimiter = 44
A.C1.Type1 = JEAI
A.C1.JEAI.AttName1 = Date
A.C1.JEAI.AttName2 = Hour
A.C1.JEAI.AttName3 = Name


#
# C2: JabberSink -  
#
A.C2.ClassName                                 =
org.openadaptor.adaptor.im.JabberMessageSink


#   The   username   and   password   must   already   exist   in   the   Jabber
server. No automatic registration is performed
A.C2.To                                                  = app1@localhost



A.C2.Username           = app2 
A.C2.Password           = app2
A.C2.Host               = 127.0.0.1 
A.C2.MessageType    = chat 
A.C2.Subject        = Test