Results 1 to 3 of 3
- 08-08-2011, 10:46 AM #1
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,415
- Blog Entries
- 7
- Rep Power
- 17
com.sun.net.httpserver.HttpServer?
Greetings,
I mentioned this before in this forum but it didn't start a discussion, so here it goes again: the title mentions it: in the JSE distribution a nice package is stored wich contains a complete http 1.1 server (see the title). It is also nicely documented here. I wonder if anybody else knows about this thing and, if yes, does anybody do something with this pacakage and classes. I know it is the com.sun.* stuff and we're not supposed to touch it or even look at it, but even when I was young, I secretly opened the gift packages that were put under the Christmas tree and so I peeked around in the rt.jar file (stored in your JRE/lib directory).
As far as I know this package just sits there and isn't used anywhere in the core classes. I tried it and it works as a breeze. It is far more lightweight than those Servlets and JSPs and all the other crap people love so much. Any opinions about it?
kind regards,
JosWhen people rob a bank they get a penalty; when banks rob people they get a bonus.
- 08-08-2011, 11:40 AM #2
I thought it might be an incubator project to be included in the next version, but the sun.com packages are still the same in Java 7
db
- 08-08-2011, 12:30 PM #3
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,415
- Blog Entries
- 7
- Rep Power
- 17
As far as I can see the software itself is mature enough; it's the same with the Derby (JavaDB) software: not a single mention about the inclusion in the JSE distribution so a lot of people don't even know of their existence. w.r.t. that http server: imho it can be a nice lightweight alternative to those Servlets and JSPs ...
kind regards,
JosWhen people rob a bank they get a penalty; when banks rob people they get a bonus.


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks