1 Reply Latest reply on Jul 31, 2005 12:43 AM by Aaron

    Communication Between 2 different WAR files

    vijaiah vangara Newbie

      Hello All,
      How do we communicate between 2 different war files in the same session?
      Is it possible?

      I Really appreciate your help.

      V

        • 1. Re: Communication Between 2 different WAR files
          Aaron Novice

          Hmmm.... I guess that all depends on what you are trying to accomplish. A few things come to mind, although, they may be overkill on what you want to do:

          First you have the Java Messenging system, where you can have java objects send messages to a "queue", and have another object pick those messages up.

          You also have the EJB philosophy, where you can implement an object in an EJB, and call on that EJB from your different WAR applications.

          The last option I can think of, would be to implement a Web Service of some kind.

          Also, I'm curious on what you mean by "same session". It was my understanding that each application has it's "own session" and that the sessions aren't shareable.