Results 1 to 3 of 3
Thread: Did anyone know this?
- 01-26-2010, 05:16 PM #1
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,385
- Blog Entries
- 7
- Rep Power
- 17
Did anyone know this?
Greetings,
In Java 1.6 this is part of the com.sun packages:
com.sun.net.httpserver (Java HTTP Server)
It wasn't there in Java 1.5 and it is all documented. I wonder what they're up to.
kind regards,
Jos
- 01-27-2010, 02:02 AM #2
hey, no I didn't thats an interesting find. now out of box web applications can host nested HTTP services.
On its own though, I wonder how useful it would be for making HTTP based web services. I mean, before one might embed Jetty into their application, and that gives you a servlet container for free as well.
Though I can envision creating a desktop application with simple static HTML manual and help files, and having the application self-host its own HTTP service when it is running, so that when the user clicks help on the menu it can open the system's default web browser and navigate to its self hosted web server, i mean, instead of having to create my own messy swing form based manual with pagination. I always have way too much to say to fit it all into the available spaces :)
- 01-27-2010, 04:06 PM #3
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,385
- Blog Entries
- 7
- Rep Power
- 17
That would be nice but I think if Sun wants to have this in the 'main stream' distribution they have to do a bit more than just include it in the Java 1.6 distribution; I just noticed its existence because I was a bit nosey; Google did the rest. Maybe it's still too early to put that package in the open.
kind regards,
JosLast edited by JosAH; 01-27-2010 at 06:31 PM.


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks