View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820631#3820631

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820631

Hi Juha,

Thank you very much.



I wandered whether there is a harm to call a singleton class from the ejbCreate method 
in order to retrieve the array of objects and populate 

the bean's instance field with it?



I know that EJB must avoid using static fields and the singleton class has static 
field.



Do you think it's a good choice to do like that??

Could this raise performence issues??



I precise that the bean's method delegates every client call to the objects method 
contained in bean's intance field.



Thank you very much.

Cari.


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to