This discussion is archived
1 Reply Latest reply: Jan 31, 2013 1:14 AM by Frank Nimphius RSS

Http Client usage in AdF

984546 Newbie
Currently Being Moderated
Hi,

I would like to use an Http client for sending & receiving data to/from a remote server on another sandbox. I am thinking of multi-threaded concerns if i place the http client code in an application module ? Would a managed bean be a better place to call the remote object in either case ? Also, we may have >1 connections per hostname at a time.

Thkx
  • 1. Re: Http Client usage in AdF
    Frank Nimphius Employee ACE
    Currently Being Moderated
    Hi,

    I wouldn't use a managed bean for this unless the remote data is only for display and doesn't need to be incorporated in the model. However, in this case still I would use a inlineFrame and display the remote content within the page.

    For remote data access usually you would use a service interface (SOAP or REST) and then access it from the server.

    Frank

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points