You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.
| Online: | 25 Members of 4546 |
| Forum: Seam Users |
26. Aug 2008, 15:16 CET | Link |
Hello seam users,
I use seam and JBoss Drools. The Drools rules are an important part of my business logic. They are called from EJBs in the JBoss application server. Normally I debug my rules in Eclipse with Debug As
--> Drools Application
. But how can I debug my rules under JBoss?
Best regards Martin
Do you want to test the .drl file? If not you can create a SeamTest class that injects your rules and the invoke the method that calls drools from there. Have you gotten my point yet? :-)
Best regards,
Joshua
Visit my blog.
I understand your point, but the major difficulty is, that I must test my rules in the correct environment (working memory). Many facts are at run-time produced and inserted into the working memory. I must debug my drools with my facts!
Best regards Martin