I am a long time Java developer - which also means I am a bit 'old' and haven't picked up Maven yet (I don't particulary like what I've seen of it).
I read (didn't keep the URL) that to get started with Infinispan I could either download the Infinispan distribution or download the latest JBoss AS. I am going to develop a J2EE application with Infinispan and Drools (among other tools), so I decided to just jump into JBoss (my previous work has been with Websphere, Glassfish, and Weblogic) - I downloaded and installed JBoss 7.1.1.Final and JBDevStudio 5.0.
I started experimenting with Infinispan. I created a Java project and imported (from the JBoss directory) infinispan-core-5.1.2.FINAL, jboss-logging-3.1.0.GA, jboss-transaction-api_1.1_spec-1.0.0.Final, jboss-marshalling-1.3.11.GA, jboss-marshalling-river-1.3.11.GA.
I have experienced the following problems:
a) Eclipse (JBDevStudio) is complaining about org.rhq.helpers. From what I've seen this is a compile time dependancy that has somehow crept into the runtime. I can not find any jar for rhq in the JBoss distribution - did I just miss it? I can run without it, but my style is to address and eliminate any Eclipse warnings from my projects and I am not sure what to do with this one.
b) I am particularly interested in TreeCache. When trying to follow the example code in the Infinispan quickstart area I discovered that the code contained references to several deprecated objects/methods (i.e. Configuration, setInvocationBatchingEnabled, DefaultCacheManager). What have they been replaced with?
c) I can find no jar files in the JBoss distribution for TreeCache, TreeCacheFactory, etc. Is the JBoss distribution incomplete or did I just miss it? If I want to run TreeCache in a JBoss application, do I need to jump thru any special hoops?
I apologize for these elemenatary question. I have tried to RTFM, however TFM is incomplete and not always so clear.
I appreciate any help you can provide,