From: markspace on
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!


This might be a good general subject for mutual education. I didn't
know about that either.

Some things I've learned about that I wouldn't have thought to look for:

Java Dynamic Proxy:

http://www.javaworld.com/javaworld/jw-11-2000/jw-1110-proxy.html
http://java.sun.com/j2se/1.4.2/docs/guide/reflection/proxy.html


Java DB:

http://developers.sun.com/javadb/reference/index.jsp

A SQL database that comes with the JDK. Add it to your Java
applications! Free!




From: Tom Anderson on
On Sat, 23 Jan 2010, markspace 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
>
> This might be a good general subject for mutual education. I didn't know
> about that either.
>
> Some things I've learned about that I wouldn't have thought to look for:
>
> Java Dynamic Proxy:
> http://www.javaworld.com/javaworld/jw-11-2000/jw-1110-proxy.html
> http://java.sun.com/j2se/1.4.2/docs/guide/reflection/proxy.html
>
> Java DB:
> http://developers.sun.com/javadb/reference/index.jsp
>
> A SQL database that comes with the JDK. Add it to your Java applications!
> Free!

The ServiceLoader class and its associated jar file metainfo rules:

http://java.sun.com/javase/6/docs/api/java/util/ServiceLoader.html
http://java.sun.com/javase/6/docs/technotes/guides/jar/jar.html#Service%20Provider

Which standardise and simplify the implementation of plugin-like
behaviour.

tom

--
If your husband does not like risotto, you must throw him out
instantly. That kind of warped character just cannot be tolerated. Next
thing you know he will want to try on your knickers, and then it is all
downhill. -- Giusi, uk.food+drink.misc
From: Steve Sobol on
In article <hjf9jp$g1s$1(a)news.eternal-september.org>, nospam(a)nowhere.com
says...


>
> http://developers.sun.com/javadb/reference/index.jsp
>
> A SQL database that comes with the JDK. Add it to your Java
> applications! Free!

Aside from being part of the JDK, what's the benefit to using JavaDB
instead of sqlite?

(actually, when I go to Vista's "Programs and Features", there's the JDK
listed in one place, and JavaDB is listed as a separate application,
which is interesting...)


--
Steve Sobol, Victorville, California, USA
sjsobol(a)JustThe.net
From: Arne Vajhøj on
On 23-01-2010 11:54, markspace wrote:
> Some things I've learned about that I wouldn't have thought to look for:
>
> Java Dynamic Proxy:
>
> http://www.javaworld.com/javaworld/jw-11-2000/jw-1110-proxy.html
> http://java.sun.com/j2se/1.4.2/docs/guide/reflection/proxy.html

I knew about that.

But it is definitely something flying below most peoples
radar.

I would prefer an AOP framework like AspectJ over it though.

> Java DB:
>
> http://developers.sun.com/javadb/reference/index.jsp
>
> A SQL database that comes with the JDK. Add it to your Java
> applications! Free!

I believe that is mentioned 5-10 times every months here in cljp.

Arne
From: Arne Vajhøj on
On 23-01-2010 16:26, Steve Sobol wrote:
> In article<hjf9jp$g1s$1(a)news.eternal-september.org>, nospam(a)nowhere.com
> says...
>> http://developers.sun.com/javadb/reference/index.jsp
>>
>> A SQL database that comes with the JDK. Add it to your Java
>> applications! Free!
>
> Aside from being part of the JDK, what's the benefit to using JavaDB
> instead of sqlite?

For embedded I can not see much.

But JavaDB=Derby is also a database server.

Arne