• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

HTTP post from OSGI bundle.

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am a novice in OSGI. I just got stuck in with an issue. How can I post data to a HTTP server from an OSGI bundle without using external bundles/framework?
I will like to see code sample of a simple OSGI bundle which acts as a HTTP client and can send a string to a HTTP server (tornado, in my case).

Please help me out.

Thanks in advance.
 
Bartender
Posts: 7645
178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
java.net.HttpURLConnection no good?

I found some introductory OSGi material at https://coderanch.com/how-to/java/OSGiLinks
 
reply
    Bookmark Topic Watch Topic
  • New Topic