getResourceAsStream vs JNDI
- From: Clive <sakcee@xxxxxxxxx>
- Date: Sat, 14 Mar 2009 16:39:46 -0700 (PDT)
I was wondering what is the use of getting the resource from jndi
context vs resource stream. If it is not an enterprise applicaiton and
you control the deploy then the getResourceAsStream seems better and
not to get in complication of jndi, esp when you are not using any app
container? is it correct, is there any benefit of jndi lookup when it
is a web application.
.
- Follow-Ups:
- Re: getResourceAsStream vs JNDI
- From: Arne Vajhøj
- Re: getResourceAsStream vs JNDI
- Prev by Date: Re: Forbidden "internal" packages
- Next by Date: getResourceAsStream vs JNDI
- Previous by thread: Collections and Decorators
- Next by thread: Re: getResourceAsStream vs JNDI
- Index(es):
Relevant Pages
|