RE: Stateless Session Bean Initialization Pattern

2001-03-12 Thread Juan Lorandi (Chile)
Inside the servlet, declare a public static synchronized (uf) field. Then declare a public static method, to retrieve the field public static MessageBundle ms; public static synchronized getMS() { return ms; } then inside your SLSB: private MessageBundle ms; //it could even be static??

Re: Stateless Session Bean Initialization Pattern

2001-03-12 Thread colin harris
can you not use a stateful session bean and initialise each instance, using ejbCreate ? or is there some reason why you can't use a stateful bean?? - Original Message - From: "Neal Kaiser" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Monday, March 12, 2001 1:25 AM Su

Re: Stateless Session Bean Initialization Pattern

2001-03-11 Thread Romen Law
ello, By definition Stateless Session Beans are stateless. How can you initialise something that is stateless? The alternatives are to use Stateful Session Beans or application scope Java Beans in your JSP. cheers romen IT Architect, Business And Data Services IBM GSA TEL: 612-84484716 FAX: 6