Wednesday, January 25, 2006
MDB problem solved - I'm moving for another challenge
it maybe sounds like I'm talking only about my EJB3 presentation (what is almost truth :-)) but now I solved last crucial problem - message driven bean works for now, so I can stick myself for another. The last thing I want to show is NamedNativeQuery and then - hasta la vista EJB 3 - I will continue working to explore some new feature of Java 6 (Mustang) and I'll go for certification. If you'e curious what was the problem, well, it was really tricky byt definitely it was my fault. I forgot to implement MessageListenetr interface and every message driven bean must implement such interface. I read the documentation only once and very briefly so I overlooked the sentence that message driven bean should be annotated as @MessageDriven and should implement MessageListener interface too. Next time I'll be reading documentation carefully ...
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment