• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Need your suggestions to develop workflow based (web)application.

 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.)
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 http://java.sun.com/products/servlet/Filters.html, might it will be helpful 4U.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

Please read this for more information.

thanks,
bear
JavaRanch sheriff
 
Suresh Gopi
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 JSP).

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)

Example scenario:

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.
reply
    Bookmark Topic Watch Topic
  • New Topic