This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Java in General and the fly likes difference b/w API and SPI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "difference b/w API and SPI" Watch "difference b/w API and SPI" New topic

difference b/w API and SPI

Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1871
hi all
i was reading JNDI and i read SPI and API conventions. i read a paper written having some more explanation about SPI and API etc (found via Gooogle) but i'm not really convinced about the use of SPIs.
i mean why increase one more level of things? i understand that if there are SPIs at some places they might be worth using because ppl rn't crazy
can anybody try to explain it to me in better way or provide some pointers to some links or books which could satisfy me?
i tried to think myself about the utility of SPI but i think if like JNDI has- SPIs r only set of some factory interfaces/abstract classes then how far it is worth using it which would increase one more level of dereferencing and all u know...
please help me.
I agree. Here's the link:
subject: difference b/w API and SPI
Similar Threads
SCJP 5.0 Preparation
JAX-WS use of tools (wsimp , wsgen)
using the RMI registry for accessing a DataSource via JNDI ?
Spring, in Spring-Struts-Hibernate application
about ldap and jaas?