This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes HTTP post from OSGI bundle. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "HTTP post from OSGI bundle." Watch "HTTP post from OSGI bundle." New topic
Author

HTTP post from OSGI bundle.

Fiedal Kro
Greenhorn

Joined: Jun 02, 2012
Posts: 1
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.
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2409
java.net.HttpURLConnection no good?

I found some introductory OSGi material at http://www.coderanch.com/how-to/java/OSGiLinks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTTP post from OSGI bundle.
 
It's not a secret anymore!