• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!