Using EJB accelerators with application servers

EJB accelerators exist primarily in the middle tier of a J2EE architecture. Their role is to accelerate the performance of storing data needed for Enterprise Java Beans (EJBs). By speeding up the performance of the data storage, the performance of EJBs are accelerated in general. There are four ways that this can be done. 

  1. The first way is with a transparent interface such as Java Data Objects (JDO) coupled with an object database. In this case, there is no need for a mapping layer because the Java object model is the same model used by the object database. See transparent persistence in object databases (new window). The lack of a mapping layer is show in this diagram.

    EJB accelerators with application servers
  2. The second way is with a transparent interface such as Java Data Objects (JDO) coupled with a relational database. In this case, there is a need for a mapping layer because the Java object model may not match the model used by the relational database. Nevertheless, the mapping can be moved to one location as described in JDO data conversion (new window). Also see transparent persistence in object-relational mapping (new window)
     
  3. The third way is with a call-level interface such as JDBC coupled with a relational database. In this case, there is a need for a mapping layer because the Java object model may not match the model used by the relational database. The mapping would need to be done at the application level as described in JDBC data conversion (new window). Be sure to take a look at transparent persistence vs. JDBC call-level interface (new window). This outlines some disadvantages of using JDBC that you should consider when designing persistence for J2EE.
  4. The fourth way is with SQLJ and a relational database. This would be useful primarily if the relational database does not contain any existing data. This would make it possible to minimize the mapping described in SQLJ data conversion (new window). Also see SQLJ (new window) and mapping SQL and Java data types (new window).

Also, be sure to check out how EJB accelerators can be part of integrated J2EE architecture solutions (new window).

Using JDO, as shown in this diagram, will not require data conversion between the interface and the database. See EJB accelerator data conversion.

 

Web Services and Service-Oriented Architectures
Online articles>
Consulting
Mentoring
Speaking
Suggested programs
Stencils for the Savvy Manager's Guide
Links
Mail list
Privacy policy
Sitemap
Contact
Web Services articles
XML standards and vocabularies
Application server articles>
Database concepts and standards
Object database articles
Relational database articles
Object-relational mapping articles
XML database articles
XML middleware articles
Article Sponsorship
Reprint policy
Application server definition
When an application server should be used
Application server achitectures>
J2EE architecture solutions
Article suggestions
Using JDBC with application servers
Using SQLJ with application servers
Using JDO with application servers
Using EJB accelerators with application servers>
EJB accelerator data conversion
When to use EJB accelerators with Java application servers

Related recent articles from Google News


Towards the Social Web: Ringside Seats for the Social Big Bang
CMSWire, CA - 11 hours ago
An early front-runner is what Ringside call its Social Application Server, which ?enables website owners to weave social capabilities directly into existing ...

Premium Virtual Application Servers for SaaS Hosting: A Step Above ...
WebWire (press release), GA - 20 hours ago
Ultropicmedia has developed a full service Virtual Application Server (VAS) to take the worry out of your web infrastructure. Rather than use piecemeal ...

Ericsson Joins Sun With Tools And Expertise For Developer Communities
SDA India Magazine, Singapore - 15 hours ago
Ericsson will also contribute its standards-based SIP Servlet 1.0 application server, to the GlassFish community under the OSI-approved Common Development ...
Sun Microsystems Announces Technology Preview of Glassfish Hardware Zone
all 2 news articles

WSO2 Named ?Cool Vendor? by Leading Analyst Firm
Business Wire (press release), CA - 12 hours ago
Other key products include the WSO2 Web Services Application Server and WSO2 Enterprise Service Bus, both based on Apache Axis2; WSO2 Web 2.0-enabled ...

FalconStor Develops Storage Replication Adapter for VMware Site ...
WELT ONLINE, Germany - May 12, 2008
... ensuring all virtual machines are recovered during a disaster while eliminating the costs of additional physical application server requirements for ...

More related news: "application server" - Google News

Related books at Amazon.com


Expert One-on-One J2EE Design and Development (Programmer to Programmer)
by Rod Johnson
Average Customer Review: 5 stars based on 33 reviews.
Customer Review: I thoroughly enjoyed reading this book, particularly well-thought out design guidelines for developing J2EE application with or without EJB. The author introduced several best practices particularly the concepts and usage of Spring and Hibernate based j2ee development is quite helpful. In addition to this book, I find patterns and b...

J2EE Web Services: XML SOAP WSDL UDDI WS-I JAX-RPC JAXR SAAJ JAXP
by Richard Monson-Haefel
Average Customer Review: 4 stars based on 30 reviews.
Customer Review: Perfect book for a beginer. The book starts from basics to leads complex points in a balanced manner.

Core J2EE Patterns: Best Practices and Design Strategies (2nd Edition) (Core Series)
by Deepak Alur, Dan Malks, John Crupi
Average Customer Review: 4.5 stars based on 40 reviews.
Customer Review: This book is about using patterns for the J2EE platform, using best practices to design applications that use JSP, Servlet, EJB components, and JMS technologies, preventing reinvention of the wheel when it comes to design and the J2EE platform, and finally identifying bad practices in existing designs and refactoring those designs. ...

Expert One-on-One J2EE Development without EJB
by Rod Johnson, Juergen Hoeller
Average Customer Review: 4.5 stars based on 28 reviews.
Customer Review: By now a classic, this book eloquently expressed how the Corba component design committees came up with an EJB specification that was not an ideal cornerstone for all J(2)EE applications. Although very fit for selected purposes the early EJB specs had to evolve to EJB 3 to really leverage the power of Java. Fundamentals of component...

Core Security Patterns: Best Practices and Strategies for J2EE(TM), Web Services, and Identity Management (Core Series)
by Christopher Steel, Ramesh Nagappan, Ray Lai
Average Customer Review: 4.5 stars based on 32 reviews.
Customer Review: This is a great book - by far the best security design book for Java and J2EE (including Java SE 6 and Java EE 5) I have read to date. When I first heard about my coworkers talking about this book, I thought "oh great, another J2EE book!" Much to my surprise, this book is not just a how-to security API or patterns recipe book but mu...

More related books: Search Amazon.com for "application server"

 

Copyright © 2000-2008 Barry & Associates, Inc. All Rights Reserved.
You can use this material for your work or classes. Click here for our reprint policy.
www.service-architecture.com

 

 Information on becoming a sponsor

 

 

Google

 

Barry & Associates, Inc.