openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <ppod...@apache.org>
Subject Re: [jira] Commented: (OPENJPA-1600) Allow enhancer to read entities inside jar archive
Date Mon, 29 Mar 2010 21:34:02 GMT

Hi Dinkar,
  I was trying this new ability for enhancer to "see" class files inside
jars -- only as a build-time enhancer feature.

  The degree of complexity, imo, in ascending order
  a) ability to refer to a serializable class in a third-party (i.e.
unmodifiable) jar. This will support the use case that is cited in this
issue. Th referred class itself is not persistence capable, but is referred
by other persistence capable classes.

  b) ability to enhance a persistence capable class that is packaged within
a jar. This is doable currently but the enhanced bytecode can not be written
in the same jar. Writing the enhanced bytecode to a separate place is
possible. The capability to write in-place will be useful to enhance a *.ear
or *.war more naturally (currently the *.ear is unpacked, enhanced and
repacked) in some application server environments via scripts.
 
  

-----
Pinaki 
-- 
View this message in context: http://n2.nabble.com/jira-Created-OPENJPA-1600-Allow-enhancer-to-read-entities-inside-jar-archive-tp4798494p4820934.html
Sent from the OpenJPA Developers mailing list archive at Nabble.com.

Mime
View raw message