<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Steven,<br>
<br>
thank you very much for the code example, I'll take a deeper look
at it. Are you using Fusion too? <br>
<br>
For our Drools project we need minimal logic for the application
itself. We just need a database of rules and need to send streams
of events to Fusion. When rules are matched, a message should be
send to a pub/sub channel. This is all the logic we need for our
application. <br>
<br>
We are currently not using any "classic" Java framework (like
Spring etc.), but we are using a specialized framework for
distributed realtime computation (Storm). I have no experience
with the classic application frameworks and thats my biggest
problem atm, because it's hard for me to find a good way to start
with Drools without any EE application background. Your example
seems to be a good starting point for this, so thank you again :)<br>
<br>
Best regards,<br>
Thomas<br>
<br>
Am 1/18/2013 11:44 AM, schrieb Stephen Masters:<br>
</div>
<blockquote cite="mid:C2C38F90-51E1-4000-B976-D46627C8D029@me.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
Hi Thomas,
<div><br>
</div>
<div>I don't know what frameworks you were thinking of using, but
this might be a reasonable basic example of a Java web
application with Drools components:</div>
<div><a moz-do-not-send="true"
href="https://github.com/gratiartis/sctrcd-fx-web">https://github.com/gratiartis/sctrcd-fx-web</a></div>
<div><br>
</div>
<div>It's something I have been knocking up as a minimal example
project. As such, it's a work in progress, and the Drools
functionality is *very* minimal. I'm just at the stage where I'm
looking to make that part of the projects a little bit richer.</div>
<div><br>
</div>
<div>It's built on Maven and the Spring Framework. As such you
should be able to cd into the root of the project and run "mvm
jetty:run" to run it up in a web container.</div>
<div><br>
</div>
<div>My tip for getting your project up and running initially
would be to ignore JBoss AS for now, and run your project up on
Tomcat. It should reduce the complexity of your deployment, so
you can concentrate on your application instead. At a later
stage, you may find it worth moving to JBoss AS as your
application server, in which case your app would be running up
inside Tomcat anyway, so if your app works under Tomcat, there
should be little or no change to migrate to JBoss AS.</div>
<div><br>
</div>
<div>For your local dev purposes, this has the added benefit that
maven can spawn a Tomcat container on the fly, so you don;t need
to worry too much about server config.</div>
<div><br>
</div>
<div>Steve</div>
<div><br>
</div>
<div><br>
<div>
<div>On 17 Jan 2013, at 10:59, Thomas Söhngen <<a
moz-do-not-send="true"
href="mailto:thomas.soehngen@stockpulse.de">thomas.soehngen@stockpulse.de</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<div text="#000000" bgcolor="#FFFFFF"> Hi,<br>
I am currently evaluating Drools for our needs, from the
features it seems to be a perfect fit. I am a Java
developer, but unfortunately I have no background in
enterprise application servers and I am currently stuck
trying to setup a testing environment. A short summary of
our current setup and how we want to use Drools:
<ul>
<li>We are using <a moz-do-not-send="true"
href="https://github.com/nathanmarz/storm"
target="_top" rel="nofollow" link="external">Storm</a>
to accumulate a large number of messages from around
the web</li>
<li>From these we create streams of message metadata
(like sentiment) for different topics (like stocks) </li>
<li>We have additional streams like stock-tickers</li>
<li>We have a knowledge-base of additional facts about
companies (like market cap.) in MySQL</li>
<li>We want users to be able to define alerts triggered
by rules based on these streams and facts</li>
</ul>
Storm is perfect for the data pre-processing and
aggregation, Drools would fit in to allow outsiders to
define rules and evaluate them on the streams in realtime.
My idea is, to run Drools Fusion as a stand-alone
application on a dedicated server or cluster of servers.
Drools Guvnor would be used as an interface for the rules.
The rules would trigger new events, which would be sent to
a subscription channel (like Redis Pub/Sub). <br>
<br>
As mentioned above, I have no experience in setting up and
running Java application servers. The Drools documentation
seems to be very elaborate, but assume that you know how
to start such a service from scratch, which I don't. I
know Java, but not at an enterprise level, so all the
Beans, wars, etc. are new to me. I setup a JBoss AS, which
was a pretty easy thing to do, but I am clueless about how
to really "run" Drools on it and what to do next. <br>
<br>
So what would be the next steps to get a server, where I
can send messages to? Are there any tutorials or
guidelines which describe how to built such a thing from
the very beginning? Any help or suggestion would be very
appreciated! <br>
<br>
Regards & thanks in advance, <br>
Thomas Söhngen </div>
_______________________________________________<br>
rules-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Thomas Söhngen
Office: +49 221 294 975 20
Email: <a class="moz-txt-link-abbreviated" href="mailto:thomas.soehngen@stockpulse.de">thomas.soehngen@stockpulse.de</a>
<a class="moz-txt-link-abbreviated" href="http://www.stockpulse.de">www.stockpulse.de</a>
<a class="moz-txt-link-abbreviated" href="http://www.facebook.com/stockpulse">www.facebook.com/stockpulse</a>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
StockPulse UG (haftungsbeschränkt)
Sitz der Gesellschaft: Köln
Amtsgericht: Köln (HRB 145359)
Vertretungsberechtige Geschäftsführer: Stefan Nann, Jonas Krauss
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
StockPulse UG (Limited Liability)
Registered Office: Cologne
District Court: Cologne HRB (145359)
Managing Director: Stefan Nann, Jonas Krauss
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</pre>
</body>
</html>