Announcement Announcement Module
Collapse
No announcement yet.
struts+hibernate+spring clarify the framework and layers Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • struts+hibernate+spring clarify the framework and layers

    i am did Struts Hibernate and Spring integration using the following url
    http://www.roseindia.net/struts/hibe...ng/index.shtml

    i want to know is it mvc architecture ?
    how many layers it have ?

    any one know ple clarify me

  • #2
    struts+hibernate+spring

    Hi,

    Not sure if your question is specific to the example present in the provided URL of roseindia.net OR is it a generic question.

    However, the layers/frameworks are quite generic if you are using Spring + Struts and Hibernate combo -->

    a) Struts will be used for what is to be supposed for - taking care of the presentation layer - this will include JSPs that actually take care of presentation logic, ActionForm's that represent the data provided by the user, Action classes that MAY contain the processing logic.

    b) Hibernate to interact with Database and will be invoked through DAO layer.

    c) Spring to take care of the Business Service layer which is responsible for business logic processing.

    The following are the layers which can be found in any decent project along with the popular choices -->

    a) Presentation Layer (Struts)
    b) Business Service Layer (Spring POJOs)
    c) DAO Layer (Hibernate DAO Classes of Spring)
    d) ORM Layer (Hibernate)
    e) Database

    If you are looking for something very specific, please let me know.

    Thanks,
    Sreeram

    Comment


    • #3
      struts+hibernate+spring clarify the framework and layers

      thanks sriram,
      u clarify the layer problems

      a) Presentation Layer (Struts)
      b) Business Service Layer (Spring POJOs)
      c) DAO Layer (Hibernate DAO Classes of Spring)
      d) ORM Layer (Hibernate)
      e) Database

      i want know it is mvc frame work or custom framework ? we mixed so many opensourse here, so i have this doubt. i am very thank full to u man.

      thanks
      bala

      Comment

      Working...
      X