Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes Architecture of the project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Architecture of the project" Watch "Architecture of the project" New topic
Author

Architecture of the project

Lisa Bass
Greenhorn

Joined: Jan 29, 2009
Posts: 6
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

Joined: Sep 29, 2008
Posts: 12617

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

Joined: Jan 29, 2009
Posts: 6
Thanks David..

But what one need to describe in Architecture??
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Do you mean you want to know how to describe MVC? I'd just search the web for "mvc".
aleem khan
Ranch Hand

Joined: Aug 07, 2008
Posts: 94
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


SCJP(1.4), SCWCD, Oracle 9i SQL certified, Oracle PLSQL Developer Certified Associate
Vishwanathan Nagarajan
Ranch Hand

Joined: Jan 28, 2009
Posts: 37
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.


MCP, SCJP 1.4, SCWCD 1.4, SCBCD 5.0, SCDJWS 1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Architecture of the project
 
Similar Threads
Windows username
diff b/w threetier and mvc
lead j2ee project
about project architecture
More of the same