Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Distribute web and business tier

 
Antonio Rafael Rodrigues
Ranch Hand
Posts: 74
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

Thanks in advance.

<<edit>> I have found a very good article about this: http://docs.oracle.com/cd/E13222_01/wls/docs81/cluster/planning.html#1118661
 
K. Tsang
Bartender
Posts: 3585
16
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Antonio Rafael Rodrigues
Ranch Hand
Posts: 74
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for your advice Tsang.

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.

If someone else have any thought more I'd love to know.

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic