jsf - Start webapp (EJB3+JSF2) with method from bean instead of page -


i'm pretty new ejb + jsf , i'd webapp's entry point method of bean instead of view.

i mean, when types www.mypage.com i'd go method of bean , redirected view rather go xhtml... how can this?

edit:

i need load data database show in view user sees when enters app. it's not authentication, it's need data loaded before user sees website.

annotating method loads info @postconstruct gets work done :d luiggi mendoza http://stackoverflow.com/users/1065197/luiggi-mendoza


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -