J2EE Web site architecture

This architecture is for a relatively simple Web site that uses a J2EE-compliant application server. The diagram shows one new database in the Middle Tier of a Web site and no existing databases or systems in the EIS Tier. There are four ways that a database could be used in this architecture: 

  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.

    J2EE Web site architecture JDO middle tier
  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. Having a new database 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).
      

 

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.