This content has been marked as final.
Show 3 replies
-
1. Re: Using an mBean with @Service & @ Management
bdecoste May 22, 2006 2:37 PM (in response to abronson)You need to include the interface class in the @Management annotation or put the @Management annotation on the interface class:
@Service @Management(ServiceManagement.class) public class ServiceImpl implements ServiceManagement { ... }
OR@Management public interface ServiceManagement { ... }
-
2. Re: Using an mBean with @Service & @ Management
abronson May 22, 2006 4:15 PM (in response to abronson)I forgot to put that in the first post. I did it each way you described and it did not work either time.
-
3. Re: Using an mBean with @Service & @ Management
bdecoste May 22, 2006 9:35 PM (in response to abronson)You don't need any xml for EJB3, although you can use deployment descriptors to augment or override annotations.
I just noticed this in your original post - deploy the ear to "deploy" directory, not the "deploy-hasingleton" directory.