Blog
    C#
    ADO.Net
    .NET
    ASP.Net & Web Forms
    Custom Controls
    Web Development
    Exception Handling
    XML
    Database
    Security in .Net
    Testing
    Web Services
    Windows Services
    Windows Controls
    WCF
    AJAX
    WPF
    XAML
    Reporting
    Setup
    VB.Net
    LINQ
    JQuery
    SilverLight
    JavaScript
    HTML5
    Crystal Report
    Cloud Computing
    Share Point
    Visual C++
    MVC
    Android
    PHP
    Java
    HTML
    WordPress
    Joomla
    Products
    Drupal
    Windows Phone
    JSON
    LightSwitch
    iPhone/iPad
    Ruby on Rails
    IIS 7
    Windows 8
    CSS/CSS3
    Excel
    MS Access
    Shortcut Keys
    Visual SourceSafe
    Team Foundation Server
    APIs
Follow Us
Follow _MindStick_ on Twitter View MindStick Software's LinkedIn profile View MindStick Software's Facebook profile
Top Contributor
Advertisement
Advertise with Us
Mindstick
Article Article  Forum Forum  Blog Blog  Quiz Quiz  Beginner Beginner  Careers Careers  Contact Contact  Login Login  
Home | Product | Services | About Us | Interview | DeveloperSection | Submit an Article | Submit Blog
Report Abuse Form
Reason:    
 

Home >> Java >> Enterprise java beans(EJB)
Enterprise java beans(EJB)

What is EJB and its type and difference between session bean and entity bean?
Views: 752     Comments: 0
by Amit Singh on 10/6/2011

Enterprise java beans(EJB)

EJB is a specification, which provides server side applications that communicate with remote clients to provide a given processing function. By definition, EJBs are part of a client/server system. They normally do no function by themselves without any intraction from a client. The client could be a java bean or other non-java objects on the network.

Types of EJBs

EJBs are two types:

·         Session Bean
         Stateful Session Bean
         Stateless Session Bean

Entity Bean
      Container Managed Persistence
            File
            JDBC
         
Bean Managed Persistence
          File
         JDBC

Difference between Entity bean and session bean

An Entity Bean is client independent and has a long life. It needs to maintain an identity for each specific instance. But a session bean is client dependent and exists to serve a single client request and, basically, just disappears after that.

Title :  
Comment :
Text ColorBackground Color
BoldItalicUnderline
LeftCenterRightJustify
Ordered ListBulleted List
IndentOutdent
Horizontal Rule
SubscriptSuperscript
HyperlinkImage
Design ModeDesign
View HtmlHtml
       
 
Report Abuse Form
Reason:    
 
Latest ArticleRSS Feed
    
    
    
    
    
    
    
    
    
    
More...
Latest Blogs by Amit SinghRSS Feed
    
    
    
    
    
    
    
    
    
    
More...
Top Viewed ArticlesRSS Feed
    
    
    
    
    
    
    
    
    
    
Top Viewed BlogsRSS Feed
    
    
    
    
    
    
    
    
    
    
Latest Interview QuestionsRSS Feed
    
    
    
    
    
    
    
    
    
    
More...
Total Online Users: 3460
  
Copyright © 2013MindStick. All Rights Reserved.