<p dir="ltr">Thanks for the answer Geoffrey. I know he has a point there hehe, I've been there before comming here. I also face lots of people asking thing without give a minimal search about the topic at another forum that i'm very active. I just expressed myself wrong. The main doubt werent about the tool itself, it was the tool inside the drools that i weren't understanding. But now makws sense, since the examples works with data provided by the xml at the data folder. </p>
<p dir="ltr">Thanks for your time</p>
<div class="gmail_quote">Em 31/01/2013 06:05, "Geoffrey De Smet" <<a href="mailto:ge0ffrey.spam@gmail.com">ge0ffrey.spam@gmail.com</a>> escreveu:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
It's not related to Planner performance, it's for serializating a
Solution dataset from/to XML with xstream (and Planner doesn't care
how you do that).<br>
If you're getting your data another way (say from a database with
JPA or JDBC), then you can delete all the xstream annotations in the
example domain models.<br>
<br>
As far how it affects xstream's serialization performance, ask on
the xstream mailing list. I don't think it does.<br>
You can also use JAXB instead of xstream, if you're coming from/to
XML.<br>
(Internally Planner uses xstream too to parse the solver
configuration file, but you needed care about that)<br>
<br>
More info (Michael has a point - first link on google :)<br>
<a href="http://xstream.codehaus.org/annotations-tutorial.html" target="_blank">http://xstream.codehaus.org/annotations-tutorial.html</a><br>
Explains how XStreamAlias replaces
"<com.thoughtworks.xstream.RendezvousMessage>" with
"<message>"<br>
<br>
<div>Op 30-01-13 21:49, André Fróes schreef:<br>
</div>
<blockquote type="cite">
<p dir="ltr">I wont answer about what you typed, because I always
perform a good search over the interbet and documentation, as I
did before asking here. If you missunderstood the question, ask
for something more well explained, that I would happily present
you with another explanation. I'm no beginner at this (java),
and now I'm trying to learn about drools. Since drools uses xml
configuration but at the documentation, while completing the
examples, I didn't saw it be mentioned, at least not strictly,
and the planner also works without it mentioned at java objects.
I want to know if it will enhance my application performance,
since it enable easy convertion to/from xml. I hope that now my
question's easier to understand.</p>
<p dir="ltr">My best regards.<br>
</p>
<div class="gmail_quote">Em 30/01/2013 17:50, "Michael Anstis"
<<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a>>
escreveu:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This day and age, when most people are presented with
information with which they are unfamiliar they tend to turn,
almost without exception, to the internet.<br>
<br>
I, being like most people, typed "@XStreamAlias" into my
favorite serach engine and was presented with an abundance of
answers.<br>
<br>
<div class="gmail_quote">On 30 January 2013 19:18, André Fróes
<span dir="ltr"><<a href="mailto:arfmoraes@gmail.com" target="_blank">arfmoraes@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">What is this @XStreamAlias(...) that i see
in mostly of example pojos? I did my pojos without it
and worked the same way. Is it for performance?</div>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br>
</blockquote>
</div>
<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br>
</blockquote>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
rules-users mailing list
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div>