Doubts about JSF : how to close a Backing Bean and Writing a filter for
Glassfish Webserver
Im developing a webapp in JSF and i have some doubts. My app is growing
day by day, and as it grows, i started receiving some trouble messages. I
am currently developing in my notebook, not a big server with illimitate
resources, so my problem is that the application is too heavy for my pc
and connection capabilities. I ve read about it searching in google, and i
found some solutions. One of this solutions, is "tuning glassfish". I ve
read something about creating filters, and configuring glassfish server
for production mode. Does someone have an example of filter for web
server? My purpose is to store all js, css and png images in client's web
browser cache. The second question is : if i use a viewscoped backing
bean, for example in signup page, when i navigate to another page, is that
bean automatically erased ? or i keep it in memory? Third and last
question, creating more small tables instead of few big tables (i m
talking about the number of columns, not rows ) is convenients in terms of
performances? thank you and sorry bad english
No comments:
Post a Comment