Results 1 to 4 of 4
  1. #1
    SantoshKS is offline Member
    Join Date
    Jan 2012
    Rep Power

    Default Understanding Web application frameworks

    Can somebody help me to understand a few basic concepts in java web applications framework?

    My understanding of a web application framework - It provides lot of infrastructure to build my web application like handling http client requests, delegating the tasks to different controllers, acting on the model, a way to identify the next page..etc. Basically I dont need to worry about how I should handle client requets, i just need to write the controller classes, front end pages and place them in appropriate place and the rest is handled by framework.

    It is very true when I use spring framework.

    But I got lot of questions when I started to use other Web application frameworks .

    1. I have heard that GWT can be used to rapidly develop rich front end pages. But I did not see any web-tier framework explanation to interact with the back end servlet/business layers. Without any web-tier framework provided, can it be called a web application framework?
    2. If I use GWT for my front end page development, can I use Spring or any other MVC framework as a Middle tier. If so how can I achieve this?
    3. Again my question on google's new framework - GUICE? Its called a web application framework. But i did not understand with the documentation provided how can I design a web application with three main tiers using this framework? Unlike spring where it provides a neat MVC structure to configure the pages, controllers..etc, it does not have enough document explaining these design issues.
    I dont understand the benefit of using Guice framework in my web application, where as other framework explain how they can be used in these cases?
    4. To summarize, can we design a web application with GWT front end, GUICE web app framework - If so, how the middle tier can be designed in this case inside guice? Basically, i want to know how this framework handles different client requests and how it delegates the business to different components internally..etc.

    Also, one general question which comes to mind now when a new framework comes like GUICE, we generally look for MVC kind of structure to work with. How should we decide and design web appl if MVC is not available in framework. Like example, Guice does not have any MVC explained, also it does not suggest any approach to design such web appl.

    Apart from this, I wanted to understand the general life cycle of a mobile web application. How it is different in contrast to general web application?
    If i want to design a web application which can be accessed over internet in browsers along with Mobile access, what are the design constraints?

    Please somebody help me to understand the above items.

  2. #2
    korvo is offline Member
    Join Date
    Aug 2015
    Rep Power

    Default Re: Understanding Web application frameworks

    As a general suggestion, I discourage (or at least I don't appreciate) the use of multiple frameworks on the same projects, you will find overlapping (and possibly conflicting) features and you will spend more time trying to integrate the system than to develop it. But this is my personal opinion, not a rule. If you really want to try you can take a look at javajax web framework (JavAjax Web Framework Homepage) which offers controller and model functionalities and it is able to integrate with your own front end, even if generated by a different framework. That would be your middle tier behind GWT.

  3. #3
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Rep Power

    Default Re: Understanding Web application frameworks

    So you're advising to use a random framework in beta stage with an issuetracker that has 0 issues in it in a question that is 3+ years old.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  4. #4
    korvo is offline Member
    Join Date
    Aug 2015
    Rep Power

    Default Re: Understanding Web application frameworks

    To make some tests? Yes, this is the purpose of the question.
    For a production project? My answer would be different in many many ways.

Similar Threads

  1. What best frameworks for newbie?
    By l3eway in forum Web Frameworks
    Replies: 1
    Last Post: 12-20-2011, 09:07 AM
  2. Web Frameworks (MVC, MVVM)
    By Aaron140 in forum Web Frameworks
    Replies: 6
    Last Post: 10-02-2011, 04:29 PM
  3. isngs frameworks
    By alacn in forum New To Java
    Replies: 2
    Last Post: 08-10-2010, 09:17 PM
  4. Application frameworks.
    By makpandian in forum New To Java
    Replies: 0
    Last Post: 04-25-2009, 09:53 AM
  5. java Frameworks
    By nks7 in forum Web Frameworks
    Replies: 12
    Last Post: 12-02-2008, 07:17 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts