Session bean calling a javabean

Discussions

EJB programming & troubleshooting: Session bean calling a javabean

  1. Session bean calling a javabean (3 messages)

    I using Visual Age 4.0 and websphere 4.0. I'm trying to call a Javabean from a session bean. I'm unable to get the code right. Can anyone give me a hand or point me in the right direction. ?

    Thanks in advance.
  2. Could you be a little less cryptic?[ Go to top ]

    Do you want a stateless session EJB calling a regular JavaBean (that is, simple Java object)? Do you want EJBs to access something from your HTTP session?
  3. Could you be a little less cryptic?[ Go to top ]

    Sorry,

    I need the the stateless session bean to call a regular JavaBean( Java Object) ? Does that help ?
  4. Could you be a little less cryptic?[ Go to top ]

    Still not quite clear: is this just a new object or something from the client session, something that was saved as session attribute, set in <jsp:useBean>? In the former case - obviously there's no problem, in the latter - well EJBs know nothing about the HTTP session, and I see no other choice, but to pass the needed object as an argument to an EJB method call.