Help

Controls

PermLinkWikiLink

Built with Seam

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.

Forum: Seam Users Forum ListTopic List
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

2 Replies:
27. Aug 2008, 19:08 CET | Link

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.

08. Sep 2008, 13:03 CET | Link

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