aspose file tools*
The moose likes Java in General and the fly likes Flexible Java Tool for application development Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Flexible Java Tool for application development" Watch "Flexible Java Tool for application development" New topic
Author

Flexible Java Tool for application development

mehul mandge
Greenhorn

Joined: Aug 28, 2009
Posts: 9
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


Dream is not what you see in sleep, Dream is what does'nt let you sleep.
-A P J Abdul Kalam( Ex- India President)
Ramses Butarbutar
Ranch Hand

Joined: Jun 16, 2009
Posts: 52
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


At the center of non-violence stands the principle of love
.... Martin Luther King, Jr.
mehul mandge
Greenhorn

Joined: Aug 28, 2009
Posts: 9
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

Joined: Oct 13, 2005
Posts: 38348
    
  23
Welcome to JavaRanch

Please avoid abbreviations like ppl, for reasons explained here
mehul mandge
Greenhorn

Joined: Aug 28, 2009
Posts: 9
sorry...

wont be happening again for sure...

Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38348
    
  23
Apology accepted
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Flexible Java Tool for application development