This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Can any suggest me some links or pdf's which could help me in developing one application using all three. I tried my best but till now i only got Failure.Can some one suggest me how can i develop the application> And most important i am new to all the three technology although i got few concept of spring and hibernate. Or any sample application which just fetch all the data from database and allow entering of Data. HELP ME PLEASE!!!1
Jeanne Boyarsky wrote:Why do you want to use all three? For a new application, one generally chooses EJB 3 or Spring; not both. With legacy code, having a mixture makes sense. But then you would already have an example.
I thought spring is a j2ee framework just like liferay, seam e.t.c that supports ejb technology. It's like choosing between the java language and the java lang api.
Anyways to the OP AppFuse is a good start. It has good quick start tutorials to set you off.
Joined: Dec 16, 2011
I ran into this thread i find very helpful. Spring and EJB can be used interchangeably. It depends on the project at hand.
Thanks gabriel and jeanne, but my problem is severe.
Now i started my application and about to come at end of module1 but i am facing problem in calling ejb from spring. Somewhat in jndi name. service-name not bound is what i get every time. Can you help me out to get rid of it. My servlet dispatcher named spring-app.xml is
and i get this error every time
Joined: Dec 16, 2011
Make sure your bean (manager) is registered. From your config file the bean definition code is commented out
if you don't need it but you need the other part of the code..
Joined: Nov 14, 2011
Thanks for reply but my problem in am not able to add my bean to JNDI. It is not getting the bean ref so that jndi tree is made.
And as far as manager which is commented out is simply because it would end up giving multiple declaration for bean manager. How would i add it to jndi. If you want I can add my whole code there.