verysimple
Programmer
I don't know if it is the correct place but i have a question about serialization.
I make some manipulations with my ViewImpl object and i want to return it in a function in my business service. I don't want to use some data transfer object or something else to pass the resultset as parameter between forms. In order to achieve my goal i added "implements Serializable" to the view implementation class definition. Everything goes ok, no compile errors but I get ClassCastException when I assign the result which I return from my function to the variable. What is wrong with this? Any other method to pass the resultset as parameter between forms? Many thnx.
I make some manipulations with my ViewImpl object and i want to return it in a function in my business service. I don't want to use some data transfer object or something else to pass the resultset as parameter between forms. In order to achieve my goal i added "implements Serializable" to the view implementation class definition. Everything goes ok, no compile errors but I get ClassCastException when I assign the result which I return from my function to the variable. What is wrong with this? Any other method to pass the resultset as parameter between forms? Many thnx.