Introduction to Enterprise JavaBeans

Introduction to Enterprise JavaBeans thumbnail
Enterprise JavaBeans are small individual components that interact with the rest of Java application architecture.

Enterprise JavaBeans, or EJB, technology provides a distributed component model so that application developers can focus on specific business problems and not have to worry about complex system-level issues. This partitioning allows rapid application development, or RAD, while making the application scalable, robust and secure.

  1. Architecture

    • Java applications have multiple tiers such as the client tier, Web tier and EJB tier. An enterprise bean contains business objects and business logic. Business objects are components of the business model such as a shopping cart object, an account object or a catalog object. Business logic includes procedures and methods that work on the business objects.

    Types

    • The three kinds of enterprise beans are session beans that are private resources used by the client who creates them, entity beans that represent persistent storage objects and the new message-driven beans that process asynchronous messages delivered via the Java Message Service API.

    EJB Containers

    • EJB containers hold enterprise beans and provide services such as the bean creation, maintenance, destruction, transaction processing and a database or similar persistent storage for the bean. An EJB container is a part of an EJB server that provides naming, directory, email and other services to manage the containers and beans.

Related Searches:

References

  • Photo Credit small cup of black coffee and coffee beans image by Maria Brzostowska from Fotolia.com

Comments

You May Also Like

  • Tutorial on Enterprise Java Bean

    Enterprise Java Beans, or EJB, are the server-side components of Java technology, implementing an enterprise-level business logic, such as in transaction processing...

  • How to Create a Java Applet in Netbeans

    Netbeans is an IDE for Java, PHP and Apache. IDE, which stands for Integrated Development Environment, is basically a fancy way of...

  • An Introduction to Relational Database Management Systems

    Relational Database Management Systems (RDBMS) are database software that support a relational database schema. In relational systems, data is grouped together by...

  • Parts of a Coffee Bean

    Most coffee drinkers never encounter a whole coffee bean, let alone the plant that produces it. There are, in fact, many parts...

Related Ads

Featured