What is Web Beans?

java-ee-thumbnail

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 3.0 Entity Manager

java-ee-thumbnail

Entities are classes that need to be persisted; their state is stored outside the application, typically in a relational database. Unlike session beans, entities do not have business logic other than validation. As well as storing such entities, we want to query, update, and delete them. also read: Java EE Tutorials EJB Interview Questions EJB 3 Web Services […]

EJB Webservices in JBoss application server sample code

java-ee-thumbnail

also read: Java EE Tutorials EJB Interview Questions EJB 3 Web Services Annotation and Dependency Injection in EJB 3 Query API in EJB 3 deploy above two classes by archieving in a jar and copy it to deploy folder of jboss then run ur jboss server with url http://localhost:8080/jbossws there u will get all ur […]

EJB 3.0 and WebServices

java-ee-thumbnail

This article discusses how an enterprise bean can act as a Web-Service component. Since Web-Services itself is a vast technology, the first part of the article discusses more about Web-Services. Specifically, the first part of the article discusses what Web-Services are, its unique features among other related technologies, its architecture, and the various base components […]

Create EJB 3.0 project in NetBeans 6.1

java-ee-thumbnail

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. also read: Java EE Tutorials EJB Interview Questions EJB 3 Web Services Annotation and […]

Entity Beans in EJB(BMP)

java-ee-thumbnail

ENTITY BEAN WITHBEAN-MANAGED PERSISTENCE Thus far, we acquainted ourselves with Sessionbeans ( both stateless & stateful) and also CMP Entity bean. also read: Java EE Tutorials EJB Interview Questions EJB 3 Web Services Annotation and Dependency Injection in EJB 3 Query API in EJB 3 In this instalment, we take up the most difficult type, […]

Entity Beans in EJB(CMP)

java-ee-thumbnail

Entity beans are characterized by the following 3 features. They are 'Persistent'. ( they are stored inhard-disk) They are shared by many clients. They have ,'Primary key'. also read: Java EE Tutorials EJB Interview Questions EJB 3 Web Services Annotation and Dependency Injection in EJB 3 Query API in EJB 3 As already mentioned ,Entity […]

Hibernate Vs EJB 3.0

java-ee-thumbnail

Originally published in DeveloperIQ magazine What is CMP and BMP in EJB? So, why is it that Entity beans alone were found wanting and the specification keeps on changing? Entity beans are of two types. CMP & BMP. CMP stands for Container-Managed Persistence and BMP stands for Bean-managed persistence. Theoretically, the EJB specification does not […]

How to use EJB with Spring framework?

spring-thumbnail

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 […]

Sample Application for Java Persistence API (JPA)

java-ee-thumbnail

This article is the last part of the article series Java Persistence API (JPA), the earlier articles are introduction to JPA and the query api in JPA. This article is only for explaining the sample program with concepts used in the previous articles. I would recommend reading the previous two articles before start analyzing this […]