jakarta-eemulti-tier

Java EE EIS Tier


I've been reading up on Java EE architecture, and have seen (in the Oracle docs at least) several references to a so-called EIS (enterprise information systems) tier which comprises the 3rd (data) tier of the Java EE architecture.

I understand that in a 3-tier system the database usually is the 3rd tier. Some times legacy systems are also placed on this tier because they also interact directly with the same database as the business middleware (2nd tier) and for one reason or another, they don't belong anywhere else.

My question is: what code (if any) belongs on the 3rd "EIS" tier? ORM code such as Hibernate classes and DAOs?

On the 2nd tier you have both systems and compiled Java running. For instance you might have a Tomcat server running a bunch of WARs that you wrote. I'm not "getting" the anology in the 3rd tier, where you have an RDBMS and (I guess?!?!) some code to interact with that RDBMS.

In sum, I guess I'm wondering what the standard/best practices are behind deploying code in the EIS tier, and what those deployments look like. Thanks in advance!


Solution

  • The tier model suggested by Java EE is a conceptual model. I think you are mixing this with packaging structure of your application (based on your comment to anders.norgaard post). The packaging model depends upon once own application but below two articles provide the best practices

    1. J2EE packaging and Deployment
    2. J2EE Packaging and Common Code