How to deploy Drools Flow and rules by my web application

后端 未结 1 1449
不知归路
不知归路 2021-02-11 02:53

I\'ve just now started my new project. My project manager said that Drools is the new technology and we will include drools flow and rules and will integrate our web application

1条回答
  •  隐瞒了意图╮
    2021-02-11 03:53

    It depends on what technologies you use. If, for example, you use Java+Maven+Spring, you first need to include Drools dependencies:

        
            org.drools
            drools-core
            ${drools.version}
        
        
            org.drools
            drools-compiler
            ${drools.version}
        
        
            org.drools
            drools-spring
            ${drools.version}
        
    

    Define the application context:

    
    
    
    
        
            
                
            
        
    
        
    
    
    

    Then you can inject ksession1 as a bean.

    0 讨论(0)
提交回复
热议问题