You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Background: Apache Streams contains java interfaces which emulate social network REST APIs and implementations (some using Juneau Rest Proxy) for call method on those APIs via java.

Objective: Expose those interfaces / implementations via a hosted REST API, supporting an HTML serialization option, allowing a user to discover what methods are available, activate them, and view the results directly in the browser.

Some Relevant classes:

 

Proof of concept code : TwitterResource.scala

https://gist.github.com/steveblackmon/928396d08b0bde3dfbd601ad3d2200a5

 

Proof of content result :

  • http://localhost:8000/remoteable
  • Error rendering macro 'html'

    Attachment 'TwitterResource.html' not found on page 'Exposing Apache Streams interface with Juneau Remoteable' in space JUNEAU.

 

  • No labels