Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Beans > reusable Sessio...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 1326 of 1372
Post > Topic >>

reusable SessionBean

by Sascha Effert <fermat@[EMAIL PROTECTED] > Oct 12, 2007 at 11:08 AM

Hello,

I am writing a Metadata-Server for a Storage virtualisation using JBoss
4.2.1. There I have a cupple of physical disks used to build a virtual
disk. There are EntityBeans for the the virtual disks and the physical
disk. Next there exists a SessionBean to be called by the storage servers
which decides which physical disk is to be used for a spcified area of the
virtual disk. The askes something like "On which physical Disk schall I
store block 1234 of Virtual Disk 9876?", the Session Bean initializes a
distribution algorithm over the physical disks of the virtual disks and
sends back which physical disk is to be used.

Now my problem: The initalisation of the distribution algorithm takes much
time (up to some minutes). The distribution could be reused for every
request to a virtual disk if the instance could survive between calls. So
I
want something like a hashtable where I can store for any virtual disk an
initialised instance of the distribution algorithm. Is there any way to do
this in JBoss? Or do you have any other suggestion what I can do?

tschau

Sascha Effert
 




 3 Posts in Topic:
reusable SessionBean
Sascha Effert <fermat@  2007-10-12 11:08:48 
Re: reusable SessionBean
efriedNoSpam@[EMAIL PROTE  2007-10-13 04:29:03 
Re: reusable SessionBean
Sascha Effert <fermat@  2007-10-15 11:03:01 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 4:48:02 CDT 2008.