Re: persist inline java objects
[email protected] (Russ Tremain)
| Newsgroups | perl.inline |
|---|---|
| Message-ID | <p0624080bcd386fe5afff@[10.0.101.154]> |
for persisting perl objects, there is a very fine module written by David Sharnoff: http://search.cpan.org/~muir/OOPS-0.2005/ I would imagine that for persisting Java objects, you would want to use a java solution (JDO, Hibernate, etc). Alternatively, you could translate them to perl objects and then persist the perl, but that sounds like a lot more work. /r At 10:12 AM -0800 12/4/12, Giridhar Jayavelu wrote: >Hi, >I'm trying to store and retrieve Perl objects from a file using >Data::Dumper and eval. It works fine if I'm dealing with pure Perl objects. >With Inline Java objects, I realize it is not straight forward, I probably >have to serialize inline java objects first. I couldn't find a solution in >the forum. >Is there any recommended way to persist inline java objects? > >Thanks in advance, >Giri