Hi,

I developed a personalization system based on JESS. 

I have two main EJBs:

  o The first one manages the rules that are stored on a relational database. 
The rules are stored on groups using the Jess native format. It improves the 
performance when they are loaded into the engine. The model definitions 
(templates) are stored on the database, and they are managed by this EJB 
because the groups of rules are linked with the models that they used to be 
defined. This EJB is a stateless session EJB because it needn't state.

  o The second one is a wrapper to JESS. This one uses the first one to access 
to the model definitions and to the group of rules. Only a group can be 
referred to be loaded into the engine. The manager EJB knows the models which 
have a relationships with each group of rules, so this EJB loads all needed 
models before a group of rules. One model is loaded only once.
There are two versions of this second EJB:

       - The first version is a statefull session EJB, and it is used when 
there aren't many common information that has to be loaded into the engine when 
it is going to be used. The performance isn't low if the session is not short. 

       - The second version is a stateless session EJB. This one can load a lot 
of common information (facts, template definitions, group of rules)before it is 
requested by an user. It improves the performance when the session of a user is 
short.

Both can load information (facts, template definitions and group of rules) in 
their initializations, it is specified on the deployment descriptor.

We developed a web tool to manage the models (we call them AIMs. It means 
Application Information Model). These models are specified in XML, we defined a 
DTD. And each AIM can have a lot of languages.

We developed a web tool to define and manage the rules. This web tool is based 
on Struts framework of Jakarta. It uses the first EJB to manage the rules and 
to manage the models. Using this tool everyone can create a new group and add 
all the AIMs that she wants to use. When the rules are going to be created, the 
web tool gives the possible choices to the user from the linked AIMs.

All this development has been done working for my current company: Germinus 
Solutions. There are manuals and if you want them I should ask them for them.

Feel free to ask me what it isn't clear or whatever question you have ;-)

  Cisar Colado
  Germinus Solutions
  [EMAIL PROTECTED]



Mensaje citado por [EMAIL PROTECTED]:

> Hi folks,
> 
> I'm now writing Part VII of the Jess book -- the final part. It's
> about enterprise-level applications and will show Jess being used in a
> J2EE environment (part VI could be considered J2EE too, but its just
> Jess with servlets and JSPs in Tomcat.)
> 
> So I'm hereby soliciting Jess + EJB stories for an architectural
> overview.  If you've built such a system, please let me know what you
> tried, what you did, and what worked or didn't work for you. Any input
> welcome; thanks in advance.
> 
> ---------------------------------------------------------
> Ernest Friedman-Hill  
> Distributed Systems Research        Phone: (925) 294-2154
> Sandia National Labs                FAX:   (925) 294-2234
> Org. 8920, MS 9012                  [EMAIL PROTECTED]
> PO Box 969                  http://herzberg.ca.sandia.gov
> Livermore, CA 94550
> 
> --------------------------------------------------------------------
> To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
> in the BODY of a message to [EMAIL PROTECTED], NOT to the list
> (use your own address!) List problems? Notify [EMAIL PROTECTED]
> --------------------------------------------------------------------
> 
> 

-- 
Cisar Colado
Ingeniero de Telecomunicaciones
Germinus Solutions


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to