Archive | EJB RSS feed for this section

Working with Message-Driven Beans

April 5, 2011

0 Comments

This article is based on EJB3 in Action, Second Editionand the book will release on October 2011. It is being reproduced here by permission from Manning Publications. Manning publishes MEAP (Manning Early Access Program,) ebooks and pbooks. MEAPs are sold exclusively through Manning.com. All print book purchases include an ebook free of charge. When mobile [...]

email

How to secure EJB Applications?

October 26, 2010

2 Comments

In this article, we will see the various aspects in securing an EJB Application. Security is vital not only for an enterprise application but also for any kind of application. It is essential to identify the system or the users accessing the applications and to provide access or denial for resources within the application based [...]

EJB Interview Questions

February 13, 2009

4 Comments

1. What is EJB? EJB stands for Enterprise JavaBeans and is widely-adopted server side component architecture for J2EE. It enables rapid development of ission-critical application that are versatile, reusable and portable across middleware while protecting IT investment and preventing vendor lock-in. 2. What is session Facade? Session Facade is a design pattern to access the [...]

What is Web Beans?

December 31, 2008

0 Comments

1.Introduction This article introduces new unified framework for the Java EE environment, called Web Beans.This article is written based on the specification available at the time of writing this article. The specification for this framework is still under the public review, so there may be few changes before the final release. You can read the [...]

EJB Webservices in JBoss application server sample code

September 25, 2008

0 Comments

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 Employee Service.java ———————- package [...]

Create EJB 3.0 project in NetBeans 6.1

July 4, 2008

0 Comments

Introduction This article explains how to create EJB 3.0 project using NetBeans IDE 6.1. This article will not explain the details of EJB 3.0 but will give basic knowledge on how to create simple EJB 3.0 project using NetBeans 6.1 IDE. Creating Project in NetBeans 6.1 Step 1 : Create Project Show Full Image Step [...]

Entity Beans in EJB(BMP)

May 25, 2008

0 Comments

ENTITY BEAN WITHBEAN-MANAGED PERSISTENCE ========================================== Thus far, we acquainted ourselves with Sessionbeans ( both stateless & stateful) and also CMP Entity bean. In this instalment, we take up the most difficult type, (ie) Bean-Managed Persistent Entity bean.(BMP) —————————————————————— Example for Bean-Managed Entity Bean ==================================== We have to write the SQL code for Persistence ,ourselves, in [...]

Entity Beans in EJB(CMP)

May 25, 2008

0 Comments

Entity beans are characterized by the following 3 features. a)They are 'Persistent'. ( they are stored in hard-disk) b)They are shared by many clients. c)They have , 'Primary key'. As already mentioned ,Entity beans can be thought of as a record ( or row) in a table of a relational database. ( This is just [...]

How to use EJB with Spring framework?

October 24, 2007

1 Comment

1) Introduction Enterprise Java Beans (EJB) can be used extensively in Spring’s environment. In this article, we will know about the transparent support available in Spring for using the Stateless and the Stateful Session Beans in Spring.The pre-requisite for this article is some basic knowledge in Spring which can be got by reading the article [...]