users@glassfish.java.net

Re: How bind resources to naming service

From: Sahoo <Sahoo_at_Sun.COM>
Date: Sat, 26 Apr 2008 10:34:17 +0530

A typo. Read "is allowed to update" as "is *not* allowed to update"

Sahoo
Sahoo wrote:
> A Java EE application is allowed to update JNDI; only read-only APIs
> are available. The Java EE platform spec says the following:
>
> /EE.5.3.4 Java EE Product Provider s Responsibilities
>
> The Java EE Product Provider has the following responsibilities:
> ...
> The container must ensure that the application component instances
> have only read access to their naming context. The container must
> throw the javax.naming.OperationNotSupportedException from all the
> methods of the javax.naming.Context interface that modify the
> environment naming context and its subcontexts./
>
> Thanks,
> Sahoo
>
> glassfish_at_javadesktop.org wrote:
>> Hello,
>>
>> I have a resource, which is a Hibernate SessionFactory, and i want to
>> bind it to the naming service.
>> Can someone point me to any related tutorials or guides?
>>
>> Rudi
>> [Message sent by forum member 'bungrudi' (bungrudi)]
>>
>> http://forums.java.net/jive/thread.jspa?messageID=271240
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>>
>