<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&ntilde;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>&nbsp;&nbsp; 224958&nbsp; 2011-10-21 14:13&nbsp;&nbsp;
      WEB-INF/lib/jboss-marshalling-1.3.0.GA.jar<br>
      &nbsp;&nbsp;&nbsp; 96221&nbsp; 2011-10-21 14:13&nbsp;&nbsp; WEB-INF/lib/commons-pool-1.5.4.jar<br>
      &nbsp;&nbsp;&nbsp;&nbsp; 7635&nbsp; 2011-10-21 14:13&nbsp;&nbsp;
      WEB-INF/lib/rhq-pluginAnnotations-3.0.1.jar<br>
      &nbsp;&nbsp;&nbsp; 70928&nbsp; 2011-10-21 14:13&nbsp;&nbsp; WEB-INF/lib/jandex-1.0.3.Final.jar<br>
      &nbsp;&nbsp; 149649&nbsp; 2011-10-25 11:10&nbsp;&nbsp;
      WEB-INF/lib/infinispan-client-hotrod-5.1.0.BETA2.jar<br>
      &nbsp;&nbsp;&nbsp; 80929&nbsp; 2011-10-21 14:13&nbsp;&nbsp;
      WEB-INF/lib/jboss-marshalling-river-1.3.0.GA.jar<br>
      &nbsp; 1760173&nbsp; 2011-10-21 14:12&nbsp;&nbsp; WEB-INF/lib/jgroups-3.0.0.CR5.jar<br>
      &nbsp;&nbsp;&nbsp; 50251&nbsp; 2011-10-21 14:13&nbsp;&nbsp;
      WEB-INF/lib/jboss-logging-3.0.0.GA.jar<br>
      &nbsp;&nbsp;&nbsp; 10899&nbsp; 2011-10-21 14:13&nbsp;&nbsp;
      WEB-INF/lib/jboss-transaction-api-1.0.1.GA.jar<br>
      &nbsp; 1601837&nbsp; 2011-10-21 14:12&nbsp;&nbsp;
      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>