Well, we wouldn't want Gemini web to have to look through all of the
WAR looking for persistence.xml files, so maybe we could limit the
support to just looking for WEB-INF/classes/META-INF/persistence.xml?
On 4/16/2010 2:03 PM, Shaun Smith wrote:
I'd like to propose Gemini Web provide support for JPA in WABs.
It's pretty common for developers to put both their web components and
their backing JPA Entities into a WAR and so I think it would be useful
to provide support for this configuration in Gemini. I think support
for JPA in a WAR would amount to detection of a persistence.xml file
inside the WAR and the addition of the necessary "Meta-Persistence"
entry into the Manifest of the WAB. And coordination of Gemini JPA and
Web services would be necessary to ensure peaceful co-existence when a
bundle contains both JPA and web content.
Before going deeper does anyone have any thoughts on this? Is this
already in the plans for Gemini Web?
Shaun
--
Shaun Smith | Principal
Product Manager
Phone: +19055023094
Oracle Server Technologies, Oracle
TopLink
ORACLE Canada | 110 Matheson Boulevard West, Suite 100, Mississauga,
Ontario | L5R 3P4
Oracle is committed to
developing practices and products that help protect the environment
_______________________________________________
gemini-dev mailing list
gemini-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/gemini-dev
|