[ADF, JDev12.1.3] Why AM method cannot be exposed to the client if it does not return a simple type or serializable? How...?

Hallo,

I would like to know why the methods that I create in the request Module cannot be exposed to the client if they return a simple type or serializable.

If the method returns a custom class object I solve the problem by simply writing next to the defining class "implements Serializable.

I would like to know if it's still OK, or for a custom class with some features I really need to implement the serialization (de).

Thank you

Federico

Return values must be serializable nexus him must be transported between servers and memory a store if your module gets passive

Is normally enough tto implement the serializable interface. But in doing so you do not make the class serializable automatically. To do this, you must check if each attribute or class variable is serialized or to be transitory if they are not serialize the value.

Timo

Tags: Java

Similar Questions

Maybe you are looking for

  • new software says press home to open

    Just install the new software.  When I try to use the phone, it says "press home to open".  When I press the home button it takes me to siri instead of the main screen.

  • Since the update to 32.0 is sit and spin when checking w / FF to see if the plugins are up to date.

    When I go to "Tools" then click on "Add-ons" and then click "Plug-Ins" and then click "Check if Plug-Ins are up-to-date", it goes to Mozilla, check your plug in Page it does sit and turning to checking on the status of your plugins with Mozilla. I us

  • IdeaPad P400 - display does not work.

    Hello, I have a P400 Ideapad, display is not working properly, it will stay black. But if I move the screen forward or backward, it works again, as if she had a bad connection. Especially if I'm pushing on a corner of the laptop, it works perfectly.C

  • WHS 'not connected to the server.

    Hello I have a HP485 with WHS (first version) connected to a PC running XP SP3. ESM used to work fine, but now the icon is gray and I get the message "not connected to the server. I have run the discovery and tried to connect with Windows Media Cente

  • Screen resolution continues to change

    For the past few days Vista continues to change my screen resolution of 800 x 600 at startup, logon, to wake up or screen saver.  Normal resolution for my monitor is 1680 by 1050.  There are a few reboots to recover Vista decision, that I need a 800