Results 1 to 6 of 6

Thread: Workflows

  1. #1
    loktamu is offline Member
    Join Date
    Sep 2008
    Location
    London
    Posts
    5
    Rep Power
    0

    Exclamation Workflows

    I am a beginner and learning how can I implement basic workflows engine in Java(3 months project). I can use MySQL as a back-end database.

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

  3. #3
    loktamu is offline Member
    Join Date
    Sep 2008
    Location
    London
    Posts
    5
    Rep Power
    0

    Default

    Sorry for that. It is just in research phase now. For the time being I just want to connect many java applications in such a waya that the output from one independent java application will be taken as input by the another java application(only string, for now) and it continues like workflows in BPM.
    For example,
    input1--->PRG1.java--->output1 input2--->PRG2.java--->output2 input3--->PRG3.java--->output3
    where input2=output1, input3=output2, all are strings only to begin with.
    Hope I am much clearer now.

    This is a basic of the project.

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    In that way, I think you want to pass values from one class to another. If so where are you stuck with.

  5. #5
    loktamu is offline Member
    Join Date
    Sep 2008
    Location
    London
    Posts
    5
    Rep Power
    0

    Default

    Thank you for the reply. Still I have got some doubt. The string output from one desktop application should be first stored into MySQL. And when I run the second application(independently) it should fetch the previous output from MySQL which would be its input, and process it and save the string output back into MySQL(another row, or ??). This is just a general idea. I am trying to mimic process workflows.(I might not be right, though). I am still working on it.

  6. #6
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    Yes it's possible, store data in a database and use them when you want. But actually you need to do it, if you want to use data later. If you want to use such data at the same time, directly pass them to another class. I hope you know about objects.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •