Reputation: 2010
I have a sample java program can does some tasks and generates a List<String>
. I have the result, let's say in a variable result
of type List<String>
. I would like to send the result to a MarkLogic remote server using xcc
. I remember there's a way. All i know is I'll have to download xcc
jar into my java project and an xdbc
port in MarkLogic but do not know how to code it in java. Need help!
Upvotes: 0
Views: 58
Reputation: 8422
MarkLogic has a Java Client API. I'd encourage you to look into that, rather than XCC. As Michael pointed out, there is a Developing MarkLogic Apps in Java course available from MarkLogic University (free, available online). If you haven't already taken it, I'd encourage you to take the MarkLogic Fundamentals course, which is available free as either instructor-led or self-paced.
This training will show you how to insert data into MarkLogic and how to query it.
For those who already know the fundamentals and are experienced with Java, the documentation discusses how to create single documents, how to create multiple documents synchronously, and how to create multiple documents asynchronously.
Upvotes: 1