I think you might misunderstand.
A DRL file contains text defining rules. Each DRL file is assigned a package
name (much like Java).
The DRL file is loaded, parsed (PackageBuilder) and converted into a Package
instance. Packages are added to RuleBases from which WorkingMemory can be
obtained for rule execution.
There is no "pkg" file - the Java Package can be converted into a stream
using Java's ObjectOutputStream.
Have a look at "1.6. The Drools Rule Engine - 1.6.1. Overview" in the
excellent documentation.
_____
From: rules-users-bounces(a)lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Drool_Beginner
Sent: 03 October 2007 08:53
To: rules-users(a)lists.jboss.org
Subject: [rules-users] Regarding Package .Pkg
Dear All, Where I can get more information about .pkg, Since I have got
information that .drl file get converted in to pkg(Package), which is
writing .drl information into Stream. Please send me some information as our
requirement is some what to take benifit from .pkg. Thanks in Advance
Regards, Abhishek
_____
View this message in context: Regarding
<
http://www.nabble.com/Regarding-Package-.Pkg-tf4560333.html#a13014401>
Package .Pkg
Sent from the drools - user mailing
<
http://www.nabble.com/drools---user-f11823.html> list archive at
Nabble.com.