Results 1 to 4 of 4
- 11-29-2010, 09:13 PM #1
Member
- Join Date
- Nov 2010
- Posts
- 2
- Rep Power
- 0
Application questions (modular architecture / how to store config)
Hi,
i'm starting to write an application, which should be easy to extend, later...
The application is in the MVC Pattern written, but i want to have a modular architecture.
My thoughts are these:
- Folder 'Modules' in which i can deposit Java classes, each class express a module
Additional i have a question belongs to configuration files.
Where should i store it, if i have to save sensitive user data like passwords? (and encryption??)
I hope you understand my concern.
Thanks a lot!
Greetings
- 12-03-2010, 09:41 PM #2
Member
- Join Date
- Dec 2010
- Posts
- 22
- Rep Power
- 0
- DO NOT do this ever.
Now coming to your question on modular approach, where the configurations should go depend on a lot of things. A few questions that I will recommend you should try to answer:
- Do you need to restart the server if user wants to change configurations?
- Does a change in configuration needs a change in Java code?
- Are configurations dependent on a layer like Web, Services etc
I can answer your question more accurately, if you can share the various libraries you are using in your application and maybe the design of your application. You an PM me if any of this is sensitive.
- 12-05-2010, 12:48 PM #3
Member
- Join Date
- Nov 2010
- Posts
- 2
- Rep Power
- 0
?
But why i should do this?
Its more comfortable for the user of the application, if he hasn't to retype it again.
I will answer your questions later, cause i don't have time yet.
Thanks a lot!
- 12-05-2010, 04:43 PM #4
Member
- Join Date
- Dec 2010
- Posts
- 22
- Rep Power
- 0
I never said, ask user to provide values everytime. Placing passwords in config make your application vulnerable. You should use the container to store the values and then read from it. Applications servers like websphere would provide you place values as resources and read them from your application via JMS. The values provided in webspehere will be masked and makes your application more secure
Similar Threads
-
Web-Frontend-Architecture: Change a JSP-Application to a RIA
By elPresidente in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 03-03-2010, 10:06 AM -
Java Application Architecture for Struts, Spring and Hibernate
By stujava in forum Advanced JavaReplies: 0Last Post: 08-20-2009, 07:39 AM -
Architecture of Web Application
By javaforumsuser in forum Web FrameworksReplies: 1Last Post: 03-02-2009, 09:36 AM -
Java based Web Application architecture
By AmmarKhalid in forum New To JavaReplies: 1Last Post: 11-05-2008, 08:20 AM -
questions about using array to store profile
By hien_NU in forum New To JavaReplies: 6Last Post: 01-08-2008, 05:03 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks