This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Communication Between 2 Action Classes

 
Naresh Shaan
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

can two action classes on two different application server communicate with each other??

just like two servlets on two different applications communicate using httpurlconnection and servlet inputstream,

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???

thanks,


Regards
Naresh G L
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic