Why only one create method in stateless Session beans
posted 12 years ago
Statless session beans are instantiated and pooled by the server itself. Does the EJB container care about parameters? Negative! Stateless session beans are like static methods -- if you need something you have to pass it all in as parameters to whatever function you're calling (or use other lifecycle callback methods to initialize its state so you don't have to). But, you definitely can't have non-empty create methods.