Re: how to get reference of a session bean in Action

2001-04-06 Thread Menno M Jansz
n that Action is being exec'd, and I've created my session bean in this Action, and since this Action's ActionForm class spans multiple pages, how do I grab the reference to that session bean the next time that Action is exec'd? It seems a little odd to have to give unique names to a setA

Re: session bean in action

2001-03-31 Thread Dan Miser
gBuildHome) PortableRemoteObject.narrow(ref, ConfigBuildHome.class); -- Dan Miser http://www.distribucon.com - Original Message - From: "G.L. Grobe" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 29, 2001 9:02 PM Subject: session bean in action I'm getting the error at

Re: init'ing a session bean in Action

2001-03-29 Thread Ana Narvaez Vila
what you have to lookup is the jndi name. I am using Weblogic and I have a weblogic-ejb-jar.xml where you say the name you want to put to EJB in jndi directory. jndi-namenamexxx/jndi-name ConfigHome home = (ConfigHome) ctx.lookup("namexxx"); Bye "G.L. Grobe" wrote: Probably not

session bean in action

2001-03-29 Thread G.L. Grobe
I'm getting the error at the bottom and would like to know if there's anything special I need to do inside an Action. Server type is Orion 1.4.5. ConfigBuildBean - Session Bean ConfigBuildHome - EJBHome ConfigBuild - EJBObject -- ejb-jar.xml

init'ing a session bean in Action

2001-03-28 Thread G.L. Grobe
Probably not the right group and I'm new to ejb's and am having a problem getting a sesson bean going from within an Action class (a class from the apache struts framework which probably doesn't make a difference what the class is). Is this on the right track to doing this correctly, though