Communications between 2 beans

Discussions

EJB programming & troubleshooting: Communications between 2 beans

  1. Communications between 2 beans (2 messages)

    How do I communicate between 2 sessions beans. Do I use RMI to communicate. I have been told that the j2ee enviroment support a regular call beteween 2 methods in 2 beans without using RMI ? Is that possible ?

    Threaded Messages (2)

  2. Communications between 2 beans[ Go to top ]

    u communicate the same way u do when u are a normal java client of a bean. the bean that's servicing doesn't differentiate between normal java clients and ejb clients!
    vijay
  3. Communications between 2 beans[ Go to top ]

    Vijay yes you are rigth. I have just found out that you make a normal lookup() to get in the contact with the other bean. But in the new js2ee 1.3 Final it should be possible to create an insans of a bean and then communicate with the bean. But how is that possible. Would like to see som code :-)