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