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

php - How to build a web site which gives a sub-domain dynamically to every registered user? -

c# - Add item to Generic List / Collection using reflection -