Subscribe: TheServerSide: TheServerSide: Message List - Using the ServiceLoader API to build modular applications
http://www.theserverside.com/rss/thread.tss?thread_id=44603
Preview: TheServerSide: TheServerSide: Message List - Using the ServiceLoader API to build modular applications

Support Forums: Message List - Using the ServiceLoader API to build modular applications



Most recent forum messages



Published: Sat, 01 Oct 2016 08:34:33 -0400

 



Re: ServiceLoader API considered harmful

Mon, 04 Aug 2008 19:10:11 -0400

The ServiceLoader API is going to cause no end of pain. Please don't use it. I'm talking to you, Sun. Here's why:

The ServiceLoader API assumes that you will only ever need one implementation of an interface. From the...



ServiceLoader API considered harmful

Wed, 14 Mar 2007 07:01:00 -0400

The ServiceLoader API is going to cause no end of pain. Please don't use it. I'm talking to you, Sun. Here's why:...



ServiceLoader vs Spring lightweight plug-ins

Tue, 13 Mar 2007 14:07:38 -0400

Shortly after I wrote an article on using Spring as the basis for a lightweight plug-in environment....



Successes with the pattern

Tue, 13 Mar 2007 12:57:04 -0400

I've had several successes using the ServiceLoader API pattern even before Java 6. I've used it to find implementations of a service at runtime for processing ACORD XML, loading board game strategies, loading POP3 Proxy filters, etc. I 'm glad that Sun...



Re: Using the ServiceLoader API to build modular applications

Tue, 13 Mar 2007 12:53:00 -0400

Huh?...



Too Easy...

Tue, 13 Mar 2007 09:03:50 -0400

I'm hard-pressed to convince the tech-junkies that this will work instead of adding a bunch of Spring dependencies and writing an XML file that does the same thing....



Re: Using the ServiceLoader API to build modular applications

Tue, 13 Mar 2007 07:17:12 -0400

This is a very thin concept of pseudo-plugin. Once JSR 277 is finalized and included in Java 7 people would probably forget about ServiceLoader.



Using the ServiceLoader API to build modular applications

Mon, 12 Mar 2007 11:12:20 -0400

Talios has written "Using the ServiceLoader API to build modular applications," discussing how he used a facility in Java 6 - the...