dcsimg
How can we reuse a struts application?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Abhilesh_khatri
Posted On:   Tuesday, August 6, 2002 03:35 AM

I want to develop a reusable framework and use it in all other Application's as required. I have created an UMSDemo.EAR Application (a User Management System framework) (using struts framework with WASD 4.0 ) file that consists of components such as Login page, user details page, role details page, Userlist page etc... This framework takes care of the administrative issues such as creating/modifying/deleting Users creating/modifying/deleting Roles Nofifying users via Email Change Password Reset password etc... The EAR consists of following subprojects: i) An EJB project, that interacts with the database. (The    More>>

I want to develop a reusable framework and use it in all other Application's as required.

I have created an UMSDemo.EAR Application (a User Management System framework) (using struts framework with WASD 4.0 ) file that consists of components such as Login page, user details page, role details page, Userlist page etc...


This framework takes care of the administrative issues such as

  • creating/modifying/deleting Users
  • creating/modifying/deleting Roles
  • Nofifying users via Email
  • Change Password
  • Reset password
    etc...


    The EAR consists of following subprojects:


    i) An EJB project, that interacts with the database.
    (The system has its own database.)


    ii) A Web project that has all the display pages (JSP's and html)etc..


    My question goes like this:


    1. Can I use this EAR straight away in some other applications as a framework? if YES then what do I need to do? Do I have to put this EAR file in the classpath of the new application?



    2. And in my new Application's JSP pages can I straightaway include any of the JSP or Html pages those are present in UMSDEMO.EAR (framework)?




    How should I plugin this framework into my Application?
    Or is it something that my concept of treating EAR as framework is wrong?



    All this questions are bothering me... Putting me into more
    dilemma, that whether I should opt for frameworks or NOT.


    Is there any other better approach that I should follow?



    Please suggest.
    thanks in advance


    Abhilesh

  •    <<Less
    About | Sitemap | Contact