D
david.karr
I have a situation with a simple Java class with annotations, using
JDK 1.5.
The class and method looks perfectly fine in Eclipse, and the
annotations on the class and method appear to be fine. When I deploy
this class with ATG Dynamo, inside WebLogic 10.1, when I call
"getAnnotation()" on the method object, I get an empty array. I know
WebLogic has no issues with annotations, but I'm wondering if there's
something about the use of ATG Dynamo that messes something up.
I was able to work around the problem by doing my initializations
entirely in Spring, but I was hoping to have annotation configuration
available.
There's no point in showing the code, as it's very simple and is based
on simple working examples that I've seen.
What I'd like to know is what sorts of things in the Java environment
could cause a class to "lose" its annotations. I've heard that OSGi
can cause this, but I don't think OSGi is being used here.
JDK 1.5.
The class and method looks perfectly fine in Eclipse, and the
annotations on the class and method appear to be fine. When I deploy
this class with ATG Dynamo, inside WebLogic 10.1, when I call
"getAnnotation()" on the method object, I get an empty array. I know
WebLogic has no issues with annotations, but I'm wondering if there's
something about the use of ATG Dynamo that messes something up.
I was able to work around the problem by doing my initializations
entirely in Spring, but I was hoping to have annotation configuration
available.
There's no point in showing the code, as it's very simple and is based
on simple working examples that I've seen.
What I'd like to know is what sorts of things in the Java environment
could cause a class to "lose" its annotations. I've heard that OSGi
can cause this, but I don't think OSGi is being used here.