wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 2408
java.net.HttpURLConnection no good?

I found some introductory OSGi material at http://www.coderanch.com/how-to/java/OSGiLinks
 
 
subject: HTTP post from OSGI bundle.
 
Similar Threads
Calling Osgi service from Servlet
Modular Java: servlet container
OSGi properties file related query
OSGi - Embedded Jetty Server - Servlet unable to get reference to Service Tracker
What is OSGi? Is it appliable to any Java application?