newCdiExampleProject

Added explicit check on @FactModel annotation presence
before augmenting class.
Only for educational purpose.

Removed duplicated file arquillian.xml
Commented arquillian.xml optional tags
Removed unused void constructor in org/jboss/as/quickstarts/cdi/drools/extension/FactMethod.java
Update uncorrect english grammar syntax in README.md ;-)

Slimming POM.xml and test class

Slimming pom.xml and test class

Blank spaces are removed from README.md

Removing return carridge for a better html view

Updated the new container configuration section

Added some comments to classes, methods, rule.
Extended description of README.md explaining better Drools and added references to more significant classes
Re-organized rules to having an example closer to real sistuations.
Added three tests to check results of adding and removing basket items.
Now there are three rules: Normal, Silver and Gold that defines three levels of discount.
It's a little bit complex, but it is more realistic and readable than the previous version.

Capitalized s of Selenium

Organized in different paragraphs

Deleted first row

modified READ.ME: The target product is BRMS
modified LineItemInjectionTarget .PMuir has suggested to augment a factmodel inside produce(CreationalContext<X> ctx) method. In produceMethod rsession is still null. I've moved this code inside postconstruct method. This guarantees a mapping one to one from factModel and its fact rapresentation in ksession. Deleted "*" char in wrong position.
modified DroolsExtension comments
modified RuleSessionManager: added correct access modfier, added comments
modified Changed the  name of FactMethod to FactMethodInterceptor
modified RuleSessionManager: used a generated serialVersionNumber, added comments
modified Manager set as private some fields. Simplified the production and injection of baskeItem.
modified OrderBuilder: comments added.
modified files of resources to be loaded into arquillian .war a  generated ar file

Simplified the expression "behind the JSF page, is made up of..."
Added emphasis on Test section
Corrected /s/taht/that

Added references to drools bom

Added bom references to drools

Added jboss-javaee-6.0-with-drools bom reference

Code formatted and cleaned up

Example part is been indented