Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Documentation.doc
Скачиваний:
5
Добавлен:
01.05.2025
Размер:
2 Мб
Скачать
☆

Benefits

There are several benefits of such network:

  • Simplicity

  • Reliability

  • Security

5Bpmn usage in Middleware

University Workflow Automation engine is a platform for building business logic of university and combine it with its workflow. This combination is very important in developing platforms of such size. SOA oriented architecture gives us reliable and reusable code. BPM module allows us to construct and change the flow of logic and track the usability of optimized workflow.

How to create a business process?

The way of creating business process is very simple. All what you need to do is just prepare development environment and draw business process.

For preparing development environment you will need Eclipse IDE(http://eclipse.org) and Activiti Designer (http://activiti.org/designer/update).

After preparation of requirements you can start developing bpmn 2.0 business processes as in the Figure 5.1.

Figure 5.1 – Activiti Eclipse Plugin

Deploying business process

There several way for deployment of business process:

  • By Activiti Probe web component (Figure 5.2)

  • By Ant task (Figure 5.3)

  • By Activiti deployer installed into jboss server

Figure 5.2 – Activiti Probe deployment

The business process could be deployed as .bar file or *.bpmn20.xml file in the jar, war or ear project.

Figure 5.3 – Ant task deployment

Figure 5.4 – Activiti BpmnDeployer

Testing business processes

Actually there are two ways of testing business processes:

  • By using a user friendly Activiti Explorer

  • By writing test cases for business processes

Figure 5.5 – Activiti Explorer

Figure 5.6 – Write automated test cases for business processes

Using Activiti Services as EJB components (Figure 5.7)

@Stateless

public class StartProcessEjb implements StartProcessLocal, StartProcessRemote{

@EJB RuntimeService runtimeService;

public void startProcess() {

runtimeService.startProcessInstanceByKey("someProcess");

}

}

6Conclusion

The made research and work had taken many hours of thinking the way of implementing so big project. It also required from me a good knowledge of business analyzing and experience in enterprise development. But this is not the final stage, it is just a beginning of a good future platform, which can be extended, completed and optimized by developers.

Selected architecture will allow in future preventing problems with integration and scalability of university system. The SOA oriented architecture will allow reusing already existing services and add new one. Centralized security module will allow unique entry point of using services and logging the history, will avoid problems with system failure and crash.

The ease of development was also taken into account, like programming language, integration moments, so that developers could enjoy and get fun with development.

7References

  1. EJB 3 In Action by Debu Panda, Reza Rahman, Derek Lane

  2. Agile Modeling Effective Practices for Extreme Programming and the Unified Process by Scott Ambler

  3. http://www.w3schools.com/webservices/ws_intro.asp

  4. http://activiti.org/userguide/index.html

  5. http://www.mastertheboss.com/jbpm/300-jbpm-vs-activiti.html

  6. http://www.bpm-guide.de/2011/05/09/going-java-enterprise-with-activiti-and-jboss-as/

  7. http://www.sparxsystems.com/resources/tutorial/component_model.html

  8. http://www.ejb3.org/UML_diagrams.html

  9. http://www.tutorial-omondo.com/j2ee/deployment/

  10. Developing Enterprise Java Applications with J2EE and UML by Khawar Zaman Ahmed, Cary E. Umrysh

  11. Beginning EJB™ 3 Application Development From Novice to Professional by Raghu R. Kodali and Jonathan Wetherbee with Peter Zadrozny

  12. http://www.datadisk.co.uk/html_docs/java_app/jboss5/jboss5_config_web_services.htm

  13. Building Web Applications with UML Second Edition by Jim Conallen

  14. Core J2EE Patterns Best Practices and Design Strategies by Deepak Alur, John Crupi, Dan Malks

  15. Enterprise Java with UML by John Wiley and Sons

  16. Patterns of Enterprise Application Architecture by Martin Fowler, David Rice, Matthew Foemmel, Edward Hieatt, Robert Mee, Randy Stafford

  17. UML basics: The component diagram http://www.ibm.com/developerworks/rational/library/dec04/bell/

  18. Introduction to OMG UML http://www.omg.org/gettingstarted/what_is_uml.htm

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]