Jump to content
xisto Community
c3nar1us

Web Container with application server

Recommended Posts

Hi there. I've been doing J2EE development for a while. On past projects we have always used the three tier approach - web container for presentation logic, application server for business logic and oracle/sql server as our data storage layer. My current project entails setting up a J2EE architecture for casting votes in an election. It must support multiple access methods like SMS, IVR, web, idtv, kiosk. After alot of research on the web there seems to be a trend towards not always deploying an application server in your setup. The business logic in our application is not too complex so we were thinking of going with apache, tomcat, struts, hibernate as ADO layer, and sql server as the database (this tie in is historical otherwise we would go with Oracle). We plan to separate the layers into xslt/xml presentation, business logic, xml handling, hibernate handling. Apparantly, this setup should be enough. What are your thoughts? I know alot people are against using ejbs just cause they were used in the past. Transaction handling,security, scalibility would be the factors I would be most concerned with. There is a possiblity in the future that other applications may be integrated with this one so that may move us in the direction of using an application server. I just don't want to deploy one unless there is good reason for. Everyone seems divided in the forums. Opinions please??Thanks in advance.c3nar1us

Share this post


Link to post
Share on other sites

I've been working with professional web development for more than five years, and in my experience very few solutions/customers have the need for "real enterprise components" (e.g. EJB's) - it's a bit overkill.That doesn't mean you should completely ignore the principles of multi tier development - it's just a question of the right balance.My instinct says that your setup (apache, tomcat, struts, hibernate, and sql server) is adequate.

Share this post


Link to post
Share on other sites

EJB's are use to solve the complex business logic. And they do their job if you implement them properly but they also makes application more complex to use.So it comes with overheads.First step is: you have to decide whether you application needs ejb or not.The technologies you are going to use will be effiencient enough if you dont have that complexity in your applciation.Decide, before you use EJB, dont just start writing them. :(:D:D

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.