Results 1 to 3 of 3

Thread: EJB 3 Spring Webflow

Hybrid View

  1. #1
    Join Date
    Sep 2010
    Posts
    16

    Default 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

  2. #2
    Join Date
    Nov 2011
    Posts
    3

    Default

    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.

  3. #3
    Join Date
    Sep 2011
    Posts
    11

    Default

    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
  •