Running a Single Method with Complex Input on a Single Bean
This scenario provides two approaches to invoking an EJB method to accommodate complex inputs. Complex input in this scenario is any non-native Java class. Its contents are arbitrary, however, the class must implement the java.io.Serializable interface.