This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
i am using an .ini file to supply the data required for testing. The java Class file will read the .ini file and make appropriate assignments in the EJB client. If I change the data in the .ini file i need to restart the server to make this change reflect during the client assignments. Is there any way to avoid this restarting of the server so that the changes made to the .ini file will get dynamically reflected in the proces.. Thanks in advance Balaji.
Hi 1 You can pack the .ini and classes into a .jar or .war file, each time you modified the .ini, you need to pack them again and redeploy the pack. or 2 Directly moidfy the .ini in your pack and redeploy the pack. or (I am not sure whether this will work out, but servlet reload .ini in this way) 3 put you .ini file in your bean (or bean container ) working directoy, redeploy the bean classes. I think the .ini file only can be read during component initial time, so each time you modify your .ini file, youneed to redeploy the component Howard