| View: | [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 ] |
| Articles Examples Quizzes | Tips Tutorials |
- A lightweight nonintrusive EJB testing framework by Phil Zoio - [Clicks: 26]
This article presents a simple, easy-to-deploy framework that enables fine-grained tests to be run on the container, making it possible to develop and maintain Enterprise JavaBeans components using a test-driven development (TDD) process.
[Includes source code]
http://www.javaworld.com/javaworld/jw-11-2004/jw-1115-ejbtest.html - Nov, 2004 - An Introduction to Java Object Persistence with EJB by Jeff Hanson - [Clicks: 50]
The 'impedance mismatch' between relational databases' tabular orientation and object-oriented Java's hierarchical one is a perennial problem for which the Java world has several good solution offerings. This article, the first in a three-part series, will look specifically at the EJB specification and its unique way of solving the object-relational mapping problem.
[Includes source code]
http://www.devx.com/Java/Article/22441?trk=DXRSS_JAVA - Nov, 2004 - Local and Remote EJB Interfaces by Olexiy Prokhorenko - [Clicks: 55]
Olexiy Prohorenko discusses strategies for when to use EJB 2.0's local interfaces versus the older, slower, but always-available remote interfaces.
[Includes sample code]
http://www.onjava.com/pub/a/onjava/2004/11/03/localremote.html - Nov, 2004 - Entity Bean Inheritance in WebSphere Application Server by Rakesh Midha - [Clicks: 18]
The lack of guidelines for EJB inheritance in the EJB specification does not mean entity bean inheritance isn't a required feature for J2EE applications. Learn about the inheritance of entity beans so you can develop hierarchal, persistent objects.
http://www.devx.com/enterprise/Article/22144 - Oct, 2004 - Developing Your First EJBs, Part 2 by Bill Burke, Richard Monson-Haefel, Sacha Labourey - [Clicks: 71]
In part one of this two-part excerpt from Chapter 4 of Enterprise JavaBeans, 4th Edition, the authors walked through what you need to do to develop your first entity bean. This week concludes this series with a look at how to develop a session bean, building on the examples presented in part one.
[O'Reilly Book Excerpts: Enterprise JavaBeans, 4th Edition]
http://www.onjava.com/pub/a/onjava/excerpt/ejb4_chap4/index1.html - Sep, 2004 - Developing Your First Enterprise Beans, Part 1 by Bill Burke, Richard Monson-Haefel, Sacha Labourey - [Clicks: 96]
In this first installment of a two-part series of excerpts from Chapter 4 of Enterprise JavaBeans, 4th Edition, you'll learn how to develop and use your first entity bean. Code examples will step you through every aspect of the process.
[O'Reilly Book Excerpts: Enterprise JavaBeans, 4th Edition]
http://www.onjava.com/pub/a/onjava/excerpt/ejb4_chap4/index.html - Sep, 2004 - Creating and Deploying Stateless Session Beans and CMP Entity Beans by Olexiy Prokhorenko, Alexander Prohorenko - [Clicks: 68]
Walk through the steps of creating a stateless session bean, a simple CMP (Container Managed Persistence) entity bean, then deploying everything on a JBoss application server with the support of MySQL.
http://www.developer.com/java/data/article.php/3405781 - Sep, 2004 - Use SOAP to Access EJB Components with PHP by Olexiy Prokhorenko - [Clicks: 30]
PHP code on the front end and EJBs on the back end—how do you make them talk to each other? Apply a little SOAP. Exposing the EJBs as Web services enables PHP to work with them, and SOAP is the key.
http://www.devx.com/Java/Article/21707 - Aug, 2004 - Turn EJB components into Web services by Debu Panda - [Clicks: 76]
Web services have become the de facto standard for communication among applications. J2EE 1.4 allows stateless Enterprise JavaBeans (EJB) components to be exposed as Web services via a JAX-RPC (Java API for XML Remote Procedure Call) endpoint, allowing EJB applications to be exposed as Web services. This article presents a brief introduction to JAX-RPC, outlines the steps for exposing a stateless session bean as a Web service, and provides the best practices for exposing EJB components as Web services.
http://www.javaworld.com/javaworld/jw-08-2004/jw-0802-ejbws.html - Aug, 2004 - Optimizing CMP Entity Beans with Databases by Debu Panda - [Clicks: 26]
Debu Panda shows you how to reduce database operations, tune database/sql access, use caching in the middle tier, and choose the right concurrency mode and locking strategy.
http://www.theserverside.com/blogs/showblog.tss?id=OptimizingCMP - Jul, 2004 - EJB and RMI: A Practical Introduction by Olexiy Prokhorenko, Alexander Prohorenko - [Clicks: 52]
Since both RMI and EJB offer technology for the development, installation, and management of distributed Java applications in the enterprise, Java developers frequently ask whether one is a better option than the other for their given architectures. This article provides practical demonstrations for using RMI and EJB technologies, both individually and in tandem.
http://www.devx.com/Java/Article/20843 - Apr, 2004
- How-To Examples - [Clicks: 562]
The following set of How-To examples have been published to help you get up to speed with the new capabilities available in the OC4J 10g (10.0.3) Developer Preview.
[Note: these How-To examples only work with the OC4J 10g (10.0.3) Developer Preview and not with earlier versions.]
http://otn.oracle.com/tech/java/oc4j/1003/how_to.html - 2004
- Applying Enterprise JavaBeans, Second Edition by Vlada Matena, Sanjeev Krishnan, Linda DeMichiel, Beth Stearns - [Clicks: 103]
This quiz is based on the book Applying Enterprise JavaBeans, Second Edition, an advanced programming guide to the Enterprise JavaBeans 2.1 architecture. Test your knowledge of the latest EJB architecture features.
http://java.sun.com/developer/Quizzes/ejb/applyingejb.html - Jan, 2004
- Revisiting Timers with Enterprise Beans by Robert Eckstein - [Clicks: 30]
The following tip reviews the source code necessary to implement a simple timer in a session bean. The tip builds on the previous tip on timers by discussing some considerations when working with timers. It assumes that you are familiar with the EJB architecture, including both deployment and locally exposing bean methods.
http://java.sun.com/developer/EJTechTips/2004/tt1221.html#2 - Dec, 2004 - The Enterprise Bean Timer Interface by Mark Johnson - [Clicks: 28]
The Enterprise JavaBeans (EJB) 2.1 specification defines a new Timer feature for entity beans, stateless session beans, and message-driven beans. (Timers are not available for stateful session beans.) Timers allow application designers to incorporate time-based behaviors and workflows into their applications in a portable way. ... This tip explains the Enterprise Bean Timer interface. The source code is a LogCleaner session bean that periodically cleans out a log table in a relational database.
[Includes sample code]
http://java.sun.com/developer/EJTechTips/2004/tt0527.html#2 - May, 2004 - Improve Performance by Re-using EJB Homes and DataSources by Gautham Muthuravichandran - [Clicks: 17]
Obtaining EJB homes and DataSources from an application server requires the allocation of expensive resources. Free up these resources by caching and reusing EJB Home objects and the DataSource objects.
http://www.devx.com/tips/Tip/20862 - Apr, 2004 - Using Enterprise Beans with JSP Pages by Mark Johnson - [Clicks: 23]
... JavaBean properties can also be accessed with simple EL expressions. This feature makes Enterprise JavaBeans components (enterprise beans) very easy to use from within JSP pages. Simply place the enterprise beans required by an application view in named attributes (in the appropriate scope), and let the JSP page access the attribute by name in EL expressions. The best way to show this technique is by example.
[Includes source code]
http://java.sun.com/developer/EJTechTips/2004/tt0227.html#2 - Feb, 2004
- Develop enterprise applications with WS-AT and JTA by Simon Maple - [Clicks: 55]
This tutorial gives a practical explanation of the WS-AtomicTransaction (WS-AT) technology and presents a step-by-step guide to create a real enterprise application using WS-AT, a Web Service, and an Enterprise JavaBeans (EJB) service. This simple example will begin a JTA transaction in an EJB service and propagate it to the Web Service using WS-AT. By the end of this tutorial, you will have created a distributed enterprise scenario comprising an EJB container and a Web Service.
[Formats: HTML, PDF, Zip]
http://www-106.ibm.com/developerworks/edu/ws-dw-ws-atomtran-i.html - Jul, 2004 - Easier, breezier EJB components: WebSphere Studio V5.1 simplifies EJB component development by Jeff K. Wilson - [Clicks: 45]
Building EJB technology applications can be professionally lucrative. However, the process of doing so traditionally has been extremely labor intensive. This tutorial introduces you to the EJB technology tools in the latest version of IBM WebSphere Studio Application Developer that can help you build a variety of EJB components with a minimum of coding.
[Formats: Zip, PDF, HTML]
http://www-106.ibm.com/developerworks/edu/i-dw-wes-ejbtls51-i.html - Feb, 2004