Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

rules engine in java

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
requirement: to alter the bussiness logic based on the service level of subscriber(Gold, Silver, Premium). eg..gold user 10 services, silver user 5 services and premium user 2 services

I have looked at Drools rule engine but it stores all the rule info in xml/drl files..we intend on runing the appl on weblogic multiple/clustered servers. I am wondering that if we modify the rules at runtime all servers instances will not pick up the changes from the xml/drl files..Does anyone has a solution for it or am i just getting paranoid about nothing..

Appreciate ur help
Thanks
Inder
 
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I haven’t used any rule engine yet but this is my guess how they factions.

When you start your application, all rules that you defined in rule engine will go in application scope. And for all requests it will take rule from the application scope. If your rule engine support change in rules without restarting application server, and your clustering solution replicate change in application scope to all server on real-time basis, then and then only your life will be easy.

Hope you got what I am trying to say.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic