J2EE enterprise architecture with in-line updates

This architecture shows two existing relational databases being used by a J2EE application server. One database is being accessed using JDO and the other by JDBC. A third database is being used in the middle tier as an EJB accelerator.

The database used as an EJB accelerator could hold data that is unique to the needs of the EJB components, a copy of the data that is updated in the relational database, or both types of data. This is referred to as having "in-line updates" because any updates by EJB components are made directly, or in-line, to the underlying relational database. This is in contrast to "staged updates" (new window).

Object databases make for an excellent middle-tier database for use with EJB components. This is because the object model used by EJB components is the same model used by object databases. For more information, see:

bulletMiddle-tier architecture (new window)
bulletThe importance of a lack of impedance mismatch for performance (new window)
bulletWhen to use EJB accelerators with Java application servers (new window)

This architecture using an object database will likely provide better performance than if no database or a relational database was used in the middle tier. In either case, the objects in the EJB components would need to be mapped to some degree to the relational model -- either in the middle tier or in the EIS Tier. This is most likely true even with the SQLJ using the SQL:1999 object model. See Part 2 in SQLJ (new window). For an even higher-performing architecture, see "staged updates" (new window).

J2EE enterprise architecture with in-line updates JDO JDBC EJB

Multiple components use JDO to access the relational database. JDO allows the mapping between Java objects and tables to be defined in one place for use by the multiple components. See JDO data conversion (new window).

The JDBC interface is used by the Web Server to access simple data. See when to use JDBC with Java application servers (new window).

Also see:

bulletUsing JDBC with application servers (new window)
bulletUsing JDO with application servers (new window)
bulletUsing EJB accelerators with application servers (new window)

 

 

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
Architectures using databases in the middle tier>
J2EE enterprise architecture with in-line updates>
J2EE enterprise architecture with staged updates
J2EE Web site architecture
Benchmark with using a transaction accelerator

Related recent articles from Google News


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

A Practical Solution For Deployment Of JSP
SYS-CON Media, NJ - 1 hour ago
The Java 2 framework has the flexibility required to implement sandboxes in an application server, still relying on the Java 2 policy files, keytool, ...

SA Instrumentation and Control

Wonderware steels Nucor
SA Instrumentation and Control, South Africa - 17 hours ago
InSource suggested updating and building on the InTouch application already in place with Wonderware?s IndustrialSQL Server historian and Application Server ...

SOA Talk: A SearchSOA.com blog
SearchSOA - 1 hour ago
What more can be done with the open source application server? Perhaps the biggest news this week won?t be what?s new for Java, but what?s coming up in ...

SpringSource launches Java application server
Computerworld, MA - May 5, 2008
By Chris Kanaracus May 5, 2008 (IDG News Service) SpringSource, maker of the Spring Framework for Java development, has announced a new application server ...

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. ...

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...

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...

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.