Re: The way to scan annotation in Geronimo 3.0

2010-03-17 Thread Ivan
In the servlet 3.0, while merging web-fragment and annotations, it says : --> After processing the web-fragment.xml, annotations from the corresponding fragment are processed to complete the effective metadata for the fragment before processing the next fragment. The following rules are used for pr

Re: The way to scan annotation in Geronimo 3.0

2010-03-17 Thread David Jencks
On Mar 17, 2010, at 7:02 AM, Ivan wrote: Hi, While working on Servlet 3.0, it is required to scan WebServlet annotations in the specified jar file. Can you be more specific about what you need? Is this really scanning specific jars within a war, or an entire war inside an ear bundle?

The way to scan annotation in Geronimo 3.0

2010-03-17 Thread Ivan
Hi, While working on Servlet 3.0, it is required to scan WebServlet annotations in the specified jar file. In the past, we could use the classfinder with a temp url classloader, while in the new OSGI environment, there is a BundleClassFinder is added in the framework. But I could not configure i