java - By using ejb3 and jsf do I still have to do jndi lookup? -


i not sure jndi lookup necessary or not in terms of ejb3 technology advantages. appreciated, thanks.

yes need to. can use annotations this.

@ejb private beaninterface yourbean 

it injected you. make sure interface annotated @local or @remote. depends on deploy if need specify jndi name in config file or not.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -