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.
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?
I need the the stateless session bean to call a regular JavaBean( Java Object) ? Does that help ?
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.