dev@glassfish.java.net

Sniffer resolution

From: Lee Chuk Munn <chuk-munn.lee_at_oracle.com>
Date: Wed, 05 Jan 2011 21:16:26 +0800

Hi

I would like to get JPA support in my custom container. My container
deploys XAR file, which is basically a JAR file with a renamed suffix.

What I would like to do is to get JPA supported in the XAR. I've been
looking at the JPA container source. The JPADeployer.java seem to only
recognize JavaEE application types.

My question is that can I write another JPA sniffer (that looks for
META-INF/persistance.xml) for my application type?

If I do this, will it clash with the existing JPASniffer? How do I
resolve this?

Thanks

Regards
Chuk

-- 
In computing, the mean time to failure keeps getting shorter.