开发者

Java PDF Library that works on GAE? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 6 years ago.

Improve this question

Since GAE ha开发者_开发技巧s severe restrictions like - "A Java application cannot use any classes used to write to the filesystem"...

Is there a good Java PDF library that can write the PDF to memory for streaming to the cloud?


You can use iText without limitations now. There is no need for a patch since version 5.2.0 anymore.

Have a look at the following post for an example: Generate PDF using GAE and iText


According to this thread on google groups (requires authentication), PDFjet can be used on GAE (it has been slightly modified to replace files by streams at a few places). As they say in the thread:

It's a quite low-level library but should be ok for simple tasks.

As of now, both iText and JasperReports are listed as incompatible on the "Will it play in App Engine" page due to the dependence on several classes that are not in the JRE class whitelist.


Update (2010/09/26): As mentioned by Guido in a comment (and I thank him for that), some people claim they have an iText patch to make it compatible with GAE. Worth the try if you want to play with iText.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜