Dears,
I'm trying to discover how to cluster a dbform application.
My environment is Jboss 4.0.4 and Postgresql ad DBMS.
To enable clustering Jboss (and also tomcat) need to replicate the HTTP 
sessions from one node to another.
For this reason the Http session objects should containg "serializable 
objects".

Now I'm a little confused on dbforms.
I'm trying to debug it to know which kind of object are stored on the 
http session.

I discovered that DataSourceSessionList is added to the HttpSession with 
the method

public static synchronized DataSourceSessionList getInstance.... in the 
class.

Now if I'm right I should implement Serializable on this class. But the 
same class contains an HashMap (ht) that contains DataSourceFactory 
objects... so I should implement Serializable also in this class, then 
for the same reason I must implement Serializable also in 
DataSourceJDBC, and then on the SignleConnectionWrapper (or the 
connection provider), and at the and I should have a Serializable JDBC 
Driver... that's impossible.

Am I right? So is the "real db connection"  stored (directly or 
indireclty) on the session?
In your opinion is there a place where I can brake the "Serializable" 
chain?

I know that the answer should be very difficult...

Thanks
Ivan

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to