Results 1 to 3 of 3
  1. #1
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,523
    Blog Entries
    7
    Rep Power
    20

    Default 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,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is online now Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,237
    Rep Power
    19

    Default

    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

  3. #3
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,523
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by DarrylBurke View Post
    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
    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,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •