[JBoss jBPM] - Should I use Drools?
by jjdepaul
Sorry, didn't know where else to post this message about using Drools... Please help me decide if Drools rules engine would work for us.
We are designing a system that will process multitude of events from various systems (with MQ and JMS on WebSphere server). These events represent shipment notifications with attributes such as clientID, location, package#, date, time, weight, etc - there are lots of events (about 100+ per minute). We need to scrutinize each event that comes to us and look for potential subscribers - that is, parties that want to be notified of an event given a set of conditions they define. Customer can define multiple complex rules: i.e. notify me when my containers reach location SFC or STL for a given package# range and date combination... etc. The system needs to compare each event to these customer-defined rules to see if a Match is found. I believe the result of comparing Rules to Facts should result in either ONE or ZERO matches ...
If a match DOES exist, then do something: return True, fire another Event, OR invoke jBPM process flow (ideally).
Does it sound like Drools could do this type of pattern matching for us - and if so, could it do it efficiently?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008452#4008452
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008452
19 years, 2 months
[JBoss Portal] - Re: Upgrade from 2.4.1 SP1 to 2.6 - Big Effort?
by sjewett
Sohil -
I downloaded and extracted 2.6 Alpha1 as well as JBoss AS 4.0.4 GA. I copied the jboss-portal.sar from the 2.6 Alpha1 dir into the deploy dir of the app server. In the app server deploy dir, I then edited the connection-URL for the PortalDS in portal-hsqldb-ds.xml so that it would point to the data dir of our 2.4.1 instance.
<connection-url>jdbc:hsqldb:C:${/}jboss-portal-2.4.1${/}server${/}default${/}data${/}portal${/}hypersonic${/}database</connection-url>
When I run the server and access the default page, I get a strange combo of the old and the new: The theme is from the 2.4.1 instance, but the text for the Greetings! portlet is from 2.6. Everything is mixed. And there is a message in the Navigation portlet saying: anonymous wrote : Object not found portal.NavigationPortlet
What I am aiming for is everything to be in 2.6, but I want the directories and files in CMS to reflect the things that we created and imported during our 2.4.1 incarnation. Is this possible without re-creating and re-importing the files to the new database?
Thank you - your help is much appreciated.
-Steve
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008451#4008451
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008451
19 years, 2 months
[JNDI/Naming/Network] - Re: JBoss 4.0 JNDI from standalone program
by pepeanto
Hello:
I am developing an application using JBoss 4.0.5. JBoss is running in cluster and is offering support for ejb3.
A test client is supposed to contact the ejb through HAJNDI. It was working OK using JNDI, but when trying to contact the ejb using HAJNDI I had exactly the same problem as you do.
Luckily I was able to solve it adding some libraries to my client´s classpath.
I give you the whole list of libraries I was using:
concurrent.jar
jboss.jar
jboss-annotations-ejb3.jar
jboss-aop-jdk50.jar
jboss-aspect-library-jdk50.jar
jboss-common.jar
jboss-ejb3.jar
jboss-ejb3x.jar
jboss-j2ee.jar
jboss-remoting.jar
jbosssx.jar
jboss-transaction.jar
jnpserver.jar
junit.jar
The ones I was missing (and caused the hajndi problem) were:
jbossha.jar
jboss-serialization.jar.
I hope that can help.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008449#4008449
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008449
19 years, 2 months
[JBoss Seam] - Problem with Backing Bean method being called multi-times
by elikyip
Hi,
I'm a newbie in seam, jsf, and all that jazz...
I've created a simple application and it's running fine with one exception.
The method in my backing bean that returns a list of items to display is being
called ONCE per LOOP in my jstl <c:forEach> loop. This is very inefficient as this
method is hitting the database every loop.
1) My question is why is that method being called every loop iteration. Shouldn't it be
called only once in the loop?
2) Am I doing something that I should not? If yes, can anyone tell me the right
way of doing this.
Any suggestions is highly appreciated !!
Backing Bean snippets...
@Name("FooBean");
@Scope(ScopeType.EVENT)
public class FooBean {
...
public List getFooList() {
// This method retrieves data from database and return it.
}
...
}
xhtml JSTL snippets:
<c:forEach items="${FooBean.fooList}" var="foo">
<!-- Display them -->
</c:forEach>
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008442#4008442
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008442
19 years, 2 months