A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Communication Between 2 Action Classes
Joined: Mar 18, 2006
Mar 07, 2007 23:10:00
can two action classes on two different application server communicate with each other??
just like two
on two different applications communicate using httpurlconnection and
i tried to use the same API between two action classes on different application server,
i am not getting any exception in identifying the second action class, but when i open servlet input stream and try to read bytes, i get nothing.
has anyone tried this sort of communication before???
Naresh G L
"The greatest pleasure in life is doing what people say you cannot do." - Walter Bagehot
Joined: Feb 15, 2005
Mar 08, 2007 09:35:00
I haven't tried this type of communication between action classes. If this were my application, I'd extract the logic from Action B and turn it into a web service. I'd then access the web service from Action A.
I agree. Here's the link:
subject: Communication Between 2 Action Classes
Servlet Chain and Request Parameters.
two way communication
communicating between two web application
Communicate between two Sessions
Servlet - Servlet Communication
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014