Hi all, When the container passivates an EJb and stores the data on to some storage, where does the EJB store the data ? Will it staore in my c: or where ever the application server is installed. If it stores in c:, what happens if i make the drive or all the files under that as read only ? Hari
posted 14 years ago
This functionality is dependent on your application server. Most application servers (that I know of) allow you to configure where on disk your stateful session beans are passivated. Some might even allow you to write the passivated ejb to a database instead of disk. Check the documentation for you application server for more detail. If you make the directory where the state is to be written read-only only then obviously things are going to start failing.