You can upload a JAR containing a POJO model using "New->Upload POJO model"
You are unable to use the declarative approach to define classes from Java
(although you can instantiate and consume declared classes through Java).
You can obviously use DRL to declare your model and build a KnowledgeBas
Thanks for that. I have had some success with this approach.
Is it possible to actually upload a file to Guvnor with these declarations?
I can't see any way to do this.
It would be impractical to enter each model entity one at a time through the
Guvnor GUI.
manstis wrote:
>
> The "declare" key
The "declare" keyword is used to declaratively define a model rather than
use a JAR file containing the same.
It is documented in Experts' documentation "4.7 Type Declaration".
With kind regards,
Mike
On 29 April 2011 08:25, azahra wrote:
> I am trying to use Guvnor with an existing model. I
I am trying to use Guvnor with an existing model. I am having class
dependency issues even though I have created a jar with dependencies.
I noticed that the demo package seems to have its model declared in some
non-java way like so:
declare LoanApplication
amount: Integer
approved: Boolean
...
end