Spring 3 – Basic Example

Creating the Project Open Eclipse (Kepler) New -> Maven Project Simple Project Group Id: com.skills421.examples.spring Artifact Id: Spring3.2.6Example Finish pom.xml Person bean src/main/java com.skills421.examples.spring.model.Person ApplicationContext src/main/resources ApplicationContext.xml Main src/main/java com.skills421.examples.spring.Main Output

Spring 2.5.6 Basic Example

Creating the Project Open Eclipse (Kepler) New -> Maven Project Simple Project Group Id: com.skills421.examples.spring Artifact Id: Spring2.5.6Example Finish pom.xml Person bean src/main/java com.skills421.examples.spring.model.Person ApplicationContext src/main/resources ApplicationContext.xml Main src/main/java com.skills421.examples.spring.Main Output

Drools6.0 Basic Example

This post has been updated to the very latest Drools6.x - the new post can be found here: Drools6.x Basic Example Creating the Project Open Eclipse (Kepler) New -> Maven Project Simple Project Group Id: com.skills421.examples.drools Artifact Id: Drools6.0Example Finish pom.xml Rule Runner src/main/java com.skills421.examples.drools.controller.RuleRunner Person src/main/java com.skills421.examples.drools.model.Person Main src/main/java com.skills421.examples.drools.Main Rules src/main/resources test1.drl Output

Drools5.6 Basic Example

Creating the Project Open Eclipse (Kepler) New -> Maven Project Simple Project Group Id: com.skills421.examples.drools Artifact Id: Drools5.6Example Finish pom.xml Rule Runner src/main/java com.skills421.examples.drools.controller.RuleRunner Person src/main/java com.skills421.examples.drools.model.Person Main src/main/java com.skills421.examples.drools.Main Rules src/main/resources test1.drl Output

Drools5.4 Basic Example

Creating the Project Open Eclipse (Kepler) New -> Maven Project Simple Project Group Id: com.skills421.examples.drools Artifact Id: Drools5.4Example Finish pom.xml Rule Runner src/main/java com.skills421.examples.drools.controller.RuleRunner Person src/main/java com.skills421.examples.drools.model.Person Main src/main/java com.skills421.examples.drools.Main Rules src/main/resources test1.drl Output

Up ↑

%d bloggers like this: