Wrox Home  
Search P2P Archive for: Go

  Return to Index  

j2ee thread: JNDI Confusionand Exception??????


Message #1 by sumit_sood@s... on Thu, 28 Feb 2002 16:36:38
hi friends,
         i would like to have some inputs from regarding JNDI which are 
listed here :

 1.when should i use name in jndi like java:comp/env/ejb/....
       eg :context.lookup("java:comp/env/ejb/UserHome");
 2.when i can use diretly UserHome
    eg :context.lookup("UserHome");
 3. does it matter it affect naming during deployment when i pack all the  
beans in one jar file or whether i make one to one mapping for jar and 
bean files.
 4. also user defined Exception exception are caught does have some 
restrictions...for example i have been unable to catch my own defined 
catch in try..catch() block of UserDeined Exception instead it is caught 
in Exception block.

i amworking on WebSphere 4.0.1

it will be helpgul to you all and also if you can send some reference code 
to me..
thanks..keeping the java spiit alive
regards
sumit 

   
 

  Return to Index