IPB

Welcome Guest ( Log In | Register )



Tags
This content has not been tagged yet
 
Reply to this topicStart new topic

Web Container

, with application server


c3nar1us
no avatar
Member [Level 1]
****
Group: Members
Posts: 63
Joined: 12-May 05
Member No.: 6,952



Post #1 post Jun 28 2005, 04:17 PM
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
Go to the top of the page
+Quote Post
slu
no avatar
Newbie [Level 2]
**
Group: Members
Posts: 27
Joined: 22-June 05
Member No.: 8,557



Post #2 post Jun 28 2005, 08:09 PM
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.
Go to the top of the page
+Quote Post
patelg
no avatar
Member [Level 2]
*****
Group: Members
Posts: 89
Joined: 27-July 05
From: AUSTRALINDIA
Member No.: 9,896



Post #3 post Jul 27 2005, 05:41 AM
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. smile.gif smile.gif smile.gif
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   2 snlildude87 602 10th June 2005 - 10:31 PM
Last post by: snlildude87
No new   48 gameratheart 2,511 16th April 2007 - 11:55 AM
Last post by: hitmanblood


 



RSS Open Discussion Time is now: 10th January 2009 - 01:25 AM