The container must ensure that the enterprise bean instances have only read access to their environment variables. 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.
About Question enthuware.oce-ejbd.v6.2.571 :
Moderators: Site Manager, fjwalraven
-
- Posts: 54
- Joined: Tue Apr 19, 2011 10:32 am
- Contact:
About Question enthuware.oce-ejbd.v6.2.571 :
Hi, I found the reason for the answer in par. 16.3.4, and not in the paragraph mentioned by the answer.
Online
-
- Site Admin
- Posts: 10389
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.2.571 :
Further explanation has been added to the question.
thanks for your feedback!
thanks for your feedback!
-
- Posts: 14
- Joined: Sat Jan 19, 2013 8:42 am
- Contact:
Re: About Question enthuware.oce-ejbd.v6.2.571 :
Hi, The javax.naming.OperationNotSupportedException exception should be thrown only if JNDI lookup and determineActualLocale() method return different locale. Please clarify whether option 1 will be true in all cases.
Online
-
- Site Admin
- Posts: 10389
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.2.571 :
That is correct. It will throw the exception only if a different locale is returned. The problem statement has been updated to make it clear.
thank you for your feedback!
Paul
thank you for your feedback!
Paul
-
- Posts: 358
- Joined: Fri Nov 29, 2013 8:26 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.2.571 :
As the API says at http://docs.oracle.com/javase/7/docs/ap ... .Object%29 ,
The rebind method throws NamingException, instead of OperationNotSupportedException.
The rebind method throws NamingException, instead of OperationNotSupportedException.
Who is online
Users browsing this forum: No registered users and 3 guests