Results 1 to 6 of 6

Thread: What are an Enterprise Beans?

  1. #1
    Join Date
    Jul 2006
    Posts
    182

    What are an Enterprise Beans?

    I have just started with the J2EE components. I know that the Enterprise JavaBeans (EJB) are implemented by the J2EE components. But I want more information about an Enterprise Beans. Can anyone explain me what are an Enterprise Beans.?? Also I don't know why exactly we use enterprise beans. Is there any benefits using an enterprise beans..?? Also please explain me exactly when we use an enterprise beans.?? Hoping that someone can help me quickly..!!
    "Yea though I walk through the valley of the shadow of death... I will fear no evil." -Psalms 23

    K8N Diamond Plus (BIOS v1.2)
    AMD Athlon 64 X2 4400+
    Antec TruControl 550W
    NVidia GeForce 7900GT (NGO v1.8466 BETA)
    OCZ Platinum 2x1GB (2-3-2-5)
    SATA: WD740
    PATA: 2xWD2500, WD1200, NEC DVD/RW

  2. #2
    Join Date
    Nov 2008
    Posts
    1,192

    Re: What are an Enterprise Beans?

    Before you proceed to the coding, you should always understand the concepts of that particular thing. So before knowing when to use the beans, I think that you should know about the beans. Enterprise JavaBeans (EJB) can be said as server-side component architecture which are used for the modular construction of enterprise applications. Also the beans are said as server-side model that encapsulates the business logic of an application. Hope that you would have understand what does the beans exactly means.!!

  3. #3
    Join Date
    Mar 2008
    Posts
    672

    Re: What are an Enterprise Beans?

    For creating the Java applications by combining with the other resources can be done using an enterprise bean. There are three types of an enterprise beans which are as follows :
    1. Entity beans.
    2. Session beans.
    3. Message-driven beans.

    All beans that are mentioned above resides in Enterprise JavaBeans containers. An interface between the beans and the application server is provided by the EJB container. An earlier versions of beans require connections to a form of persistent storage to store permanent data.

  4. #4
    Join Date
    Feb 2008
    Posts
    1,852

    Re: What are an Enterprise Beans?

    An enterprise beans are used because of their features which are the benefits for the programmer of Java. Only because of their features an enterprise beans are being used very widely for developing large and distributed applications. The system-level services which includes the security authorization and the transaction management are provided by the EJB container to the enterprise beans. Because of this facility the developer can concentrate on solving the problem occurred in it which proves to be very helpful. Also the client developer does not bother about the code that implements business logic or the logic to access the databases.

  5. #5
    Join Date
    Nov 2005
    Posts
    1,323

    Re: What are an Enterprise Beans?

    You want to know that when the Enterprise Beans are being used.!! The following are couple of examples in which you will come to know that exactly when to use an Enterprise Beans. Just have a look on the following scenarios :
    1. The applications that are developed by using an enterprise beans can be examined and dealt with a variety of clients. Such beans are having very few lines of the codes so that the client can locate the enterprise beans. So using an Enterprise Beans over here causes the benefit.
    2. The transaction are also supported by an enterprise beans to make sure the integrity of the database. Transaction is the mechanism of managing the concurrent access of shared objects.

  6. #6
    Join Date
    May 2008
    Posts
    2,012

    Re: What are an Enterprise Beans?

    You should have known much about the Enterprise Beans. So, according to me, you should also know about the contents of an Enterprise Bean, I have provided you with the useful information about the same. You must provide the following files to develop an enterprise bean :
    • Enterprise bean class : This class is used for implementing the methods defined in the interfaces.
    • Deployment descriptor : This is the file in which the information about the bean such as its persistence type and transaction attributes are involved. Such files can be an XML file providing the mentioned information.
    • Interfaces : This file is used when the remote and home interfaces are required for remote access.
    • Helper classes : Other classes needed by the enterprise bean class, such as exception and utility classes.

Similar Threads

  1. Why we use Introspection in Java Beans?
    By taher in forum Software Development
    Replies: 4
    Last Post: 17-02-2010, 06:23 AM
  2. Java Beans Vs Servlets
    By Ram Bharose in forum Software Development
    Replies: 5
    Last Post: 02-02-2010, 11:53 AM
  3. Concept of java beans
    By Jabeen in forum Software Development
    Replies: 4
    Last Post: 01-12-2009, 10:59 AM
  4. Replies: 3
    Last Post: 12-09-2009, 09:48 AM
  5. Replies: 2
    Last Post: 20-08-2008, 05:37 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,115,031.19427 seconds with 17 queries