Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Flexible Java Tool for application development

 
mehul mandge
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Flexible Java Tool for application development

hi javaranch ppl,
this is my first topic at javaranch.

I am i need of a java tool to make my application flexible enough.
The following example best reflects my needs.

Case 1)
user(passes on an business idea for approval/rejection)
Level 1 (approve/reject + functionalities)
Level 2 (approve/reject + functionalities)
Level 3 (approve/reject + functionalities)


Case 2)
user(passes on an leave application for approval/rejection)
Level 1 (approve/reject + functionalities)
Level 2 (approve/reject + functionalities)
Level 3 (approve/reject + functionalities)
Level 4 (approve/reject + functionalities)
Level 5 (approve/reject + functionalities)


Now its very easy to code for an application for these two possible inputs(business idea/leave application). according to the type of input the workflow will be set as 3 levels for case 1 with some functionalities at each level.
And in case 2 workflow will be 5 levels with some unique functionalities at each level.


(please note that the underlying theme is common one. hierarchy is present and some function is associated with the level of hierarchy.)

but suppose we have 10 such cases where no of levels in hierarchy, the type of functionalities involved at each level change. Then its very difficult to hardcode into an application.

is there any tool which according to the type of entry into the application decides the future workflow?

PS-i know the description can be confusing but please reply if clarification needs to be done.

Thanks,
Mehul
 
Ramses Butarbutar
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome aboard Mehul,

Based my experience make some thing like this , you need to define functionalities into xml code. So you can combine each level according which node that represent the level. After that you can display it where ever you want (jsp, gui) which some rules hierarchy (the workflow).. If you use a database in this application, you don't need to hard code it.. just define relation in each level into some table, you can manage it later to change it.
If you ever seen SAP-HR, the approval process seem likely what you want.

is there any tool which according to the type of entry into the application decides the future workflow?

BTW, I still don't get what you mean by any tools decide the workflow.. is it by instantly that what you mean???


Best regards,

Ramses
 
mehul mandge
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ramses, thanks for the quick reply.

when i said i am in search of a tool, i had the image of something in which i just feed different scenarios and the tool takes over from that point...something sort of what report generators does.

it just accepts the data and then shows it in different formats. Replacing that report generator by coding is very time absorbing and more importantly useless if there is already something developed in java that takes care of everything related to reports.

Hope you got my point. And am an Just In Java person so would like to expand my knowledge horizon by interacting with you guys more often.

Thanks.

----------------------------------------

Dream is not what you see in sleep,
Dream is that which doesnt let you sleep.

- A P J Abdul Kalam Azad

 
Campbell Ritchie
Sheriff
Posts: 48415
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch

Please avoid abbreviations like ppl, for reasons explained here
 
mehul mandge
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry...

wont be happening again for sure...

 
Campbell Ritchie
Sheriff
Posts: 48415
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Apology accepted
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic