• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

core-J2EE question

 
Ranch Hand
Posts: 416
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello author:
i am the reader or your book(version1),i wonder if you introduce the work flow architecture in the version2,i need such code,but i know NOTHING about workflow,i think the MVC and workflow are parallel concepts,is it true?but i don't know the relationship between them,could you give me some instruction?
thank you
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
MVC and workflow don't have anything in common. MVC is an architectural pattern, a way to structure your software. Workflow is a defined process where a number of parties collaborate to produce a result.
Publishing is a common example of a workflow. Let's say a news reporter writes a story for New York Times. He creates the article into their content management system (or publishing system or whatever they call it). When the reporter is finished, someone has to check that no frogs end up into a respected paper. There may be several other steps in the process before/after this but I think you get the point. The prescribed collaboration between the staff is a workflow.
 
Ranch Hand
Posts: 219
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Lasse,
What is the popular way to handle workflows in a J2EE setup... we ended up implementing this via custom code to fit into the specific requirements. Is
there a common philosophy somewhere as regards to handling of a workflow?
I am not sure 'pattern' would be right word to use for this...
Is it common for people to have their own custom implementations of a workflow? or is there a generic framework we could all use?
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are a number of web services based workflow standards under development. Before they get adopted, most projects just roll up their own workflow engines or licence one of the commercial products from Oracle, IBM or some smaller player.
Take a look at this article for example.
[ August 28, 2003: Message edited by: Lasse Koskela ]
 
Nagendra Prasad
Ranch Hand
Posts: 219
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the link Lasse. I think the title of the article,
"A workflow is only as good as the business process underneath it",
more or less defined the pains we went through in getting the
business rules in place for the workflow.
While we wait for the webservices approach to mature, I suppose we
have rely on experience and practical design to achieve workflows.
 
zb cong
Ranch Hand
Posts: 416
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes,in my project,i have used webservice technology,but it is not workflow,it is only rpc.but i deeply study the webservice,especially apache's axis,i find that it provide a machanism that can be used to implement the workflow architecture i GUESS,that is called "handler chain",you can config the axis engine SEQUENTLY go through individual handler.
this is only my guess,is it true?what's your opinion?
[ August 28, 2003: Message edited by: zb cong ]
 
Author
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by zb cong:
hello author:
i am the reader or your book(version1),i wonder if you introduce the work flow architecture in the version2,i need such code,but i know NOTHING about workflow,i think the MVC and workflow are parallel concepts,is it true?but i don't know the relationship between them,could you give me some instruction?
thank you


In the 2nd edition, we included a micro-architecture called Web Worker that discusses how you can integrate a workflow system into your web applications. Web worker uses several adapters (called Action adapters and Work Adapters) between the workflow system, users, and web application components.
This is explained in detail in the book so check it out when you get a chance.
 
zb cong
Ranch Hand
Posts: 416
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks
because i am the reader of the version1,so that i wonder what's the difference,addition or modification in the version2,then i will make the decision if i buy or borrow the book,could you give me more detailed instruction?
 
Deepak Alur
Author
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by zb cong:
thanks
because i am the reader of the version1,so that i wonder what's the difference,addition or modification in the version2,then i will make the decision if i buy or borrow the book,could you give me more detailed instruction?


Hi,
You might want to check the replies to other readers with similar questions in the following topics:
https://coderanch.com/t/312304/EJB-JEE/java/Core-EE-questons
https://coderanch.com/t/312333/EJB-JEE/java/EE-Pattern
 
Danger, 10,000 volts, very electic .... tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic