wood burning stoves 2.0*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes EJB Terms. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "EJB Terms." Watch "EJB Terms." New topic
Author

EJB Terms.

Pankaj Shet
Ranch Hand

Joined: Sep 08, 2006
Posts: 272

Hi Ranchers,

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.

10) Local Home Interface -

11) Remote Home Interface -

12)Local Interface -

13) Remote Interface

14) EJBObject - EJB Instance.


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.

Thanks and Regards,

-Pankaj.















PANKAJ SHET
B.Sc.(I.T.), S.C.J.P., S.C.W.C.D., PGDAC(CDAC)
gurpeet singh
Ranch Hand

Joined: Apr 04, 2012
Posts: 924
    
    1

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB Terms.