10
JDF Library and API •JDF Application Programming Interface •Dr. Rainer Prosi

JDF Library and API JDF Application Programming Interface Dr. Rainer Prosi

Embed Size (px)

Citation preview

Page 1: JDF Library and API JDF Application Programming Interface Dr. Rainer Prosi

JDF Library and API

•JDF Application Programming Interface

•Dr. Rainer Prosi

Page 2: JDF Library and API JDF Application Programming Interface Dr. Rainer Prosi

CIP4 Tools

• C++ JDF API

• Java JDF API

• CheckJDF – Command line JDF Test Tool

• JDF Editor – Visual Java Tool

• Elk – A Java based reference device

• Alces – A Java based reference manager

Page 3: JDF Library and API JDF Application Programming Interface Dr. Rainer Prosi

JDF C++ API

• Based on the XML Schema– Typesafe access methods

• Some additional high level routines– Spawn

– Merge

• MIME• Networking• URL

Page 4: JDF Library and API JDF Application Programming Interface Dr. Rainer Prosi

C++ Development Platforms

• Windows: – VC8: First beta release

– VC7.1 : Main branch

– VC 6: backwards compatibility Version

• Linux– Gcc 3 : not touched since 2002…

• Mac – Xcode Project: orphaned since 2004

Page 5: JDF Library and API JDF Application Programming Interface Dr. Rainer Prosi

Java

• Clone of the C++ library

– Some issues for Java purists

• Some C++ constructs are not optimal for Java

– Java is now the leading language version

• Used extensively in • JDF Editor

• Elk

• Alces

• CIP4 Web Utilities

Page 6: JDF Library and API JDF Application Programming Interface Dr. Rainer Prosi

JDF Editor

• JDF viewer and editor

– Process view

– Validation

• Validates against capabilities

• Validates against an XML schema

– Additional Features

• JDF to Capabilities Skeleton converter

• JDF Version converter

• Available on Mac and PC

• Localization in English, French, German, Spanish, Swedish (Japanese volunteers wanted…)

Page 7: JDF Library and API JDF Application Programming Interface Dr. Rainer Prosi

JDF Web Utilities

http://www.cip4.org/JDFUtility/

Same code base as the JDF Editor

CheckJDF

• Checks a JDF File and reports errors

FixJDF

• Updates a JDF File to a new version

Page 8: JDF Library and API JDF Application Programming Interface Dr. Rainer Prosi

Elk – JDF Reference Device

• Implements Base and MIS ICS

– JMF Message server

– MIME package support

– Conventional Printing Simulation

– Supports ~10 JMF Message types

– HELK Interactive Operator Console

• Public Links

– http://elk.itn.liu.se/elk/jmfThe reference implementation web application. Send a KnownMessages Query to it to find out what it can do.

– http://elk.itn.liu.se/elk/mimeFor testing clients that send MIME packages. Send a MIME packages to it.

Page 9: JDF Library and API JDF Application Programming Interface Dr. Rainer Prosi

Alces – JDF Reference Controller

• Alces can dispatch

– JMF messages

– JDF

– MIME packages (?)

• Alces is used for

– Testing

– JDF Certification

Page 10: JDF Library and API JDF Application Programming Interface Dr. Rainer Prosi

Legalisms and Administration

• All CIP4 code is Open Source

• Free non-Commercial use

• Free in-house use

• Use in commercial products that are for sale is only allowed for CIP4 Full and Partner members (3000$/Year including all other CIP4 membership benifits)

• Available in CVS and stable release ZIP files

• Jira Issue Tracking system