Bug 1043334 - Hot Rod Java Client
Summary: Hot Rod Java Client
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Documentation
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER7
: 6.2.0
Assignee: Rakesh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-16 02:12 UTC by gsheldon
Modified: 2014-01-16 00:01 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-16 00:01:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description gsheldon 2013-12-16 02:12:07 UTC
Java Hot Rod Client topics:

    Section: Java Hot Rod Client [26506]
      Java Hot Rod Client Basic API [26507]
      Java Hot Rod Client Versioned API [26508]

Adding NEEDINFO for Mircea for SME review and more information.

Comment 6 gsheldon 2013-12-19 05:21:01 UTC
Assigning this bug to Bobb since he has worked on the Hot Rod C++ content.

Bobb please contact Mircea with any questions you may have.

Comment 8 Rakesh 2013-12-20 08:08:56 UTC
Requested information on Download and installation from Mircea.

Comment 9 Mircea Markus 2013-12-20 12:44:41 UTC
@Rakesh, as per comment #5 (i), I think in order to have symmetry, a section describing the configuration of the java client should be added. I've added the relevant documentation in the community[1], please consider updating the java client with a configuration section as well.

[1] https://github.com/infinispan/infinispan/pull/2306/files

Comment 10 Mircea Markus 2013-12-20 13:37:28 UTC
@Rakesh
re: "Hot Rod Java Download"
- all the libraries needed for using the Hot Rod java client are located in the server distribution, under the "client/hotrod/java" directory.


re: "Hot Rod Java Installation"
- no specific installation is required, but making sore that the jars under the "client/hotrod/java" directory are in the classpath of the client process

Comment 11 Rakesh 2013-12-20 14:42:59 UTC
(In reply to Mircea Markus from comment #10)
> @Rakesh
> re: "Hot Rod Java Download"
> - all the libraries needed for using the Hot Rod java client are located in
> the server distribution, under the "client/hotrod/java" directory.
> 
> 
> re: "Hot Rod Java Installation"
> - no specific installation is required, but making sore that the jars under
> the "client/hotrod/java" directory are in the classpath of the client process

Thanks for the download info Mircea.

Do we have any RPMs split like we have for Hot Rod C ++?

Comment 13 Mircea Markus 2013-12-20 16:16:37 UTC
There's no RPM splits.
Not sure you saw my comment #9? I've put a bit of effort in documenting the configuration, just to make sure we have this symmetry between java and cpp, and I think that should really be added to the product documentation.

Comment 16 Rakesh 2014-01-03 10:38:53 UTC
11.7.3. Hot Rod Java Client Configuration topic completed.

Comment 18 Rakesh 2014-01-07 19:23:33 UTC
(In reply to Mircea Markus from comment #10)
> @Rakesh
> re: "Hot Rod Java Download"
> - all the libraries needed for using the Hot Rod java client are located in
> the server distribution, under the "client/hotrod/java" directory.
> 
> 
> re: "Hot Rod Java Installation"
> - no specific installation is required, but making sore that the jars under
> the "client/hotrod/java" directory are in the classpath of the client process

Removing 11.9.2. Hot Rod Java Client Installation topic as there are no specific installation instructions. Same case with Hot Rod C ++ Installation so being symmetrical.

Comment 19 Rakesh 2014-01-08 20:16:21 UTC
Porting Martin's comment here from Bug 962278 as this is the relevant bug for HT Java client:
	

 

Martin Gencur 2014-01-08 03:38:55 EST

OK. I had another look at the docs and here is my proposal:

* Personally, I'd remove the following paragraphs in chapter 11.9.3. because they just repeat what was already said:
The paragraph starting with "The RemoteCache Interface allows clients outside" and the rest of this chapter, including the 
Configuration Explanation.

The configuration explanation could be possibly added to chapter 11.9.2. because the configuration snippet is there too.

* 11.9.2. Hot Rod Java Client Configuration

The topic "Configuring the Hot Rod Java client using a properties file" is incomplete.

The properties must be placed in a file called hotrod-client.properties and the file must be placed on classpath. What's more,
users can only use the following two constructors in order to use the aforementioned configuration file:
new RemoteCacheManager(boolean start)
new RemoteCacheManager()

(the file is then looked up automatically)

The Example 11.2 should not contain this at the beginning:

"[source]

----

Comment 23 Misha H. Ali 2014-01-16 00:01:42 UTC
The fix for this bug is now generally released and available here:

https://access.redhat.com/site/documentation/en-US/Red_Hat_JBoss_Data_Grid/6.2/index.html


Note You need to log in before you can comment on or make changes to this bug.