Only 49 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Passivate and its storage  RSS feed

 
Hari babu
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!