Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Architecture of the project

 
Lisa Bass
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have used Struts framework in my projects
What will be the best answer of the question

Can you tell me the architecture of your project???
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That would depend on the architecture of your project-there is no generic answer to what appears to be an interview question. Struts itself is considered an MVC framework (when one defines MVC somewhat loosely).

(If "green bay" isn't really your name, see the JavaRanch naming policy.)
 
Lisa Bass
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks David..

But what one need to describe in Architecture??
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you mean you want to know how to describe MVC? I'd just search the web for "mvc".
 
aleem khan
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you can safely say 2-tier or 3-tier architecture.
2-tier if you are using just struts + database and 3-tier if you are using
struts+ejb(or POJO where business logic resides) +database

Then again you can explain struts follows MVC etc
 
Vishwanathan Nagarajan
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lisa Bass wrote:
But what one need to describe in Architecture??


Aleem,

Lisa is asking for the architecture of Struts (which it does), not the whole architecture of her project, where Struts fit in as one of the layers.

Struts does have an architecture of its own; consisting of Model, View, controller, request handler, response handler and tag library.

Lisa, visit the below link to have an much better understanding of the Struts architecture.

http://www.roseindia.net/struts/StrutsArchitecture.shtml

Also I would advise you to take a look at Jakarta Struts, Pocket Reference by Chuck Cavaness & Brian Keeton, to have a quick understanding of Struts.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic