This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to instantiate an @Named annotated bean on application startup?

 
Alan Smith
Ranch Hand
Posts: 185
Firefox Browser Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a bunch of data in a database that I would like to use on the homepage of my application. I am using @Named annotated beans. I know that the @ManagedBean annotation has an eager attribute, is there anything similar when using the @Named annotation?

Thanks,
Alan
 
Alan Smith
Ranch Hand
Posts: 185
Firefox Browser Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Thanks but I don't understand how to use that!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic