Can anyone give me the descriptons of following terms:
1) )Client- User(EJB Client) who accesses EJB Instances on the Server(EJB Server).
2) )Local Client - If the EJB Server and EJB client are on same Machine. The client accessing the EJB Instance on the EJB
Server becomes Local Client.
3))Remote Client - If the EJB Server and EJB client are on different Machine. The client accessing the EJB Instance on the EJB
Server becomes Remote Client.
4)Client Views - Client Views are the medium to access EJB Instances. EJB Instances cannot be accessed directly. They need to be accessed by the Views Provided by the EJB Instance. (Views are the Interfaces(Local, Local Home, Remote, Remote Home, Local Business, Remote Business, No-Interface ) )
5)Local Client View - Client is a Local Client or Client on the same machine as of EJB Server and hence the Interface is a Local Client View.
6)Remote Client View - Client is a Remote Client or Client on the different machine from EJB Server and hence the Interface is a Remote Client View.
7)No-Interface View - Facility provided for direct access of EJB Instance.
8)Local Business Interface - Local Client View containing Abstract Business Methods of the EJB Class.
9)Remote Business Interface - Remote Client View containing Abstract Business Methods of the EJB Class.
Remote Clients can access EJB Instances only via Remote Client Views(Remote Business Interface) or No Interface Views.
Local Clients can access EJB Instances only via Local Client Views(Local Business Interface) or No Interface Views.
What views should EJB provide (Local Client View(Local Business Interface) or Remote Client View(Remote Business Interface) or No Interface View.)
Ideally In the Enterprise Environment, Only Remote Client View need to be provided. (No interface Views may work for both Remote as well as Local Clients.)
Please Do confirm my Understanding of above EJB Terms. Correct me if I am wrong. help me understand 2.1 specific terms ( 10 - 13 ).
I know Multiple Questions have been asked at the same time, But It will help me understand complete EJB Picture.
What views should your EJB provide depends upon your application . how will you use your application. if the client is not in the same application in which EJB's are then you need to expose remote client view. also no-interface is a variant of local client view. it cannot be accessed by remote clients. local home and component interfaces are related to ejb 2.1. you may skip these topics from the ejb3.1 specs.