All
All
Projects
Snippets
Go
Explore
Home
About
Get Involved
IP
Legal
Interact With Us
Blog
Webinars
Discord
Twitter
YouTube
Facebook
OpenNTF GitHub
OpenNTF Connections GitHub
IBM Connections Downloads
DominoHelp (external)
Explore
Home
About
Get Involved
IP
Legal
Interact With Us
Blog
Webinars
Resources
Discord
Twitter
YouTube
Facebook
OpenNTF GitHub
OpenNTF Connections GitHub
IBM Connections Downloads
DominoHelp (external)
Resources
Discord
Twitter
YouTube
Facebook
OpenNTF GitHub
OpenNTF Connections GitHub
IBM Connections Downloads
DominoHelp (external)
Projects
Snippets
Collaboration Today
Sign In
Username
Password
Forgotten your login credentials?
Login
Register
All
All
Projects
Snippets
Go
On OpenNTF: mimeDominoDocument Data Source to store Java Objects without Size Limits
Posted by
Niklas Heidloff
on
August 28, 2012
Jesse Gallagher open sourced a
mimeDominoDocument data source
. Jesse's description:
"
mimeDominoDocument is an XPages component that acts like a normal xp:dominoDocument data source but does transparent serialization/deserialization of 'MIMEBean' data via getValue(...) and setValue(...). This means that stored Java objects can be accessed directly via EL. For example, if a field in a document contains a List of Map objects representing line items in an order, the third line item's name could be accessed like:
<xp:text value="#{doc.LineItems[2].name}"/>
"
The data source uses the class
MIMEBean
which is part of the
WatrCoolr
project from Tim Tripcony. Tim describes the underlaying concept in his
blog
. In certain scenarios this powerful pattern can be used to work around size limitations in NSFs. I've used this pattern myself recently and will blog about it soon separately.
Jesse's additional logic could qualify for the fourth
OpenNTF development contest
where developers can win five times $1000.
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus