Oracle Policy Automation - Drools의 Oracle Web Determination과 유사한 기능이 있습니까? Drools를 사용하여 어떻게이를 달성 할 수 있습니까?Drools를 사용하는 Oracle Policy Automation
0
A
답변
0
저는 Oracle Policy Automation과 Drools에서 일하고 있습니다. 내 관찰에서 OPA는 순수하게 라이센스가 필요합니다. 반면 Drools는 오픈 소스입니다. OPA에 비해 많은 것들이 부족합니다. 그러나 지금까지 나는 Drools와 아무런 문제가 없었습니다.
OPA의 Oracle Web Determinations 화면에서 Drools의 기능을 복제하는 기능은 없다고 생각합니다. Drools는 코딩을 기반으로하므로 코드 작성이 가능하다면 아무 것도 얻을 수 없습니다. JSP 페이지를 만들고, 내부 바인딩을 수행하고, 화면에서 데이터를 수집하고, 클래스 객체로 설정할 수 있습니다. 마지막으로 화면의 버튼을 누르면 화면 데이터가있는이 객체를 Drools 룰 엔진에 전달할 수 있습니다.
내 프로젝트에는 스크린이 필요하지 않으므로 클래스의 객체를 만들어 테스트합니다. 그런 다음 클래스 객체 속성에 데이터를 하드 코딩합니다. 아래 코드를 참조하십시오.
public static final void main(String[] args) {
try {
// load up the knowledge base
KieServices ks = KieServices.Factory.get();
KieContainer kContainer = ks.getKieClasspathContainer();
KieSession kSession = kContainer.newKieSession("ksession-process");
// start a new process instance
MainGlobal mainGlobal = MainRequestFactory.getMainRequest();
kSession.insert(mainGlobal);
System.out.println("======== START PROCESS ========");
} catch (Throwable t) {
t.printStackTrace();
}
}
MainGlobal
-은 제 수업입니다. MainRequestFactory.getMainRequest();
관련 문제
- 1. 플래시를 사용하는 Selenium Automation (.net)
- 2. Drools를 사용해야하는 이유는 무엇입니까?
- 3. Drools를 사용한 라우팅 질문
- 4. DROOLS를 사용하여 아이템 분류하기
- 5. OpenAM weblogic Policy Agent 설치
- 6. Selenium Automation
- 7. JasperReports automation
- 8. Drools를 사용하는 JBoss ESB 컨텐트 기반 라우팅의 기본 대상
- 9. Visual Studio 2012에서 Drools를 사용하는 동안 예외 발생
- 10. SELinux : Debian 6에서 selinux-default-policy (/etc/selinux/default/policy/policy.24)를 바꾸시겠습니까?
- 11. Drools를 사용하여이 복잡한 로직을 처리해야합니까?
- 12. facebook graph api policy
- 13. Aws CloudFront Malformed Policy
- 14. windows page file policy
- 15. Content-Security-Policy 오류?
- 16. facebook connect data policy
- 17. gevent-websocket이있는 Policy Server
- 18. WCF, wsHttpBinding 및 wsp : policy
- 19. Powershell and Automation
- 20. Silverlight Automation with Watin
- 21. Git Pull/Fetch Automation
- 22. C# office 2010 automation
- 23. Excel Automation in VS2010
- 24. .Net Build Automation
- 25. Word Automation to pdf
- 26. KoFax Automation with VBA
- 27. Objective-C : Automation
- 28. iTunes Application Loader - automation
- 29. Git Automation - Default Branches
- 30. Geb Automation Selenium 2.41.0
Drools는 프로덕션 규칙 시스템이며 X가 다른 규칙 기반 시스템이 아닌 한 "X와 유사한 기능"을 포함하지 않습니다. Drools는 Turing-complete이므로 Drools를 사용하여 프로그래밍 할 수있는 모든 것을 얻을 수 있습니다. 방법 : 컨설턴트를 고용하십시오. – laune