• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Question about architecture

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 1561
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic