Results 1 to 3 of 3

Thread: EJB Access Using Spring/(WSAD)

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Posts
    25

    Default EJB Access Using Spring/(WSAD)

    Hi,

    I have a urgent need for the following:

    I'm using the Spring/Hibernate framework in a WSAD environment, and need to call a sesssion EJB from my application client. The bean will run in the container and the client outside (separate JVM's) I assume. I do know that a look up of the EJB remote inteface is required and have been told that Spring has the functionality to ease the coding reqiured.

    I need to know how I can utilise the the framework to consume the bean from the application, ie get the framework to do the JNDI lookup etc. I think I know what to do, but I do not have the experience to put the code together. Simple code examples (plus where to put it) would greatly assist.


    I do know that I require the following:

    1. EJB implementation code (not business logic!) ie Spring libraries for doing ejb.create.

    2. Code in Client application to allow Spring to do JNDI lookup and then code to call EJB Service.

    4. ejb-jar.xml environment entry <env-entry-name> for EJB service.

    5. EJB Service XML configuration file.

    6. JNDI.proprties to allow Spring to look up JNDI name.

    Thanks in advance

  2. #2
    Join Date
    Aug 2004
    Location
    u.s.a
    Posts
    399

    Default

    The reference manual has a section on this.

    http://www.springframework.org/docs/reference/ejb.html

  3. #3
    Join Date
    Sep 2004
    Posts
    25

    Default

    Thanks

Similar Threads

  1. Access to model
    By maveganzones in forum Web
    Replies: 6
    Last Post: Jul 8th, 2005, 01:00 PM
  2. Replies: 0
    Last Post: Jun 10th, 2005, 05:44 AM
  3. Replies: 2
    Last Post: Apr 29th, 2005, 02:17 AM
  4. Replies: 2
    Last Post: Nov 1st, 2004, 01:43 PM
  5. What's available after access denied?
    By pburleson in forum Security
    Replies: 4
    Last Post: Oct 29th, 2004, 09:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •