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
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
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
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
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
5 matches
Mail list logo