• Post Reply Bookmark Topic Watch Topic
  • New Topic

Question about architecture

 
Nickolas Vega
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
I have a question.
I have been working in a Content Management with Java at my job.
The Java architect proposed the following architecture as solution.

----WEB LAYER----
JSP
Struts
----Business Layer----------
Manager Classes
Hibernate
----Data Layer----
DB

The web server is Tomcat V6 and MySQL is the database

I have a dude about this architecture. In order to don't use persistence objects in the WEB layer(because it cause Permgen memory problems), the Manager Classes will have methods to transform persistence objects to DTO objects(these objects will be used in the web layer), with the use of getters and setters. I think that these changes wouldn't solve the memory problems.
What is your opinion about this architecture? Do you have any idea to improve it?

Thanks for all.

Nickolas
Bookmark Post in Technorati
Reply With Quote
 
pete stein
Bartender
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
cross-post: Sun Java Fora

Nickolas, welcome to the forum. I hope you get a lot out of your visits here and give back as well. Before doing too much posting, I recommend you have a look at our FAQ's which you can find here: HowToAskQuestionsOnJavaRanch

In particular though, please have a look at this one: BeForthrightWhenCrossPostingToOtherSites

Thanks for your cooperation and much luck!
 
pete stein
Bartender
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Another cross-post: http://www.java-forums.org/advanced-java/30956-question-about-architecture.html

How many places have you posted this question? Again, this egregious cross-posting is not fair to the volunteers who may help you either here or in other forums. Please for our sake, stop doing this without notifying us and the other sites.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!