Distribute web and business tier

Antonio Rafael Rodrigues

Ranch Hand

Posts: 74

1

posted 1 year ago

Hi!

I've seen here in the forum that some people have separated the application in web and business modules and deployed the web one in a webserver and the business one in a application server. I don't know, but I'm quite sure that the communication between these two is through remote ejb.

Well, my application is very simple. Do some processing and the most part of the time just serves the user's queries, by the other side, it'll have so many users (arround the world) and requires 99.99% uptime.

I don't think that it's valuable to distribute the web in one server and business in another (but I can be wrong), the remote call would battle against me in the way to meet the response time.

Seeing some people do this distribution just for web and business made me start to think about my concepts. I know that it can improve security and scalability, but add difficult.

What do you think that I have to look at to decide if I have to distribute web and business? If you are confortable to ask, did you split web and business in your assigment? Why? Did you use remote EJBs?

Antonio Rafael Rodrigues wrote: I don't know, but I'm quite sure that the communication between these two is through remote ejb.

I don't know either.

Antonio Rafael Rodrigues wrote: Well, my application is very simple. Do some processing and the most part of the time just serves the user's queries, by the other side, it'll have so many users (arround the world) and requires 99.99% uptime.

I don't think that it's valuable to distribute the web in one server and business in another (but I can be wrong), the remote call would battle against me in the way to meet the response time.

Separating the web and business tiers into 2 servers does not necessarily make it more available when you only have one server. Having say 2 servers in each tier will indeed improve availability.

Regarding the response time, if there is a way to measure this, you should mention it.

After read the article that I had posted here I decided to do not distribute the tiers. My controllers call the business tier everytime and I don't see any reason to have a load balance between web and business.
Then I think a combinated tier architecture would fit well.