Pasing Java object between client (Applet) and EJB
posted 14 years ago
We need to have a java object ( a javabean) that shuld be passed between client(applet) and ejb with good abstraction and perfomance.. What r the pros and cons in the following two designs Inheriting Java Object: By Inheriting the Java Object from the entity bean, the client will get the java object thru remote interface.. Here the attributes of java object shuld be public.. Using Ejb2.0: setting values of the entitybean attributes using abstract set and get methods of ejb2.0 specification. Here we have attributes of java object as private.