Hi Brent,

Thanks for the mail!

Sorry for not being clear on my previous mail. Reason for avoiding java is that 
MarkLogic uses functional programming concept and java uses object oriented 
approach so don't want to mix up both. :)

I would be happy to continue with HTTP server. I will give you a brief on what 
knowledge I have and what I want to accomplish. I am through with creating 
server and configuration of various parameter while creating database.

Implemented till now: Loaded sample data in MarkLogic 5.0.3 and did some basic 
search operation. All these were achieved using MarkLogic , HTTP server and 
xquery.

To implement next part: screen which will allow me to do CRUD operation on the 
data which user fetch. I see xdmp:update or xdmp:eval etc will help me in 
fetching/updating data from/to ML. I am looking some help in these lines or 
some samples to keep things moving.

I will go ahead with your suggestion.

Thanks again for your valuable suggestion!

Regards,
Rajeev
From: Brent Hartwig [mailto:[email protected]]
Sent: Friday, October 19, 2012 4:16 PM
To: MarkLogic Developer Discussion; Kumar, Rajeev
Subject: RE: xdmp or java-xcc

Hi, Rajeev,

You can indeed avoid Java, but all interaction with a MarkLogic server needs to 
be through a MarkLogic application server.  These are configured in the 
MarkLogic admin console; some are preconfigured.  Depending on your version, 
there may be four types: HTTP, XDBC, WebDAV and ODBC.  The administrator's 
guide<http://docs.marklogic.com/guide/admin> speak to all of these, including 
an overview of each.  If you are interested in running your own XQuery, let's 
leave WebDAV and ODBC out of the conversation.  One connects to an XDBC app 
server with the XCC library, which comes in Java and .NET.  If neither of those 
languages are attractive, you're down to HTTP.  So, you need to question how 
you need to connect to MarkLogic, which will help answer which type of 
application server you need.  Once you make a connection via HTTP or XDBC, you 
get to use the XQuery and XSLT functions<http://docs.marklogic.com/all>, 
including the xdmp functions.  There are options to deploy your XQuery code on 
the MarkLogic server or pass it in.  Also consider checking out MarkLogic's 
REST API<http://docs.marklogic.com/REST>.  There is much more great 
introductory (and advanced) documentation at http://docs.marklogic.com/.  That 
said, this community is great at answering questions and working through 
problems...so keep 'em coming.  Welcome aboard!

-Brent

From: 
[email protected]<mailto:[email protected]>
 [mailto:[email protected]] On Behalf Of Kumar, Rajeev
Sent: Friday, October 19, 2012 6:17 AM
To: [email protected]<mailto:[email protected]>
Subject: [MarkLogic Dev General] xdmp or java-xcc

Hi All,

I am new to MarkLogic.  I am trying to build a small application(having xml 
data) which involves CRUD operation on xml.

Please suggest, should I use xdmp function or java-xcc to accomplish? I was 
hoping to get things done using xdmp function to avoid java.
Could you please share some samples which do CRUD operation?

Please let me know if you information in detail.

Thanks in advance for letting me know and sharing samples!

Regards,
Rajeev

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to