-
Oct 2nd, 2011, 02:05 PM
#1
EJB 3 Spring Webflow
Hi,
Im having EJB 3 annotated Service(Stateless) and DAO with JPA.
Wanted to invoke service object from Spring webflow Action class, since the service objects on EJB container, not sure how to autowire the service in Web layer
-
Nov 15th, 2011, 03:22 AM
#2
I suggest the search as it seems you are making the classic error of trying to convert a proxy to a concrete implementation. You should program to interfaces and not concrete implementations, also since you are using EJB3 you should have enough on a simple JNDI lookup so there should be no need for a full jee lookup.
-
Dec 21st, 2011, 12:01 AM
#3
Can any one explain me with how jndi can help me in calling ejb from spring web part when i am using annotation to connect
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules