Hi,I’m writing a java servlet that grabs serveral pdf’s from a domino datastore and merges them. I’m wondering what the best way to get the pdf’s from the datastore to the pdf merge servlet?
Would I grab the document containing the pdf from the database, access the pdf using the EmbeddedObject class and use the extractFile method to save it to a temp directory before loading it into pdf merge servlet?? I’m somewhat new to the domino environment.
Also is there any javadoc api style documentation for the Domino java api?? or is domino designer help the only way to look at the java classes?
AFAIK when using a stream Domino is still dumping the attachment to a temporary directory on disk before providing it to you.
The only thing that is different is that when using this mechanism Domino is responsible for picking a name and managing the temporary file. IIRC this is the reason why access to stream of an embedded object is still a restricted operation (i.e.: it is using filesystem access).