Please, don't diss people who are trying to help you. Please read up on what POJO means, and how EJB 2.x works - so you'll know that you need a deployment descriptor where you have to specify your local/remote and home interfaces properly, and get your JNDI naming right, etc.
But, no. As you say, all the above aren't related to your problem.
My last message has disapeared as by miracle from this forum. I understand that this forum is not a democratic one and people administrating it delete messages as soon as they don't like them. If it looks like an old Soviet Union method or as a contemporary Republic of China's one, well it is.
I'm conscient that this message will also be deleted but I need to recapitulate the whole story. So, I didn't have enough information concerning this Spring class and I posted a question to this forum. I received immediatelly a solution saying that it was a known issue in the current version of Spring, fixed by the most recent update. The issue was closed then.
But strangelly enough, I continued to receive replies not really related to my question, from guys trying to teach me EJB, JNDI, etc. I have to say that, as a J2EE specialist with 9 years of exeprience (yes, since 1999 !) I don't need to be taught EJB. The only thing I needed was a sample proving a Spring specific test case, as the concerned class didn't work as stated by the documentation. Once I upgraded to the most recent patch, every thing worked normally.
But I'd like to say to all these persons who are poluating with non-sense replies people who had the naivity to ask a question: I don't know if, you guys, are paid to do that and more you're answering to questions, more you get paid, or if you're simply doing that in order to be able to put it on your cv. All I know is that you remember me these scenes in movies when someone is "helping" a blind person to cross the street, but the blind person doesn't want to cross the street. So before helping a blind person to cross the street please:
- make sure the person is blind
- make sure the persons wants to cross the street
Another metaphore: if someone stops you in the street to ask you the way, don't say: "go to the next book-shop, buy you a town map and manage yourself" because this is not at all what one's expects from you.
Now admin guys, you may delete this message !
I'd consider some anger-management therapy if I were you.
If you take a look at this forum you will notice that 99,9% of the people have problems with setting up basic stuff and that perhaps 0,1% leads to some interesting issues with Spring. Anyone who's wasting his own time here trying to help people for longer then a few weeks learns that people posting "How to use..." questions are trying to make stuff work without bothering to understand how it works, and your post simply looks exactly like that.