<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 10/27/2011 12:15 AM, Michal Linhard wrote:
<blockquote cite="mid:4EA8866C.50208@redhat.com" type="cite">
<pre wrap="">On 10/26/2011 06:29 PM, Galder Zamarreño wrote:
</pre>
<blockquote type="cite">
<pre wrap="">First of all, what is the problem that the Hot Rod client has depending on core/ as it is? It's not clear from the JIRA.
</pre>
</blockquote>
<pre wrap="">Personally, what I don't like about the infinispan-core dependency is
that it makes you falsely think that you should keep the infinispan-core
version in sync on both sides.
But that's not true. You should be able to use infinispan-core as old as
the Hot rod protocol version allows even with the newest infinispan.
OTOH This problem will actually exist even with refactored packaging.
Actually, what I don't like is the fact that we say that this client is
e.g. infinispan 5.1.0.BETA2, but actually we should be saying that this
client supports hotrod v1 - infinispan version shouldn't bother us on
</pre>
</blockquote>
I like the JDBC comparison: when you connect to a database you are
not expected to:<br>
<ol>
<li>use exactly the same version of the client as the server</li>
<li>embed the server in the client</li>
</ol>
I just built an empty project with the infinispan-hotrod-client
dependency and it brings in the following:<br>
<br>
<tt> 224958 2011-10-21 14:13
WEB-INF/lib/jboss-marshalling-1.3.0.GA.jar<br>
96221 2011-10-21 14:13 WEB-INF/lib/commons-pool-1.5.4.jar<br>
7635 2011-10-21 14:13
WEB-INF/lib/rhq-pluginAnnotations-3.0.1.jar<br>
70928 2011-10-21 14:13 WEB-INF/lib/jandex-1.0.3.Final.jar<br>
149649 2011-10-25 11:10
WEB-INF/lib/infinispan-client-hotrod-5.1.0.BETA2.jar<br>
80929 2011-10-21 14:13
WEB-INF/lib/jboss-marshalling-river-1.3.0.GA.jar<br>
1760173 2011-10-21 14:12 WEB-INF/lib/jgroups-3.0.0.CR5.jar<br>
50251 2011-10-21 14:13
WEB-INF/lib/jboss-logging-3.0.0.GA.jar<br>
10899 2011-10-21 14:13
WEB-INF/lib/jboss-transaction-api-1.0.1.GA.jar<br>
1601837 2011-10-21 14:12
WEB-INF/lib/infinispan-core-5.1.0.BETA2.jar</tt><br>
<br>
For a grand total of just over 4MB. As Yoda would say, "size matters
not", but seeing pointless dependencies in there such as jgroups,
rhq-pluginAnnotations and jandex does make it look unpolished and
unprofessional.<br>
<br>
Tristan<br>
<br>
</body>
</html>