16th Sep2010

Database-less Sample Using LiveCycle Data Services Data Management and Destinations with Associations

by admin

I always strive for the simplest reproduction all the time, having too much code sometimes is needed, but often not.   Why give a 40Mb file when all it really needed was a single XML file?  Anyways, in one of the strives for perfection, I decided to take the database out the picture and created a simple DataStore that held a Documents->Chapters->Parts Object Graph that I could then use with the lovely LiveCycle Data Services Data Management features.

You can get the sample as a Flash Builder 4 project, sans the LCDS jars from clicking on this link  (remember when they
always scolded you for putting a link on ‘click here’ text :) )  MultipleRelationshipsSample

In it’s format linked here, it’s very simple and shows one-to-many, but will most likely form the basis of a few of my LCDS related samples as it’s easy to transport and configure without any database, allowing for quick demo and additions to it’s current state.   As always, check out the lcds-samples that ships with LCDS for sample code, it contains some great examples of LCDS in action.

Don’t forget my simple Ant Script if you need to compile and don’t have Flash Builder.

16th Sep2010

Ant File to Export WAR from Flash Builder Project

by admin

I heavily use Eclipse/WTP for my J2EE integration, it works for what i need with all the major application servers, and is a boon when debugging Flex and LiveCycle Data Services applications.   Sometimes though, I have to give the project to someone who doesn’t use the Eclipse/Flash Builder/Web Tools Platform stack, and here is a simple little ANT script that can output the necessary WAR from the folder structure used in a WTP project without needing Eclipse.

Ant script for Eclipse/Flash Builder/WTP Export to WAR