Tuesday, February 19, 2008

JAX-RPC Compliance

The following types are supported by JAX-RPC:
  • Primitives - boolean, byte, short, int, long, float, and double
  • Classes - String, Date, Calendar, BigInteger, BigDecimal, QName, and URI
  • Arrays of the above
  • Exceptions extending java.lang.Exception

Also a class which complies with the following:

  • Has a public default constructor
  • Does not implement java.rmi.Remote (directly or indirectly)
  • Its fields are also compliant and have getter and setter methods

Part 2: Validate Java classes for compliance to JAX-RPC

No comments: