A Java Developer s Guide to Building Applications with MarkLogic

Similar documents
MarkLogic Server. Java Application Developer s Guide. MarkLogic 8 February, Copyright 2015 MarkLogic Corporation. All rights reserved.

MarkLogic 8: Samplestack

MarkLogic Server. Node.js Application Developer s Guide. MarkLogic 8 February, Copyright 2016 MarkLogic Corporation. All rights reserved.

MarkLogic Server. Reference Application Architecture Guide. MarkLogic 8 February, Copyright 2015 MarkLogic Corporation. All rights reserved.

ETL Tools. L. Libkin 1 Data Integration and Exchange

Real-time Streaming Analysis for Hadoop and Flume. Aaron Kimball odiago, inc. OSCON Data 2011

MarkLogic Server. Application Developer s Guide. MarkLogic 8 February, Last Revised: 8.0-4, November, 2015

Real-time Data Analytics mit Elasticsearch. Bernhard Pflugfelder inovex GmbH

Middleware- Driven Mobile Applications

NoSQL and Agility. Why Document and Graph Stores Rock November 12th, 2015 COPYRIGHT 2015 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED

SOA Planning Guide The Value Enablement Group, LLC. All rights reserved.

Data Governance for Regulated Industries

Apache Sling A REST-based Web Application Framework Carsten Ziegeler cziegeler@apache.org ApacheCon NA 2014

MarkLogic 8: Infrastructure Management API, Flexible Replication, Incremental Backup, and Sizing Recommendations

Mission-Critical Database with Real-Time Search for Big Data

Search and Real-Time Analytics on Big Data

Apache Sentry. Prasad Mujumdar

Big Data, Cloud Computing, Spatial Databases Steven Hagan Vice President Server Technologies

Reusable Data Access Patterns

Information Retrieval Elasticsearch

and NoSQL Data Governance for Regulated Industries Using Hadoop Justin Makeig, Director Product Management, MarkLogic October 2013

Big Data Analytics Nokia

DBMS / Business Intelligence, SQL Server

Increase Agility and Reduce Costs with a Logical Data Warehouse. February 2014

LINKED DATA EXPERIENCE AT MACMILLAN Building discovery services for scientific and scholarly content on top of a semantic data model

Java Web Services Training

Technologies for a CERIF XML based CRIS

How To Script Administrative Tasks In Marklogic Server

Selecting a Taxonomy Management Tool. Wendi Pohs InfoClear Consulting #SLATaxo

How To Use An Appbuilder.Io On A Pc Or Mac Or Macbook

Best Practices for Hadoop Data Analysis with Tableau

Monitoring Pramati EJB Server

E6895 Advanced Big Data Analytics Lecture 4:! Data Store

WEB SERVICES. Revised 9/29/2015

MarkLogic Pre-conference Tutorial. om de titelstijl van het model te bewerken

Automating Attack Analysis Using Audit Data. Dr. Bruce Gabrielson (BAH) CND R&T PMO 28 October 2009

MarkLogic Server. Understanding and Using Security Guide. MarkLogic 8 February, Copyright 2015 MarkLogic Corporation. All rights reserved.

Anatomy of a Cloud Environment. Jeffrey Bisti IBM Poughkeepsie jbisti@us.ibm.com

ebay : How is it a hit

Things Made Easy: One Click CMS Integration with Solr & Drupal

AquaLogic Service Bus

Scope. Cognescent SBI Semantic Business Intelligence

MarkLogic Server. XCC Developer s Guide. MarkLogic 8 February, Copyright 2015 MarkLogic Corporation. All rights reserved.

MarkLogic Server. Administrator s Guide. MarkLogic 8 February, Copyright 2015 MarkLogic Corporation. All rights reserved.

Open Source Multi-Cloud, Multi- Tenant Automation in the cloud with SlipStream PaaS

XpoLog Competitive Comparison Sheet

Graph Database Performance: An Oracle Perspective

JVA-561. Developing SOAP Web Services in Java

Big Data: Using ArcGIS with Apache Hadoop. Erik Hoel and Mike Park

The end. Carl Nettelblad

REST vs. SOAP: Making the Right Architectural Decision

IBM Tivoli Composite Application Manager for Microsoft Applications: Microsoft Internet Information Services Agent Version Fix Pack 2.

Principles and Foundations of Web Services: An Holistic View (Technologies, Business Drivers, Models, Architectures and Standards)

Efficient Processing of XML Documents in Hadoop Map Reduce

EAI OVERVIEW OF ENTERPRISE APPLICATION INTEGRATION CONCEPTS AND ARCHITECTURES. Enterprise Application Integration. Peter R. Egli INDIGOO.

MarkLogic Server. MarkLogic Connector for Hadoop Developer s Guide. MarkLogic 8 February, 2015

PDA DRIVEN WAREHOUSE INVENTORY MANAGEMENT SYSTEM Sebastian Albert Master of Science in Technology

Introduction to the SIF 3.0 Infrastructure: An Environment for Educational Data Exchange

RUN BETTER SAP AG. All rights reserved. 1

Data Stream Management and Complex Event Processing in Esper. INF5100, Autumn 2010 Jarle Søberg

Corporate Bill Analyzer

Combining SAWSDL, OWL DL and UDDI for Semantically Enhanced Web Service Discovery

MathCloud: From Software Toolkit to Cloud Platform for Building Computing Services

General principles and architecture of Adlib and Adlib API. Petra Otten Manager Customer Support

Open Source SOA with Service Component Architecture and Apache Tuscany. Jean-Sebastien Delfino Mario Antollini Raymond Feng

How to Build an E-Commerce Application using J2EE. Carol McDonald Code Camp Engineer

Introduction to Database Systems CSE 444. Lecture 24: Databases as a Service

The Search API in Drupal 8. Thomas Seidl (drunken monkey)

Impala: A Modern, Open-Source SQL Engine for Hadoop. Marcel Kornacker Cloudera, Inc.

Security As A Service Leveraged by Apache Projects. Oliver Wulff, Talend

MySQL and Hadoop: Big Data Integration. Shubhangi Garg & Neha Kumari MySQL Engineering

How to secure your Apache Camel deployment

THE CCLRC DATA PORTAL

Oracle WebLogic Foundation of Oracle Fusion Middleware. Lawrence Manickam Toyork Systems Inc

MarkLogic Semantics in Healthcare and Life Sciences for LIDER COPYRIGHT 2015 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED.

Software Design April 26, 2013

Databases in Organizations

The Ontological Approach for SIEM Data Repository

HOW TO DO A SMART DATA PROJECT

Integrating Apache Spark with an Enterprise Data Warehouse

Introduction to XML Applications

Structured Content: the Key to Agile. Web Experience Management. Introduction

WHITE PAPER DATA GOVERNANCE ENTERPRISE MODEL MANAGEMENT

MarkLogic 8: Developer Experience

Oracle Business Activity Monitoring 11g New Features

Nuxeo, an open source platform for content-centric business applications. Stéfane Fermigier, Nuxeo Laurent Doguin, Nuxeo

Security Analytics Topology

MarkLogic Server. Database Replication Guide. MarkLogic 8 February, Copyright 2015 MarkLogic Corporation. All rights reserved.

HR Data Retrieval in a LDAP- Enabled Directory Service

Cloud Monitoring and Auditing with CADF (Cloud Auditing and Data Federation)

Automated Data Ingestion. Bernhard Disselhoff Enterprise Sales Engineer

Concrete uses of XML in software development and data analysis.

Ikasan ESB Reference Architecture Review

Luncheon Webinar Series May 13, 2013

Rational Reporting. Module 3: IBM Rational Insight and IBM Cognos Data Manager

Java Monitoring. Stuff You Can Get For Free (And Stuff You Can t) Paul Jasek Sales Engineer

Getting Started with Android Programming (5 days) with Android 4.3 Jelly Bean

IBM Software Group. IBM WebSphere Process Integration Technical Overview

Glassfish, JAVA EE, Servlets, JSP, EJB

Transcription:

A Java Developer s Guide to Building Applications with MarkLogic Justin Makeig, Director Product Management, MarkLogic Erik Hennum, Lead Engineer, MarkLogic MarkLogic World, April 2014

Hello, my name is Product Manager for 6+ years at MarkLogic Background in consulting and web development Passionate about data, apps, and user experience Hello, my name is Lead Engineer at MarkLogic, formerly IBM and Informix Focus on application interfaces in Java, REST, and XQuery Background in XML, RDF, and JSON technologies SLIDE: 2

Agenda MarkLogic Java Reference architectures API landscape (Re)-Introducing the Java Client API Document CRUD, search, analytics Extensibility What s on the roadmap? SLIDE: 3

SLIDE: 4

Why MarkLogic matters to Java developers Document-oriented schema when you need it? Indexes: Values, text, geo, semantics, alerting Real-time, always consistent Proven and trusted in production SLIDE: 5

User Interface Data views, user workflow Middleware Business rules, domain model, integration Database Security, Config Mgmt Business Services Resources (Customer, Approval, etc.) JSON over HTTP Data Services Documents JSON/XML over HTTP Persistent state, stored procedures SLIDE: 6

Spectrum of Java interfaces XCC Custom HTTP Services Extensions Java Client API Flexibility Connector for Hadoop Productivity SLIDE: 7

Application Application Logic Java Client API Extensions HTTP MarkLogic REST API Search, CRUD, Alerting, Extensions SLIDE: 8 User code Framework code

(RE)-INTRODUCING THE JAVA CLIENT API SLIDE: 9 COPYRIGHT 2013 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED.

Lifecycle: create, use, release DatabaseClient dbc = DatabaseClientFactory.newClient(...); pool of persistent connections to the REST server QueryManager qrymgr=dbc.newquerymanager(); managers are thread-safe after initialization dbc.release(); keep client until done working with the database SLIDE: 10

Document CRUD document uri, content, and metadata (collections, permissions, quality) format binary, JSON, text, or XML content IO handle extensible adapters for byte[ ], DOM, File, InputStream, JAXB, String,... services read / write / delete, transform on read or write, patch in place, optimistic locking, multi-statement transactions,... SLIDE: 11

Searching documents Structured Query Builder sqb.value( sqb.element("city"), "Chicago" ) Query by Example String with Options Snippets and Metadata Facets Alerting querymgr.newrawquerybyexampledefinition( "{\"$query\": {\"city\": \"Chicago\"} }" ) querymgr.newstringdefinition("myoptions").withcriteria("city:chicago") Highlight text matches inside the document content, extract fragments Count the documents with values from an enumeration or with dates or numbers within range buckets Check which queries match a document (subcriptions) SLIDE: 12

Analytics Values: aggregate or page over a range index avg, count, max, median, min, rank, stddev, sum, variance, UDF (User Defined Function) Tuples: co-occurrence of range index values in documents correlation, covariance, UDF SLIDE: 13

Extensibility Types of extensions Document / search transforms XSLT, XQuery Search API hooks custom parsing, snippets Resource services anything XQuery can do Supporting modules Process Install extension on the server SLIDE: 14 Write Java interface for resource service like RMI

Installing and calling resource services Java client Application source file Java API install MarkLogic server REST API class Resource Manager delete, get, post, put XQuery services SLIDE: 15

Open Development Always Apache 2.0 license Master branch (and tests!) moved to GitHub Incremental development in the open Public issue tracking and RFEs (Eventually) pull requests https://github.com/marklogic/java-client-api SLIDE: 16

Application Application Logic Java Client API Extensions HTTP MarkLogic REST API Search, CRUD, Alerting, Extensions SLIDE: 17