A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Need your suggestions to develop workflow based (web)application.
Joined: Mar 08, 2007
Aug 20, 2008 11:49:00
Our current application is a large monolithic web application that allows user to perform three tasks so we have three modules ( application flow is always same task1 -> task2 -> task3)
Our requirement is to develop a application with interchangable tasks. i.e Order of tasks in the flow should be
based on some input parameters.
Each module should be a separate web component (war) so that it can be reused in other application.
I think i need to build a EAR with multiple WAR files.
My doubt is where i should keep the code (logic) that triggers the correct module (i.e WAR) based on the input parameter.(I receive the input parameters through HTTP GET request.)
Please clarify me.
(If you come across this kind of requirement please share your best practices also.)
Joined: Dec 19, 2005
Aug 20, 2008 21:33:00
Good time of the day Suresh Gopi,
I am not clearly understand what are you going to do. Do U really need 3 web (war) application to solve your task??? What for??? Look at
might it will be helpful 4U.
Computers are like air conditioners - They stop working properly when you open Windows
Author and ninkuma
Joined: Jan 10, 2002
Aug 20, 2008 21:57:00
Please use real words when posting to the forums. Abbreviations such as "U" in place of "you" and "4U" in place of "for you" only serve to make your posts more difficult to read and less likely to generate useful responses.
for more information.
Asking smart questions
Books by Bear
Joined: Mar 08, 2007
Aug 21, 2008 07:50:00
Thanks Jeak for your reply.
The reason i thought of going for a separate war file for each task is,
1.Each task(module) is fairly big enough (approx has 10
2.And each task is a common task (in our other apps) so i thought if i develop it as a separate component (war) i can use it in other applications easily.( Just to reuse the module)
Say I have four modules,
Login Module (A)
Registration module to avail discount on products. (B)
Product Survey (C)
Product locator. (D)
In one flow i'll allow the user to login, register, enquire abt his preference (survey) and find the shop selling products.
And in other flow i want to allow the user the locate the shop first and then allow user to login and register.
(interchange the modules)
The above scenario might sound like a typical one but i want to reuse the individual module also in other apps.
If separate war is not a best solution for this scenario please suggest me any other solution.
I agree. Here's the link:
subject: Need your suggestions to develop workflow based (web)application.
IBM Exam 157 - Questions and Answers (Sample Exam)
long post IBM.158
component based app
help and suggestions required?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015