enthuware.oce-ejbd.v6.2.444
Posted: Fri Jul 29, 2011 8:03 pm
Question, why "A client cannot access XLocal so it is not required in the client jar."? I understand the "client jar" part, but it could be on the same JVM and use XLocal, or I'm confused?A client cannot access XLocal so it is not required in the client jar.
A client has no knowledge of the implementation code, so XBean is not required in the client jar.
Since XRemote uses Order, it needs to be in the client jar.
Stub class are generated by the container. They need not be packaged in the client jar.
The client view of an enterprise bean is comprised of the business interfaces or home and component interfaces of the referenced enterprise bean and other classes that these interfaces depend on, such as their super classes and super interfaces, the classes and interfaces used as method parameters, results, and exceptions. The serializable application value classes, including the classes which may be used as members of a collection in a remote method call to an enterprise bean, are part of the client view. An example of an application value class might be an Address class used as a parameter in a method call.