Hi,
I have doubt regarding Architecuter.Below have mentioned the my understanding plz confirm,are they correct or not then plz correct the same or provide the link to know..
We have 4 layers in
java enterprize application :
1. Presentation layer(
jsp,html) 2.business layer(java class) 3.Data Access Layer/Persistence layer 4. Data Layer(Oracle)
Doubt :-
1. 1-tier means : if all of 4 layers are in one system,then it is 1 tier architecture. Like webapplication we develop in localhost in our system to learn.We install webserver and DBserver in our system.
(IS this correct understanding?)
2. 2-tier means: if PL,BL,DAL layers are running on one system but Data Layer (Oracler) running on other system. means we have webserver installed in one system where PL,BL,DAL layers are running and DBserver we have installer in other system. For ex if anybody request for the url then first 1st system (webserver) handles and if required consult with 2nd System (DBserver) and then response.Is it also known as client server architecture.
IS this correct understanding?
3. 3-tier - if PL(jsps,html) is one system(where Webserver is installed) ,BL and DAL layers are in 2nd system (Where applicationServer is installer),and DL layer is in 3 rd system(Where Oracle server is installer). for ex. if request comes Then it goes to 1st system where webserver is installer then 2nd system to 3rd System.
IS this correct understanding?
4. N-tier - if PL(JSps,html) in multiple system (where webserver is installed), BL and DAL layers are in 2nd system, DBserver is in 3rd system, Know as N-tier architecture.
Ex. Don't know please provide
5. Distributed tier achi - if PL is running in multiple system, BL and DAL are running in multiple system and DBserver running on only one system, known as Distribute architecuture.
Ex. Don't know
Please Confirm is it correct understanding ? If not please clearify,so that may have crystal clear understanding..
Thanks
Sandeep pandey