With Respect To an Investment Application
- From: "Ravi Shankar Nair" <sujashankar@xxxxxxxxxxxxxx>
- Date: Wed, 6 Sep 2006 22:28:35 +0800
Dear all,
I am working on a banking application, specializing in investment sector. We
have about 14 web modules. All these modules are resting on a common
framework, which does routing, workflow, logging etc. We would like to have
the common framework remain unchanged from application to application, and
country to country. However there is a problem:-
There are two main domain objects, User and Customer. User is the one who is
a typical bank employee and Customer is the one whom the user is serving.
User is part of the common framework, but customer belongs to the customer
module. Hence currently the framework is having dependency on the customer
module, which we do not want. And also, the customer may vary from country
to country. We would like to segregate the dependency. For dependency
segregation, we can use interfaces, but then the interfaces need to be in
the common classpath, which again we dont want.
Not sure, whether I am doing the right option, but because I went through
JMX Microkernal architecture of JBoss, I would like to suggest the following
idea. Let customer be a managed service, which will be started when a
customer is created. Let common framework be a kernal, and let common
framework add/wrap the customer service when needed through JMX. In this
way, the customer service can vary anytime anywhere.
Is there any elegant thoughts ? Is there any better architecture? Please
comment and lets discuss, thanks a lot.
Best regards,
Ravi
.
- Prev by Date: Re: Multi-threading
- Next by Date: Re: Help! requested resource not available
- Previous by thread: Difference between Apache Web Server and Tomcat Server
- Next by thread: getConstructors() and unchecked conversions
- Index(es):
Relevant Pages
|