From: Tom Anderson on 21 Jan 2010 18:00 A webserver: http://java.sun.com/javase/6/docs/jre/api/net/httpserver/spec/com/sun/net/httpserver/package-summary.html Move over Jetty! It's in com.sun, so i guess this is not strictly part of the java API, but it's there, it's documented (hey, it says 'spec' in the URL!), and it looks like it's meant to be used. Since 1.6, which is perhaps why i never noticed it before. tom -- You have now found yourself trapped in an incomprehensible maze.
From: Arne Vajhøj on 21 Jan 2010 19:28 On 21-01-2010 18:00, Tom Anderson wrote: > A webserver: > > http://java.sun.com/javase/6/docs/jre/api/net/httpserver/spec/com/sun/net/httpserver/package-summary.html > > Move over Jetty! > > It's in com.sun, so i guess this is not strictly part of the java API, > but it's there, it's documented (hey, it says 'spec' in the URL!), and > it looks like it's meant to be used. Since 1.6, which is perhaps why i > never noticed it before. It is not in the regular API docs. So even though it is documented, then it is not part of the Java standard. It is known about. Google finds: http://blogs.sun.com/michaelmcm/entry/http_server_api_in_java http://blogs.operationaldynamics.com/andrew/software/free-java/sun-secret-webserver.html etc. Arne
From: Lew on 22 Jan 2010 00:00 Tom Anderson wrote: >> A webserver: >> http://java.sun.com/javase/6/docs/jre/api/net/httpserver/spec/com/sun/net/httpserver/package-summary.html >> >> Move over Jetty! >> >> It's in com.sun, so i guess this is not strictly part of the java API, >> but it's there, it's documented (hey, it says 'spec' in the URL!), and >> it looks like it's meant to be used. Since 1.6, which is perhaps why i >> never noticed it before. Arne Vajhøj wrote: > It is not in the regular API docs. > > So even though it is documented, then it is not part > of the Java standard. Lots of libraries are documented without being part of the Java standard. There's nothing odd about that. Heck, I myself have even written Java libraries that are documented. -- Lew
From: Arne Vajhøj on 22 Jan 2010 22:23 On 22-01-2010 00:00, Lew wrote: > Tom Anderson wrote: >>> A webserver: >>> http://java.sun.com/javase/6/docs/jre/api/net/httpserver/spec/com/sun/net/httpserver/package-summary.html >>> >>> Move over Jetty! >>> >>> It's in com.sun, so i guess this is not strictly part of the java API, >>> but it's there, it's documented (hey, it says 'spec' in the URL!), and >>> it looks like it's meant to be used. Since 1.6, which is perhaps why i >>> never noticed it before. > > Arne Vajhøj wrote: >> It is not in the regular API docs. >> >> So even though it is documented, then it is not part >> of the Java standard. > > Lots of libraries are documented without being part of the Java > standard. There's nothing odd about that. Heck, I myself have even > written Java libraries that are documented. Java libraries with matching documentation is very common. But this case is a bit more complex. This is a library that already have an existing official documentation. And a library that i supposed to allow other to implement a compatible implementation using the official docs. If some wrote and app and used one of your libraries and had to switch from SUN to IBM Java, then it would work automatically as long as your jar files were in classpath. If someone uses SUN classes in rt.jar and have to switch from SUN to IBM Java, then I could see lots of potential problems. Arne
From: Tom Anderson on 23 Jan 2010 06:44 On Thu, 21 Jan 2010, Arne Vajh?j wrote: > On 21-01-2010 18:00, Tom Anderson wrote: >> A webserver: >> >> http://java.sun.com/javase/6/docs/jre/api/net/httpserver/spec/com/sun/net/httpserver/package-summary.html >> >> Move over Jetty! >> >> It's in com.sun, so i guess this is not strictly part of the java API, >> but it's there, it's documented (hey, it says 'spec' in the URL!), and >> it looks like it's meant to be used. Since 1.6, which is perhaps why i >> never noticed it before. > > It is not in the regular API docs. So even though it is documented, then > it is not part of the Java standard. Yes, as i said. > It is known about. Google finds: > http://blogs.sun.com/michaelmcm/entry/http_server_api_in_java > > http://blogs.operationaldynamics.com/andrew/software/free-java/sun-secret-webserver.html > etc. I'm not surprised it's known about. But *i* didn't know about it, and that's all that matters! tom -- I am become Life, destroyer of worlds
|
Next
|
Last
Pages: 1 2 3 4 Prev: any good site for java Next: 120252 Answers to your Computer question! 87 |