This has been discussed a lot in this forum and the old one.
There are two ways to accomplish what you are after. Read up on @Startup and also on Observing Events (you observe the event that is fired when Seam has started). Also you'll be wanting @Create as well.
Got it, thank you Damian :-)