Can I override the callback method of Stateless Session Bean in EJB3.0.If yes then how we can do that.And whats the purpose of each method in details.Please anyone tell me the in the depth about all these call back method of Stateless Seesion bean.any rael time example of Stateless session Bean
All suggestion and help must be appriciated.And i am sorry ..my english is not to good bare with it
Thanks in advance
Well what do you already know about session beans and why do you want to know about them? Have you tried googling for some help first? I am hesitant to reply with an answer because this sound suspiciously like a homework.
I know about session bean concept.There are two types of Sb Stateless Session bean and Stateful Session Bean.In Stateless bean it doesnt maintain the session of client.Its having some call back method e,g newInstance(),ejbCreate(),ejbRemove(),setSessionContext etc.
I want to know that in details when these methods are invoked and how in EJB 3.0.can i overrride call back method?
on which algorithm these method executed in the container. i want to know all these things about Stateless Session bean.
I am new to ejb and this is not my homework.
Thanks for your reply nad looking forward to hear from your side explanation of these concepts.
Thanks for Your reply.
We know our Stateless Session Bean go through following CallBack Method in order
why sessionContext is seted to object before creation.After the ejbCreate() instance of our EJB will comes in life.my Question is that where i am setting sessionContext on which object.Because setSessionContext() method is executing before ejbCreate().
Any One please explain about this.
Thanks in advance
Who among you feels worthy enough to be my best friend? Test 1 is to read this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop