Question

it seems to me that Jess is a way to change dynamically what we put inside a Java class, when I've face the java Reflection, surprisingly seems to me that have the same objective.

If this is true, when should I use one or other ?

Cheers,

Was it helpful?

Solution

Jess does include a traditional programming language with the ability to manipulate Java objects, But the main part of what Jess does is allow you to write declarative rules. This is a completely different programming paradigm. In a traditional imperative language you write code that tells the computer explicitly how to solve a problem. In a declarative language, on the other hand, you describe the problem, and the language itself figures out how to solve it. Because Jess itself is written in Java, it makes no sense to say that Jess is more or less powerful than Java itself: it's just a different approach to programming, and it makes solving certain classes of problems easier.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top