File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes core-J2EE question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "core-J2EE question" Watch "core-J2EE question" New topic
Author

core-J2EE question

zb cong
Ranch Hand

Joined: Jan 14, 2002
Posts: 416
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
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
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.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Nagendra Prasad
Ranch Hand

Joined: Jul 11, 2002
Posts: 219
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?


Best Regards,<br />Nagendra Prasad.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
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

Joined: Jul 11, 2002
Posts: 219
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

Joined: Jan 14, 2002
Posts: 416
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 ]
Deepak Alur
Author
Greenhorn

Joined: Aug 25, 2003
Posts: 10
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.


- <b><i>Deepak Alur</i></b><br />Co-Author of <a href="http://www.corej2eepatterns.com" target="_blank" rel="nofollow">Core J2EE Patterns: Best Practices and Design Strategis</a>
zb cong
Ranch Hand

Joined: Jan 14, 2002
Posts: 416
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
Greenhorn

Joined: Aug 25, 2003
Posts: 10
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:
http://www.coderanch.com/t/312304/EJB-JEE/java/Core-EE-questons
http://www.coderanch.com/t/312333/EJB-JEE/java/EE-Pattern
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: core-J2EE question