Add to Google

Web Container - with application server

free web hosting
Open Discussion > CONTRIBUTE > Computers > Programming Languages > Java, Java Servlets, Java Script, & JSP

Web Container - with application server

c3nar1us
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

 

 

 


Reply

slu
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.

Reply

patelg
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

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Similar Topics

Keywords : web, container, application, server

  1. How To Implement Single Instance Application On Java
    (0)
  2. Hosting Struts Application
    I need help here (1)
    I just got web hosting approved and I want to host the site I created using Struts framework.
    I'm a complete newb when it comes to web hosting, so I need a little help. Is there a tutorial
    that covers this subject? Any help with hosting of Java applications will be appreciated.....
  3. Text Image Java Problem
    How to include text and image in some scrollable container? (1)
    Hello everyone, I am just writing some kind of text editor as practice for some school project and I
    have come to certain point where I can not solve certain problem. I wanted to make it available
    for people to insert images but I cannot figure how to combine images and text and which container
    should I use. I am working in Java and using swing. Also I would like to say that this content
    should be scrollable. So if anyone knows something about this and could be able to help me thanks in
    advance. Everyone opinion is accepted.....
  4. The Power Of Java
    the best application that shows java features (14)
    Java technology has various usage from mobile applications to Enterprise applications. I think the
    power of Java technology in web applications and applets is showed in "meez.com" where u can create
    your own 3d avatars. /rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0"
    alt="rolleyes.gif" />....
  5. Jsp Application Design
    servlets? beans? or classes? (2)
    Hi all, I just started working with JSP and never really used basic servlets before. my problem is
    currently how to deploy a simple webapp? Some people include servlets, others use beans, (or taglib
    which looks kind of the same to me). I started with compiling java classes and including them
    (which did work, untill some point where I started working with sessions and stuff...).. Whats best
    to use? and when? Is it okay to use em all together? And does anyone has a good referencce.......
  6. Problems With Chat Script
    can't encapsulate the chat server... (0)
    hello everyone, I am starting with a project of devloping my own website which could do both
    retreiving data from the database and display it to the registered members along with some
    additional features: namely (chat engine, mailing service and of course discussion forums ) With
    first part of my project nearly completed i am now stuck up with the building of (chat engine,
    mailing service and of course discussion forums ) . I am working with JSP and don't know how to
    really encapsulate the chat server i have build (with rmi ) into JSP.(if any one could guide...)(be....
  7. Connecting To Sql Server
    (2)
    I get the following error while trying to connect to SQL Server using JSP. Login failed for user
    'prashanti'. Reason: Not associated with a trusted SQL Server connection. My code is as
    follows: ("jdbc:microsoft:sqlserver://localhost:1433","prashanti","prashanti");
    Statement stmt = conn.createStatement(); ResultSet columns = stmt.executeQuery("select * from
    employee"); while(columns.next()) { String name = columns.getString("name"); String address =
    columns.getString("address"); %> Any help will be appreciated. Thanks,....
  8. Blazix
    java appln server (3)
    hi friends, Many of u would be using appln server and tomcat is the most popular. But I have come
    across another one which is good for learning purposes. It is called Blazix.. The configuration is
    simple. Just install and then: put jsps and html in one folder and servlets in another. Add a
    servlet config line to the config file and there u r... Actually they are saying that it is very
    fast. Also the size is less than 2 MB. They say on their site that this is due to good algorithms
    and programming practices. But it is worth having a look at: I have cheked jsps and se....

    1. Looking for web, container, application, server

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for web, container, application, server

*MORE FROM TRAP17.COM*
advertisement



Web Container - with application server



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE