 <p>Jesse Gallagher's Scaffolding framework also accesses Java objects rather than dominoDocument datasources. I've used (and modified) Tim Tripcony's Java objects in his "Using Java in XPages series" from NotesIn9 (the first is <a href="http://www.notesin9.com/2013/12/17/notesin9-132-using-java-in-xpages-part-1/" rel="nofollow">episode 132</a>. The source code for what he does is on <a href="https://bitbucket.org/timtripcony/howyabean" rel="nofollow">BitBucket</a>. This basically converts the dominoDocument to a Map. It doesn't cover MIME (Rich Text) or attachments. If it's useful, I can share the amendments I made (e.g. making field names all the same case, to ensure it still works for existing documents, where fields may have been created with LotusScript).</p>