This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
hi all I have a Thread running every 1 min and depending on some condition it is to access a session bean. to avoid creation and lookup for every sec i only lookup the first time and than store it in variables. for me there are two clear problems, one EJBObject reference im holding times out for that i am catching NoSuchObjectException and create the reference from the old Home reference i looked up when the thread run the first time. I dont know whether my Home reference will be alive when i try to re-create the EJBObject from it? My second question is what are better ways to cache my objects so i dont have to lookup and recreate them? And will start running every day from morning to evening.. so every day in the morning all the objects will be recreated. Thanks for any kind of Help/ Ideas GUL