Results 1 to 4 of 4
  1. #1
    Atikos is offline Member
    Join Date
    Nov 2010
    Posts
    2
    Rep Power
    0

    Default 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

  2. #2
    Join Date
    Dec 2010
    Posts
    22
    Rep Power
    0

    Default

    Quote Originally Posted by Atikos View Post
    Where should i store it, if i have to save sensitive user data like passwords? (and encryption??)
    - 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.

  3. #3
    Atikos is offline Member
    Join Date
    Nov 2010
    Posts
    2
    Rep Power
    0

    Default

    ?
    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!

  4. #4
    Join Date
    Dec 2010
    Posts
    22
    Rep Power
    0

    Default

    Quote Originally Posted by Atikos View Post
    ?
    But why i should do this?
    Its more comfortable for the user of the application, if he hasn't to retype it again.
    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

  1. Web-Frontend-Architecture: Change a JSP-Application to a RIA
    By elPresidente in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 03-03-2010, 10:06 AM
  2. Replies: 0
    Last Post: 08-20-2009, 07:39 AM
  3. Architecture of Web Application
    By javaforumsuser in forum Web Frameworks
    Replies: 1
    Last Post: 03-02-2009, 09:36 AM
  4. Java based Web Application architecture
    By AmmarKhalid in forum New To Java
    Replies: 1
    Last Post: 11-05-2008, 08:20 AM
  5. questions about using array to store profile
    By hien_NU in forum New To Java
    Replies: 6
    Last Post: 01-08-2008, 05:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •