This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

EJB Access Using Spring/(WSAD)

Sep 20th, 2004, 03:17 PM

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.