Steps to develop EJB Environment
By: aathishankaran
Steps to develop EJB Environment
To develop Enterprise Java Beans, it consists of four steps they are:
- Remote Interface
- Home Interface
- Bean program
- Client program
1.Remote Interface Â
A remote interface is the interface with which the client interacts. The EJB container uses the remote interface for our bean to generate both the client-side stub and a server-side proxy object that passes client calls to our EJB object. Â
2. Home Interface Â
The home interface is the client’s initial point of contact with our EJB components. The client obtains a reference to an object implementing the home interface via JNDI. Â
3.Bean Program Â
Bean program is the business logic. Now the remote and the home interfaces are created and it’s time to implement the EJB bean it self. The EJB bean exists within the container. Â
4.Client Program Â
The client program contains a user interface. The client never communicates directly with the EJB bean rather it talks to the bean through its home interface and its remote interface, both of which are provided by the container.
Archived Comments
1. Very nice article.
Thank you
View Tutorial By: Ahmed Adel at 2013-02-11 18:33:51
2. This tutorial is so simple, often we dont need to google for these.
View Tutorial By: NIrjhar at 2011-12-12 03:29:52
3. This article is very clear,short and direct to the heart of the issue.
But, it will b
View Tutorial By: N JIBRIN at 2007-03-15 11:48:26
Comment on this tutorial
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
Related Tutorials
Creating a JavaBean to Connect with Google API
Spring Vs EJB ( A feature comparison)
What is EJB server and what are EJB Components?
Java Beans and the Expression Language
A sample that shows Java Beans, Servlets and JSP working together
Design Patterns for Properties in a Java Bean
Steps to develop EJB Environment