XFA form from API java

191 views
Skip to first unread message

araujo...@gmail.com

unread,
Jan 12, 2008, 5:19:14 PM1/12/08
to Adobe LiveCycle Developers
Hi,

I'm developing a small project in java, it's a desktop project.

This application has to populate a PDF document. The PDF document has
been developed using LiveCycle with a dynamic XFA form.

1. Could I use the LiveCycle API from my application without
connecting to any server, because I'm running a desktop application?

Thanks,
Araujo

Raghavendra

unread,
Jan 13, 2008, 1:42:06 PM1/13/08
to Adobe LiveCycle Developers
All the LiveCycle APIs can be run only in server environment.

On Jan 13, 3:19 am, "araujo.gun...@gmail.com"

Brad Pigott

unread,
Jan 13, 2008, 3:57:58 PM1/13/08
to live...@googlegroups.com
You can create programs/web applications that run external from the Livecycle server but use services hosted by the Livecycle service.
 
Your desktop java application could use services from the Livecycle server.

Brad Pigott

araujo...@gmail.com

unread,
Jan 13, 2008, 7:06:17 PM1/13/08
to Adobe LiveCycle Developers
Thanks for your answer,

Is there another Adobe API with which I could handle the PDF document
from my desktop application?

If there isn't, could I connect my application to the LiveCycle server
using the 80 port?

Araujo.

On Jan 13, 3:57 pm, "Brad Pigott" <brad.pig...@gmail.com> wrote:
> You can create programs/web applications that run external from the
> Livecycle server but use services hosted by the Livecycle service.
>
> Your desktop java application could use services from the Livecycle server.
>
> Brad Pigott
>

Duane Nickull

unread,
Jan 14, 2008, 10:54:43 AM1/14/08
to Adobe LiveCycle Developers
XPAAJ is there and available to customers who own LiveCycle.

There are a couple of tutorials on my blog:

http://technoracle.blogspot.com/2006/10/grabbing-xmp-data-with-xpaaj.html

Duane


On 1/13/08 4:06 PM, "araujo...@gmail.com" <araujo...@gmail.com>
wrote:

--
**********************************************************************
"Speaking only for myself"
Senior Technical Evangelist - Adobe Systems, Inc.
Blog - http://technoracle.blogspot.com
Community Music - http://www.mix2r.com
My Band - http://www.myspace.com/22ndcentury
Adobe MAX 2008 - http://technoracle.blogspot.com/2007/08/adobe-max-2008.html
**********************************************************************

araujo...@gmail.com

unread,
Jan 16, 2008, 12:16:18 AM1/16/08
to Adobe LiveCycle Developers
Thanks Duane,

I downloaded the XPAAJ package and I started to test it.

I got an error when I try to populate a pdf document. This document is
based on an XFA and I'm trying to import a xml file with the
importFormData.

the error is

[code]ERROR: 'Premature end of file.'
Exception in thread "main" com.adobe.pdf.exceptions.XFDFException:
org.xml.sax.SAXParseException: Premature end of file.
at com.adobe.pdf.impl.PDFDocumentImpl.importFormData(Unknown Source)
at
com.forabyte.tester.XMPExtractSample.PDFExtract(XMPExtractSample.java:
113)
at com.forabyte.tester.XMPExtractSample.main(XMPExtractSample.java:
35)
[/code]

Thanks for your help
On Jan 14, 10:54 am, Duane Nickull <dnick...@adobe.com> wrote:
> XPAAJ is there and available to customers who own LiveCycle.
>
> There are a couple of tutorials on my blog:
>
> http://technoracle.blogspot.com/2006/10/grabbing-xmp-data-with-xpaaj....
>
> Duane
>
> On 1/13/08 4:06 PM, "araujo.gun...@gmail.com" <araujo.gun...@gmail.com>

araujo...@gmail.com

unread,
Jan 16, 2008, 12:43:26 AM1/16/08
to Adobe LiveCycle Developers
Thanks again,

Could I populate a dynamic form using the XPAAJ library?



On Jan 14, 10:54 am, Duane Nickull <dnick...@adobe.com> wrote:
> XPAAJ is there and available to customers who own LiveCycle.
>
> There are a couple of tutorials on my blog:
>
> http://technoracle.blogspot.com/2006/10/grabbing-xmp-data-with-xpaaj....
>
> Duane
>
> On 1/13/08 4:06 PM, "araujo.gun...@gmail.com" <araujo.gun...@gmail.com>

araujo...@gmail.com

unread,
Jan 16, 2008, 10:27:07 PM1/16/08
to Adobe LiveCycle Developers
I got it, I could everything with the XPAAJ but...

Note: Those customers familiar with XPAAJ will appreciate the new Java
libraries which are now part of LiveCycle ES. These Java libraries
provide more functionality than before, and allow Java developers to
more easily build Java applications that work with PDF documents.
Because we are now offering the entire LiveCycle ES suite in a trial
version, XPAAJ is no longer available.

Then, where could I buy an old copy of the XPAAJ library?

Thanks,
Pedro


On Jan 14, 10:54 am, Duane Nickull <dnick...@adobe.com> wrote:
> XPAAJ is there and available to customers who own LiveCycle.
>
> There are a couple of tutorials on my blog:
>
> http://technoracle.blogspot.com/2006/10/grabbing-xmp-data-with-xpaaj....
>
> Duane
>
> On 1/13/08 4:06 PM, "araujo.gun...@gmail.com" <araujo.gun...@gmail.com>

John Nesbitt

unread,
Jan 17, 2008, 4:40:10 PM1/17/08
to Adobe LiveCycle Developers
Unfortunately you cannot (and never could) buy XPAAJ.

It was only ever allowed to be used if you were an "enterprise"
customer - i.e. you owned ANY LiveCycle server product or Coldfusion.
Before this latest release of LiveCycle, you could have downloaded and
used XPAAJ if you bought, say, one license of Reader Extensions
(approx $US10,000).

It seems from your note though that this is no longer an option.

Even though PDF is owned by Adobe, the specification for it is public.
Therefore there are a number of much cheaper, non-server based
libraries that can do most of the things that LiveCycle does -
including importing XML into an XFA based document (as LiveCycles
Forms ES does) and flattening an XFA document into a PDF/A document
(as LiveCycles Output ES does).

One example is PDF4NET which, unfortunately for you, it is a .NET
based library but you could use a .NET -> Java bridge or perhaps
search for similar Java based libraries.

John.

On Jan 17, 2:27 pm, "araujo.gun...@gmail.com"
> > **********************************************************************- Hide quoted text -
>
> - Show quoted text -

Duane Nickull

unread,
Jan 17, 2008, 3:04:22 PM1/17/08
to Adobe LiveCycle Developers
I'll find out. It is available to people who have LC already.
I think it is a custom order.
Duane


On 1/16/08 7:27 PM, "araujo...@gmail.com" <araujo...@gmail.com>
wrote:

Duane Nickull

unread,
Jan 18, 2008, 12:47:48 PM1/18/08
to Adobe LiveCycle Developers
John:

Actually, Adobe gave PDF to ISO. We don't own it any more.

http://slashdot.org/article.pl?sid=07/12/05/0149227&from=rss

For the exact terms of ownership, you would have to read the ISO license.

As for XPAAJ, I am trying to find out internally how we can get it into the
hands of those who own one or more LC components. I'll ping the list when I
find out. We did remove it from our developer pages as a download with the
release of LC ES.

Duane

Reply all
Reply to author
Forward
Message has been deleted
0 new messages