Value Object Deserialise


EJB design: Value Object Deserialise

  1. Value Object Deserialise (1 messages)

    Hey all

    I got a doubt, Is it necessary to deserialise the Value Objects in the client tier before using the same in the View (JSP)??

    Is it ok to use the Value Object directly(with out deserialise)to populate the view?

    Can any one say what is the advantage and disadvantage of use the same??

  2. Value Object Deserialise[ Go to top ]

    I don't understand what you are asking for. If a ValueObject is returned from an invocation of an EJB business method, then by that very act, it is deserialized - you don't need to do anything to make this happen.

    Of course, the ValueObject must implement either Serializable or Externalizable.