Tutorial search

Java Tutorials
Tutorials
Stuff
Affiliates

Java EJB Tutorials


We hope that you will enjoy our Java EJB tutorials. Feel free to contact us if you would like to be a tutorial hero and contribute your own Java EJB tutorials to our site. Thank you !

Sort by:
Accessing EJBs through firewalls
Accessing EJBs through firewalls
Ever try to write a J2EE application accessing EJBs across a firewall? It can be messy, and developers often must resort to all kinds of workarounds, none of them particularly "neat." Developers often write a servlet to intercept HTTP requests and delegate them to EJBs, which is kind of a kludge. Another approach that uses tunneling technologies-such as RMI over HTTP-can entail a big performance hit. But there is a better way. You can solve this problem elegantly by using Java Secure Socket Extension (JSSE).
Category: Java tutorials > EJB - Difficulty:
EJB exception handling
EJB exception handling
As J2EE has become the enterprise development platform of choice, more and more J2EE-based applications are going into production. One important component of the J2EE platform is the Enterprise JavaBeans (EJB) API. Together, J2EE and EJB technology offer many advantages, but with these advantages come new challenges. In particular, any problem in an enterprise system must be resolved quickly. In this article, Enterprise Java programming veteran Srikanth Shenoy reveals his best practices in EJB exception handling for faster problem resolution.
Category: Java tutorials > EJB - Difficulty:
CMP EJB relation tutorial
CMP EJB relation tutorial
Tutorial explaining how to create CMP EJBs(container managed persistence) with a foreign key relation. Step by step example with sourcecode included.
Category: Java tutorials > EJB - Difficulty:
EJB 3 and Struts Framework Tutorial using JBoss
EJB 3 and Struts Framework Tutorial using JBoss
This tutorial explains how to create a complete web application using EJB 3 and the Struts Framework. Step by step the web application is created. Full source code is provided as well.
As applicationserver JBoss is used but you may replace it by any EJB 3 Server.
Category: Java tutorials > EJB - Difficulty:
Spring MVC Application Architecture
Spring MVC Application Architecture
This tutorial will present the entire picture of a Spring MVC web application to better explain the individual roles that Spring MVC plays and where it fits in the overall architecture.
Category: Java tutorials > EJB - Difficulty:
EJB 3.0 Persistence out of a J2EE container
EJB 3.0 Persistence out of a J2EE container
In this article we will learn how to manage the persistence issues without being tied to use a J2EE application server.
We will build a very basic sample application that saves and loads data on a database using an EJB 3.0 persistence implementation.

At present (April 2007) there exist two implementations of the EJB 3.0 persistence specification: the first is Hibernate-based and was adopted by JBoss, while the other is Oracle Toplink, included into the Oracle Application Server OC4J and into the EJB 3.0 Sun Reference Implementation also known as Glassfish Project .
Note that EJB 3.0 persistence specifications are only a part of the EJB 3.0 specifications. They do not deal with Session Beans (stateless or stateful), but only with the Entity Beans.
Well, the good news is that, as long as we need only the EJB 3.0 persistence layer and do not need Session Beans, we can use Hibernate or Toplink implementation (our choice!) just into any Java application, without the need of a J2EE container, not even a web server, just from a plain Java class!

Category: Java tutorials > EJB - Difficulty:
Struts Hibernate Integration
Struts Hibernate Integration
In this tutorial we will show how the Web Framework Struts and the Database Persistence Solution Hibernate can be used together.
Category: Java tutorials > EJB - Difficulty:
EJB 2.1 Kick Start : Implementing a Solution Using EJB 2.1.
EJB 2.1 Kick Start : Implementing a Solution Using EJB 2.1.
Sample chapter from "EJB 2.1 Kick Start" on installing an application server to developing and deploying an EJB on it.
Category: Java tutorials > EJB - Difficulty:
Introduction to EJB
Introduction to EJB
This article gives an overview of an EJB with JBoss as AS and DOS as a client
Category: Java tutorials > EJB - Difficulty:
EJB 3 tutorial using Eclipse, Ant and JBoss
EJB 3 tutorial using Eclipse, Ant and JBoss
First EJB 3 Tutorial explaining Ant and showing how to create a session and entity beans with EJB 3 annotations and JBoss.
Category: Java tutorials > EJB - Difficulty:
First Hibernate
First Hibernate
Tutorial showing how to create a first Hibernate application. Full source code is included. The new Hibernate 3 version is used.
Category: Java tutorials > EJB - Difficulty:
eclipse xDoclet EJB Tutorial
eclipse xDoclet EJB Tutorial
Basic Tutorial showing how to create an entity EJB using xDoclet. Source code is included. As IDE we used eclipse with the Myeclipse plugin. As Databased PostgreSQL or Mysql can be used.
Category: Java tutorials > EJB - Difficulty:
EJB 3 Tutorial using Eclipse, MyEclipse, JBoss
EJB 3 Tutorial using Eclipse, MyEclipse, JBoss
EJB 3 Tutorial using Eclipse and the MyEclipse plugin showing how to create session and entity beans with EJB 3 annotations and JBoss application server.
Category: Java tutorials > EJB - Difficulty:
Session Bean facade to an Entity EJB
Session Bean facade to an Entity EJB
Tutorial explaining how to use the session bean facade pattern. A simple session EJB and a entity bean is created with xDoclet using eclipse/myeclipse as IDE. Step by step example with sourcecode included.
Category: Java tutorials > EJB - Difficulty:
Total Tutorials in Category: 14